This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
0.4
Major changes
- Adds a
Fetcher
protocol that you can use to create your custom fetchers. - Adds the possibility to transform values coming out of
Fetcher
instances throughOneWayTransformer
objects without forcing them to beTwoWayTransformer
as in the case of transforming values ofCacheLevel
instances - Adds a
JSONCache
function toCacheProvider
- Adds output processers to process/sanitize values coming out of
CacheLevel
s (seepostProcess
) - Adds a way to compose multiple
OneWayTransformer
s through functions, operators and protocol extensions - Adds a way to compose multiple
TwoWayTransformer
s through functions, operators and protocol extensions - Adds a
normalize
function and protocol extension transformingCacheLevel
instances intoBasicCache
ones to make it easier to store instance properties - Adds a
JSONTransformer
class conforming toTwoWayTransformer
- Adds a
ImageTransformer
class for the iOS and WatchOS 2 frameworks conforming toTwoWayTransformer
- Adds a
StringTransformer
class conforming toTwoWayTransformer
Minor improvements
invert
is now available as a protocol extension to theTwoWayTransformer
protocol
WatchOS 2
- Adds
WatchOS 2
support throughCocoaPods
tvOS
- Adds framework support for
tvOS