Model framework for Cocoa and Cocoa Touch
MTLJSONAdapter
correctly checks for MTLModel
protocol conformance rather than MTLModel
inheritance @startupthekid in #617, @priteshshah1983 in #631)NSDate
, NSNumber
and NSFormatter
value transformer factory methods (@conradev in #641)MTLJSONAdapter
type transformer for a key when using JSONTransformerForKey:
if no custom transformer is returned (@k06a in #685)Thanks to @robb for reviewing pull requests!
Backported "faster method calls" (@knox in #679)
libextobjc
files to avoid collisions. #623Implicitly transform properties for types conforming to MTLJSONSerializing
(@younthu in #605)
Fixed an issue with recursive definitions (@jmah in https://github.com/Mantle/Mantle/pull/582)
MTLStoragePropertyNone
(@kevin-traansmission in #523)MTLJSONAdapter
subclasses now behave correctly with class clusters (@hengw in #556)MTLModel
skips revalidation for better performance (@zadr in #548)MTLJSONAdapter
allocations in class-based transformers (@jmah in #567)Also includes improvements to the README by @danielgalasko @alikaragoz :sparkling_heart:
This release of Mantle contains major breaking changes that we were unable to make after freezing the 1.0 API. The changes in 2.0 focus on simplifying concepts and increasing flexibility in the framework.
See the CHANGELOG for more information about what’s changed, and how to migrate your project.
This release of Mantle contains major breaking changes that we were unable to make after freezing the 1.0 API. The changes in 2.0 focus on simplifying concepts and increasing flexibility in the framework.
See the CHANGELOG for more information about what’s changed, and how to migrate your project.