It’s kind of hard to explain. Realm doesn’t publish a “multiplatform” library, so each platform would need realm data object definitions. You could then define common classes to talk to realm classes, but because the realm data classes are likely to be slightly different on either platform, you’ll be adding a lot of “massage code” to get it into common.