Motif v0.2.0 Release Notes
-
๐ Features
- โ Adds support for YAML in addition to JSON as a much more human-friendly way of writing your theme files. See the README for some examples (#38)
- Of course, while YAML is now the recommended way of writing theme files, JSON will still work
- โ Adds a class method to
NSValueTransformer
to enable easy registration of Motif value transformer subclasses without having to declare a new interface & implementation (#28) - โ Removes the need specify value transformer names as part of applier registration (#43)
- โ Adds default value transformers for the following: (#42)
- Creating
UIEdgeInsets
from an array, dictionary, or number in a theme file - Creating
CGSize
from an array, dictionary, or number in a theme file - Creating
CGPoint
from an array, dictionary, or number in a theme file - Creating
UIOffset
from an array, dictionary, or number in a theme file
- Creating
- โ Removes old string value transformers in favor of the above
- โ Adds a keyword applier registration method for easily specifying enums as strings in themes (#31)
๐ Fixes
- ๐ Fixes a YAML number parsing bug (thanks @jlawton!) (#44)
- โ Removes backwards-compatible nullability annotations as Xcode 6.3+ is standard now. (#40)
- ๐ Uses modular imports in headers (#32)
- Re-throws non-NSUndefinedKeyException exceptions when applying classes (#30)
- ๐ Handles duplicate appliers with different classes (#29)
- โช Inlines applier blocks to work around rdar://20723086 (#37)
- ๐ Prevents Carthage from building the tests as part of build 3cc0695
- Overrides missing designated initializer (#46)
- โ Adds support for YAML in addition to JSON as a much more human-friendly way of writing your theme files. See the README for some examples (#38)