CORE-DATA VS SQLITE IN IOS

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 596  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    Post:107

    Points:535
    Core-Data Vs SQLite in iOS

    - Core-Data is an object graph management framework. It manages a potentially very large graph of object instances.
    - It allowing an app to work with a graph that would not entirely fit into memory by faulting objects in and out of memory as necessary.
    - Core Data also manages constraints on properties and relationships and maintains reference integrity (like: keeping forward and backwards links consistent when objects are added/removed to/from a relationship).
    - Core Data is thus an ideal framework for building the "model" component of an MVC architecture.
    - To implement its graph management, Core Data happens to use sqlite as a disk store. It could have been implemented using a different relational database or even a non-relational database such as CouchDB.
    - As others have pointed out, Core Data can also use XML or a binary format or a user-written atomic format as a backend (though these options require that the entire object graph fit into memory).

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!