Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Levin Li 7752b4c833 Private header #1 2020-07-24 20:15:31 +08:00
Levin Li 3091c0ad93 Add theme change handler 2020-07-24 20:14:08 +08:00
Levin Li 5883735aa9
Allow not to use UIImageAsset on iOS 13 (#88)
* Allow not to use UIImageAsset on iOS13

* Use imageWithConfiguration: on iOS 13+

* Add configuration class
2020-07-24 17:32:57 +08:00
Levin Li f94228e692
Add dmTraitCollection to DMTraitEnvironment requirement (#84)
* Add requirement to DMTraitEnvironment and remove UITabBarItem's conformance

* Setup tests with class objects instead of class names

* mark UIViewController's comformance as open
2020-07-07 13:50:56 +08:00
Levin Li 1f11a409e0
Migrate UIImage APIs to using UIImageAsset on iOS13 (#82)
* Mark DMTraitCollection.current as deprecated

* System built-in support for dark/light mode UIImage
2020-07-01 18:05:08 +08:00
Levin Li 55e55946e1
Adopt theme in newly created windows automatically (#81)
* Use UIWindowDidBecomeKeyNotification to observe new window and update example
2020-06-29 09:43:35 +08:00
Levin Li 7a20bcf603
Bridge iOS 13 traitCollection and color (#78)
* Use system dynamic color on iOS 13+
* Swizzling for DMTraitCollection
* Remove override of dm_updateDynamicColors and dm_updateDynamicImages
* Update naming and return UITraitCollection.current directly
* Allow using view controller to observe change
2020-06-20 11:11:26 +08:00
Bei Li 192e18c7be
Change to a more common Obj-C style (#44) 2020-02-07 17:54:39 +08:00
Daohan Chong 53b09d2a50
Update headers (#14) 2019-10-31 12:11:39 +08:00
Bei Li 77fb1d7cc7
SPM support (#7)
* Structure files

* Structure Obj-C files

* Add SPM support

* Remove useless import

* Update products setting
2019-10-31 11:35:12 +08:00