Getting Started with SwiftData for SwiftUI Development
One common question in SwiftUI app development is how to work with Core Data to save data permanently in the built-in database. Despite Apple’s ongoing efforts to simplify the APIs of Core Data, new comers often find the...
Managing SQLite Database with SwiftyDB
Choosing a way for storing data permanently is something that is always needed when developing applications. There are various options we can pick from: To create single files, to use CoreData or create a SQLite database. The...
Building a ToDo App Using Realm and Swift
After the big evolution in smart phones in the last years, a lot of tools have been developed to make life easier and simpler for developers to deliver the best performance and quality. To rock in the app store today is not an...
Core Data Basics: Preload Data and Use Existing SQLite Database
Editor’s note: This is a sample chapter of our new book, Intermediate iOS 8 Programming with Swift. When working with Core Data, you may have asked these two questions: How can you preload existing data into the SQLite...
Core Data Part 2: Update, Delete Managed Objects and View Raw SQL Statement
This is the second article for our Core Data series. Previously, we gave you a brief introduction of Core Data and created a simple app to store all your device information. However, we only showed you how to insert records into...
Introduction to Core Data: Your First Step to Persistent Data
Editor’s note: After we published the tutorial about saving data in plist file, some readers asked about Core Data and how we can use it to save persistent information. This week, we work with Ziad Tamim, an independent iOS...