TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Set UIFont style(Bold,Italic,Light,Oblique and combo).
+ (UIFont*)fontWithFont:(UIFont*)font style:(NSString*)style.
Important note if your project doesn't use ARC: you must add the -fobjc-arc
compiler flag to UIFont+HLLFont.m
in Target Settings > Build Phases > Compile Sources.
HLLFont
folder into your project.UIFont+HLLFont.h
(see sample Xcode project in /HLLFontDemo
)
font=[UIFont fontWithFont:font style:UIFONT_BOLD];
_For exmaple:setting combo style with bold and oblique
font=[UIFont fontWithFont:font style:[UIFONT_BOLD stringByAppendingString:UIFONT_OBLIQUE]];