Skip to content

2.0.0 - Swift Support

Latest
Compare
Choose a tag to compare
@KingOfBrian KingOfBrian released this 12 Jan 13:58
· 12 commits to master since this release

A new release of RZImport with swift compatibility.

  • Adds +(NSArray *)rzi_propertyNames method to RZImportable to specify the keys to import. This can be used by swift objects to specify the properties to import, since the objc runtime property information is not available.
  • Adds nullability annotations throughout for better swifting
  • Adds logic for automatically importing bool values from non-ideal JSON values. The JSON values can contain strings with numbers, strings with YES/NO, or numbers.