Can I pre-populate relational data (e.g. RealmList<Object>) into Realm

In my answer, I was referring to structuring your data to be read in as a flat file where you are creating the app to read that flat file. Doing it in code would allow you to generate relationships in whatever ways you want (1-1, 1-Many, Many-Many)

If you’re importing data in Realm Studio that’s different and what you’re showing is not the correct format for importing.

I will point you to my answer on Stack Overflow

So if we have a simple person class as in my example

class PersonClass: Object {
   @objc dynamic var person_id = ""
   @objc dynamic var person_name = ""
   @objc dynamic var fav_food = ""
}

The Realm object name is PersonClass , so the imported file name needs to match

PersonClass.csv

along with that the first line of the file needs to match the classes property names, comma separated so the import file would look like this

person_id,person_name,fav_food
1234,jay,pizza
5678,cindy,steak