Join Brian Advent for an in-depth discussion in this video Create and fetch your first notebook, part of Learning Realm for iOS App Development.
- I have already opened up the first begin state…of our notes applications that…you'll also find in the access files…and I'm now going to show you…what we are trying to achieve in this video.…So, this is the skeleton application that…I've been talking about…and when we are now clicking…or pressing on the plus icon in the top right corner,…what we're doing is calling an addNotebook IBAction…and there we're creating a UI alert controller…that asks the user using a text field for a notebook title…and we are offering a cancel action,…we are offering a create action…and in this create action,…the real magic actually happens.…
So, as soon as I enter a new title,…so let's say a new book here, and I create that,…we're entering this action here…and what we're doing is checking…if a title is really available…and then we're using a notes manager…that we have already implemented…and using a Singleton pattern actually,…to not have to create an instance of this notes manager…and we're then calling the addNotebook function…of this notes manager and giving it the title…
Released
1/10/2018- What is Realm?
- Data storage
- Installing Realm
- Working with object classes
- Making a model
- Adding objects
- Using the Realm browser
- Retrieving and updating objects
- Creating queries and filters
- Deleting objects
- Realm relationships
- Fetching notes and notebooks
Share this video
Embed this video
Video: Create and fetch your first notebook