ThemeManager:这个 repo 是关于如何在 iOS 中更改主题

时间:2021-06-03 05:14:13
【文件属性】:
文件名称:ThemeManager:这个 repo 是关于如何在 iOS 中更改主题
文件大小:63KB
文件格式:ZIP
更新时间:2021-06-03 05:14:13
Objective-C 主题管理器 这个 repo 是关于如何在 iOS 中更改主题。 它很容易使用。 API如下: @brief 通知名称(在更改主题之前,它将发布此通知) extern NSString *const kThemeManagerShouldChangeTheme; @brief 共享管理器 @return 的 ThemeManager 实例 +(instancetype)sharedManager; @brief 当前主题的名称 @property (nonatomic, strong) NSString *currentThemeName; @brief 更改主题 @param themeName 你想改变哪个主题 @param isNotify 是否发布通知 -(void)changeTheme:(NSString *)themeName shouldNotify:(BOOL)
【文件预览】:
ThemeManager-master
----ThemeManager()
--------ThemeManagerMacro.h(384B)
--------DaytimeTheme.bundle()
--------ThemeManager.h(2KB)
--------NighttimeTheme.bundle()
--------ThemeManager.m(8KB)
----LICENSE(1KB)
----README.md(1KB)
----ThemeManagerExample()
--------ThemeManagerExample.xcodeproj()
--------ThemeManagerExampleTests()
--------ThemeManagerExample()

网友评论