NSAttributedString(SmallCaps) Category Reference
Methods that generated an attributed string with Small Caps, even if the used fonts don’t support them natively.
This category works equally for Mac and iOS attributed strings.
NSAttributedString from the given text and attributes and synthesizes small caps. On iPad there is only one font that has native small caps, for all other fonts the small caps are synthesized by reduzing the font size for all lowercase characters.
+ (NSAttributedString *)synthesizedSmallCapsAttributedStringWithText:(NSString *)text attributes:(NSDictionary *)attributes
The string to convert into an attributed string
A dictionary with attributes for the attributed string
An attributed string with synthesized small caps.