Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. //
  2. // UILabel+UtilityAttributes.h
  3. //
  4. // Created by Paulo Almeida on 1/31/14.
  5. //
  6.  
  7. #import <UIKit/UIKit.h>
  8.  
  9. @interface UILabel (UtilityAttributes)
  10.  
  11. - (void) boldSubstring: (NSString*) substring;
  12. - (void) boldRange: (NSRange) range;
  13.  
  14. - (void) colorRange: (NSRange) range AndColor:(UIColor*) color;
  15. - (void) colorSubstring: (NSString*) substring AndColor:(UIColor*) color;
  16.  
  17. - (void) increaseFontSizeRange: (NSRange) range AndSize:(CGFloat) size;
  18. - (void) increaseFontSizeSubstring: (NSString*) substring AndSize:(CGFloat) size ;
  19.  
  20. - (void) decreaseFontSizeRange: (NSRange) range AndSize:(CGFloat) size;
  21. - (void) decreaseFontSizeSubstring: (NSString*) substring AndSize:(CGFloat) size;
  22.  
  23. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement