Hi Guys, today we are going to learn about CORE DATA.
What is Core Data?
Core Data is not a Data base, it is a framework used to manage the model layer objects in our application.
Advantages of Core Data:
-> Core Data decrease the over head of writing the code to support model layer by 50% to 70%.
-> "Faulting", by using Core Data only the objects that we are currently using will be loaded.
-> Related to this Faulting technique the changes made to the objects can only be saved, not all the objects to be saved.
-> Automatic validation.
-> Lazy loading of data.
-> Easy migration from different versions.
-> We can use complex query to fetch the records using NSPredicate.
Terms to be known:
Before going into future we have to know few things.
1. Core Data Stack
2. Managed Objects
3. Persistent Sore Coordinator
4. Managed Object Context
5. Persistent store.
What is Core Data?
Core Data is not a Data base, it is a framework used to manage the model layer objects in our application.
Advantages of Core Data:
-> Core Data decrease the over head of writing the code to support model layer by 50% to 70%.
-> "Faulting", by using Core Data only the objects that we are currently using will be loaded.
-> Related to this Faulting technique the changes made to the objects can only be saved, not all the objects to be saved.
-> Automatic validation.
-> Lazy loading of data.
-> Easy migration from different versions.
-> We can use complex query to fetch the records using NSPredicate.
Terms to be known:
Before going into future we have to know few things.
1. Core Data Stack
2. Managed Objects
3. Persistent Sore Coordinator
4. Managed Object Context
5. Persistent store.
No comments:
Post a Comment