- //当前主题的名字
- @property (nonatomic, copy) NSString *themeName;
-
- //主题图片字典, 主题名字对应的文件路径
- @property (nonatomic, copy) NSDictionary *themeDic;
-
- //主题颜色字典
- @property(nonatomic, copy) NSDictionary *fontColorDic;
-
-
-
- +(ThemeManager *)shareInstance;
-
- //根据业务逻辑分析,切换主题只需要切换主题图片和主题颜色,所以提供下面2个方法
- -(UIImage *)loadThemeImage:(NSString *)imgName;
- -(UIColor *)loadColorWithKeyName:(NSString *)themeKeyName;
-
- -(void)saveTheme;
|