THE BLOGS

Core Data – Object Graph Management & Persistence Framework

Core Data – Object Graph Management & Persistence Framework

Which is an object graph & persistence framework introduced by Apple in Mac OS X 10.4 (Tiger) 2005 and IOS, “Core Data is a Schema driven object graph management and persistence Framework” which is creates a layer between the database and UI which easily performs CRUD (Create, read, update and delete) operations. Core data reduces 50 to 70 percent of the work which was spent on developing model layer, due to it’s inbuilt features. It uses NSPredicate to query values.

Both Core Data and an SQL database provide a means of persistently storing structured data in a searchable store.
Since programmers are generally familiar with databases and since Core Data is actually backed by an SQLite database, it is understandable that Core Data is often treated and used as though it were a wrapper around SQLite.
It is important to realise that although you can use Core Data in this way (in fact, it works very well like this), that Core Data actually operates over a different domain to SQLite — meaning that it provides lots of services that SQLite doesn’t but also that Core Data can’t provide some of the services that SQLite can. Even for services that both technologies provide, there are different performance considerations.

Posted By :Jincy