Releases: tristanhimmelman/ObjectMapper
Releases · tristanhimmelman/ObjectMapper
Support for Dictionary of Arrays
Merge pull request #124 from Hearst-DD/dictionary-of-arrays Dictionary of arrays
Support for RawRepresentable types
Merge pull request #117 from ikesyo/transform-array-dictionary-support Add array and dictionary support for mapping with transform
Xcode 6.3 support, Nimble Assertion testing, updates to mapping functions, etc.
Added Nimble for assertion testing
Some mapping functions have a slightly modified interface
Code improvements
Enum Tranform, OSX compatibility and various other improvements
- Enum Transform
- OS X compatibility
- Object Mapper can be used within an extension
- Nested mapper keys now working properly when writing JSON
- Travis CI integration
Mappable Protocol update
Mappable Protocol has been updated to remove the required init() function.
New mapping Operator; Additional mapping functions; Better test coverage; Bugs fixes
- New Mapping Operator (from
<=
to<-
) - Additional mapping functions
- Better test coverage
- Bugs fixes
Updated Mappable Protocol and Transforms. Added support for implicitly unwrapped optionals
- Renamed map function in Mappable protocol to mapping to avoid confusion with the Swift map function
- New TransformType protocol makes custom transforms easier to create and use
- Support for implicitly unwrapped optionals
Mappable Protocol update
Removing the Generic type from the Mappable protocol (This was causing issues when creating subclasses that utilized generics)
Mapper Class now uses Generics to remove need for toType parameter
Merge pull request #41 from ikesyo/make-mapper-generic Make Mapper class itself generic, :fire: `toType` parameter
0.3
- MapperProtocol renamed to Mappable
- New transform class, TranformOf added. This transform is initialized with closures which perform the desired transformation (similar to SequenceOf or GeneratorOf in Swift standard lib)
- Addition of convinience functions to Mapper.swift
- Bug fixes