Mappable protocol updates, new MapContext and NSDecimalNumberTransform
tristanhimmelman
released this
12 May 14:29
·
463 commits
to master
since this release
- Removed the
MappableCluster
protocol by adding theobjectForMapping
function intoMappable
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 theMapContext
object intoMapper
ininit
and the context will be available in the Map object (map.context
) during mapping. - Added
NSDecimalNumberTransform