Skip to content

Mappable protocol updates, new MapContext and NSDecimalNumberTransform

Compare
Choose a tag to compare
@tristanhimmelman tristanhimmelman released this 12 May 14:29
· 463 commits to master since this release
  • Removed the MappableCluster protocol by adding the objectForMapping function into Mappable and adding a default implementation in an extension making it an optional function
  • Created MapContext protocol which can be implemented by developers and used to pass information around during mapping. Pass the MapContext object into Mapper in init and the context will be available in the Map object (map.context) during mapping.
  • Added NSDecimalNumberTransform