##IPCustomFontLabel
-
Add your custom font to the project. See here for instructions.
-
Add
IPCustomFontLabel.h
andIPCustomFontLabel.m
to your project. -
Select your label in interface builder, and navigate to the identity inspector.
-
Set the "Custom Class" to
IPCustomFontLabel
-
Under "User Defined Runtime Attributes", set the properties you wish to modify.
##Available properties:
keyPath | type | value |
---|---|---|
fontFamily |
String | The desired PostScript font family name |
shadowColor |
Color | Color of text shadow |
shadowOffset |
Size | Offset of the text shadow |