realm / realm-browser-osx

DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
https://realm.io
503 stars 54 forks source link

Add Objective-C nullability annotations to model definitions #319

Closed ChrisChares closed 7 years ago

ChrisChares commented 7 years ago

Hi there,

These annotations help a lot when interacting with Realm Objective-C models from Swift. We were previously adding them to our generated models by hand.

To test I replaced the manually edited files in our project (20 models) with ones automatically generated with this commit. No errors and additionally found a few places where we had forgotten the manual (nullable) attributes.

Cheers