Skip to content

ModelRocket 1.2.1

Compare
Choose a tag to compare
@jlandon jlandon released this 29 Oct 21:35
· 20 commits to master since this release

Fixed

  • An issue with the default implementation of fromJSON for Model types. The implementation worked without issue in simulator builds, but caused crashing on device builds. Attempting to access the dynamicType on Self currently causes problems on device builds, so dynamicType is no longer used; however, fromJSON can still be overridden in the subclass if needed.

Updated

  • The convenience initializers on Model are now designated initializers. This allows these initializers to be overridden in subclasses.