Ahmed-Ali / RealmObjectEditor

Realm Object Editor is a visual editor where you can create your Realm entities, attributes and relationships inside a nice user interface. Once you finish, you can save your schema document for later use and you can export your entities in Swift, Objective-C and Java.
MIT License
424 stars 47 forks source link

Realm Swift Export #21

Open victorsb118 opened 8 years ago

victorsb118 commented 8 years ago

I faced two problems while exporting to swift, the first was that the files didn't have the "import RealmSwift" (Isn't a real problem, but it would be nice to fix those things). The second one, the tables that have relationship "to many" to other one came with this line:

dynamic var sazonalidade = RLMArray(objectClassName: SazonalidadeDB.className())

To Swift there is no RLMArray and it not recognize dynamic as a valid use in swift

victorsb118 commented 8 years ago

I would like to try to solve this one!