Skip to content

Instantly share code, notes, and snippets.

@Pinwheeler
Last active February 25, 2016 03:06
Show Gist options
  • Save Pinwheeler/d69e3fa5551543cfef6b to your computer and use it in GitHub Desktop.
Save Pinwheeler/d69e3fa5551543cfef6b to your computer and use it in GitHub Desktop.
- (void)awakeFromNib {
if (self.class.themeColor) {
self.textColor = self.class.themeColor;
}
if (self.class.themeFont) {
self.font = self.class.themeFont;
}
}
- (void)awakeFromNib {
if (self.class.themeFont) {
self.font = self.class.themeFont;
}
if (self.class.themeColor) {
self.textColor = self.class.themeColor;
}
}
+ (UIColor *)themeColor {
return nil;
}
+ (UIFont *)themeFont {
return nil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment