Get to know the different storage options for iOS applications. I will talk about local solutions like Core Data, the FileManager and UserDefaults. Another important aspect is to know how to design a data model and to work with Codable. I will also talk about reasons why you might want to consider using a database e.g. Core Data.
Last, I will give a brief overview of the different options if you want to sync data between different devices e.g. iCloud and custom servers. A good starting point is to use Firebase and MongoDB Realm.
Overview:
00:00 introduction
01:09 simple vs complex data
04:57 how to define a data model in Swift
08:57 where to store the data - local and remote storage
18:49 wrap up
Link to PDF file https://www.swiftyplace.com/f/data-storage-ios
Resources:
- Firebase authentication https://firebase.google.com/docs/auth/ios/firebaseui
- Realm define data model https://docs.mongodb.com/realm/sdk/ios/data-types/supported-property-types/
If you liked what you learned and you want to see more, check out one of my courses!
👨💻 my SwiftUI course https://school.swiftyplace.com/courses/swiftui-course
👨💻 my Core Data and SwiftUI course https://school.swiftyplace.com/courses/swiftui-and-core-data
#storeDate #iOS #Swift