This is the fourth and last part of the blog post series about Core Data in iOS. In case you were not following along, here is a short description of the previous articles: Part 1: setting up the application data model Part 2: polling data from the persistent store using NSFetchedResultsController and basic data updating Continue reading…
core data
Core Data for iOS: Part 3 – Migrating the data to a new data model
As developers, we constantly try to improve our apps by adding features and optimizing the code. Sometimes these changes have an impact on the data model. Assuming we use Core Data, what options do we have when we need to modify the data structure of an existing app? Because it’s not the first release, we Continue reading…
Core Data for iOS: Part 2 – Fetching and creating objects
This article builds upon the last week’s blog post on Core Data. In the Part 1 of the series I explained what the Core Data stack is and how to create a data model for a simple application. This article goes one step further and shows how to extract and display the data from the Continue reading…
Core Data for iOS: Part 1 – Data model
In the Model-View-Controller pattern, which is the base of any iOS app design, the Model component plays an essential role. It represents the data on which the app operates. The user indirectly interacts with it through the View component of the MVC, while the Controller mediates the communication between the Model and the View. Core Continue reading…