tingxins / SakuraKit

🤡SakuraKit, a lightweight and powerful library for application to switching themes or skins.
https://tingxins.com/2017/08/ios-theme-skin-resolution/
MIT License
691 stars 116 forks source link

能否增加一个切换主题的block 回调 #11

Open meiyongsheng opened 6 years ago

meiyongsheng commented 6 years ago

能否增加一个切换主题的block 回调,像这样的: _secondView.sakura.backgroundColor(Kbg_card) .addCustomConfig(@"", ^(id item) { // 改变主题的切换 NSString *colorStr = [TXSakuraManager getThemeColorString:Kfont_strong]; _secondView.rateColor = HexColor(colorStr); });