What's the benefit of using realm instead of Sqlite + an ORM ?
1. Since Realm is not a relational database with an ORM, we don't run into the impedance mismatch. Relationships are first-class citizens.
2. Realm uses a zero-copy architecture. Objects and collections are lazy loaded offering benefits to both memory use and speed.
- simplicity, which in turns creates less complex code and less crashes
- performance, which for my use case was faster than sqlite
- slightly opinionated, in that it forces you to not access objects from different threads, which can eliminate a whole class of bugs (you could and should do this or a similar approach to prevent these with whatever solution, but Realm forces it)