Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(IBAction) firstButton: (id) sender
- {
- //+ (UIFont *)fontWithName:(NSString *)fontName size: (CGFloat) fontSize
- UIFont *test = [UIFont fontWithName: @"Courier" size: 12];
- [firstLabel setFont: test];
- }
- -(IBAction) firstButton: (id) sender
- {
- //- (UIFont *)fontWithSize:(CGFloat)fontSize
- UIFont *font = [firstLabel font];
- [firstLabel setFont: [font fontWithSize: 15]];
- }
- -(IBAction) firstButton: (id) sender
- {
- // + (UIFont *)systemFontOfSize:(CGFloat)fontSize
- [firstLabel setFont: [UIFont systemFontOfSize: 15]];
- }
- -(IBAction) firstButton: (id) sender
- {
- // + (UIFont *)boldSystemFontOfSize:(CGFloat)fontSize
- [firstLabel setFont: [UIFont boldSystemFontOfSize: 15]];
- }
- -(IBAction) firstButton: (id) sender
- {
- // + (UIFont *)italicSystemFontOfSize:(CGFloat)fontSize
- [firstLabel setFont: [UIFont italicSystemFontOfSize: 15]];
- }
- -(IBAction) firstButton: (id) sender
- {
- // + (NSArray *)familyNames
- // - (NSString *)description
- NSArray *collection = [UIFont familyNames];
- NSString *stringCollection = [collection description];
- [firstLabel setText: stringCollection];
- }
Add Comment
Please, Sign In to add comment