Ads

Saturday, 25 February 2017

Core Data -> Part-1

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.

No comments:

Post a Comment

SOLID Principles

SOLID principles are the basic essential thing to know for every developer before he/she starts coding in any IDE. Here is the full form S ...