Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // UILabel+UtilityAttributes.h
- //
- // Created by Paulo Almeida on 1/31/14.
- //
- #import <UIKit/UIKit.h>
- @interface UILabel (UtilityAttributes)
- - (void) boldSubstring: (NSString*) substring;
- - (void) boldRange: (NSRange) range;
- - (void) colorRange: (NSRange) range AndColor:(UIColor*) color;
- - (void) colorSubstring: (NSString*) substring AndColor:(UIColor*) color;
- - (void) increaseFontSizeRange: (NSRange) range AndSize:(CGFloat) size;
- - (void) increaseFontSizeSubstring: (NSString*) substring AndSize:(CGFloat) size ;
- - (void) decreaseFontSizeRange: (NSRange) range AndSize:(CGFloat) size;
- - (void) decreaseFontSizeSubstring: (NSString*) substring AndSize:(CGFloat) size;
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement