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.
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
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