Core Data: it is used to
store data from your iPhone application into a Sqlite file which is present in
the document directory of your application. Core Data is not a relational
database, you can see Core data as a wrapper around Sqlite although core data
is quite simpler as compared to Sqlite but it does not offer some of the
functionality that Sqlite can offer and vice versa.
ManagedObject: Managed objects are the objects that are created by your
application code to store data. A managed object can be thought of as a row or
a record in a relational database table. For each new record to be
added, a new managed object must be created to store the data. Similarly,
retrieved data will be returned in the form of managed objects, one for each
record matching the defined retrieval criteria. Managed objects are actually
instances of the NSManagedObject class, or a subclass thereof. These objects
are contained and maintained by the managed object context.
Persistence store
coordinator: The persistent store coordinator is
responsible for coordinating access to multiple persistent object stores. As an
iPhone developer you will never directly interact with the persistence store
coordinator and, in fact, will very rarely need to develop an application that
requires more than one persistent object store. When multiple stores are
required, the coordinator presents these stores to the upper layers of the Core
Data stack as a single store.
Source: http://qs4int.blogspot.in/2013/01/core-data.html
No comments:
Post a Comment