ModelRocket v1.2.1 Release Notes

Release Date: 2015-10-29 // over 8 years ago
  • 🛠 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.