From the course: Learning Realm for iOS App Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Important classes: Realm and object

Important classes: Realm and object - iOS Tutorial

From the course: Learning Realm for iOS App Development

Start my 1-month free trial

Important classes: Realm and object

- [Narrator] To efficiently work with Realm, you do not need to memorize a lot of classes. There are just a few actually that you really need to keep in mind. And I'd like to show you what the most important things about the Realm mobile platform are and what you really need to keep in mind. So let's have a look again at the Realm mobile platform and here especially at the Realm mobile database. And as you know, in the Realm mobile database we can find Realms. And these Realms are nothing else, but instances of a Realm mobile database container. And we need to think about how can we get such a container? How can we get an instance of this class? And the answer is really simple. We just call the Realm function. And this function returns a Realm object, so an instance of the Realm mobile database container class. And this object maps to a file named default.realm. And this is a document or a file that is located in a documents folder in iOS or in the application support folder on Mac…

Contents