UI_APPEARANCE_SELECTOR使用

@property (nonatomic,strong) UI_APPEARANCE_SELECTOR UIColor *tipColor;
@property (nonatomic,strong) UI_APPEARANCE_SELECTOR UIColor *detailTipColor;
@property (nonatomic,strong) UI_APPEARANCE_SELECTOR UIColor *controlButtonTitleColor;
@interface OatosEmptyView (UIAppearance)

@end

@implementation OatosEmptyView (UIAppearance)
+(void)initialize
{
    OatosEmptyView *emptyView = [OatosEmptyView appearance];
    emptyView.tipColor = [UIColor blueColor];
    emptyView.detailTipColor = [UIColor lightGrayColor];
    emptyView.controlButtonTitleColor = [UIColor redColor];
}
@end

你可能感兴趣的:(UI_APPEARANCE_SELECTOR使用)