Let’s make an app with SwiftUI and Realm
- Length: 1 hour
- Difficulty: Beginner
Auto-generated captions, so expect a few mistakes.
Notes App Demo and Tools
Project Setup and Adding Realm
SwiftUI Basics and Empty State
Realm Note Object and Manager
CRUD Functions with Realm
Listing Notes with ObservedResults
Creating Notes in a Sheet
Note List Items and Swipe to Delete
Editing and Saving Notes
Running on iPhone and Mac
About this camp
In this camp, we'll be making an app using SwiftUI and Realm. No experience required!
We'll build out the app's interface and functionality in SwiftUI, and learn how to style and build views. Then, we'll take Realm, a mobile database API to store data that we create in the app. In the end, you'll have a full app that allows you to create, read, update, and delete data of your own!
Prior to this camp, make sure you have Xcode 13 (or later) installed on a Mac computer. An iPhone or iPad is recommended, but not necessary.
What you'll learn
- Developing apps using Xcode
- Code with SwiftUI Basics
- Build and style views
- CRUD and Persistent Storage
- Realm for Swift