I've made simple UILabel
with custom font. Can I use it in Storyboard
somehow? Is it even possible?
#import "UILabel+WithFont.h"
@implementation UILabel (WithFont)
-(void)awakeFromNib{
float size = [self.font pointSize];
self.font = [UIFont fontWithName:@"MyFont" size:size];
}
@end
Maybe I can switch between UILabel
and my UILabel
with category in code?