ChameleonSwift Versions Save

A pure Swift implemented library(extension) to change/switch app theme/skin 主题切换/换肤

1.2

7 years ago

change method declare(final); make args now data not nil

1.1

7 years ago

deprecated method ch_shouldSwitchTheme, and merge all in one file

0.0.8

8 years ago

improve switch data pass mechanism, make action more clear 优化框架内部数据传递机制

0.0.5

8 years ago

This update aim to reduce useless recursion callback

due to auto switch config implement by swizzle instance method, view/view controller's method will recursion call it's subviews/child controllers 1,replace viewAutoSwitchThemeAfterMovedToSuperView with viewAutoSwitchThemeAfterMovedToSuperView 2, delete: viewAutoSwitchThemeWhenTableViewCellReused, viewAutoSwitchThemeWhenCollectionViewCellReused due to useless

本次更新是为了自动调用主题修改配置下,减少无用的递归调用 原因: 由于自动调用主要是是依赖于view或view controller本身的递归函数,而主题切换默认是递归的会导致,主题切换函数被频繁的调用