Рет қаралды 9,697
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 www.swiftyplace.com/f/data-st...
Resources:
- Firebase authentication firebase.google.com/docs/auth...
- Realm define data model docs.mongodb.com/realm/sdk/io...
If you liked what you learned and you want to see more, check out one of my courses!
👨💻 my SwiftUI course school.swiftyplace.com/course...
👨💻 my Core Data and SwiftUI course school.swiftyplace.com/course...
#storeDate #iOS #Swift