Core Data

6 important questions on Core Data

How can you think of core data?

An object graph that is made persistence into an sql database

How do entities appear in your code?

NSManaged object or subclass thereof. We usually make subclasses so we can use properties to access the attributes.

Can there be other "things" than objects in Entities or Atributes?

No, they all are objects.
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

How are attributes accessed?

via the methods valueForKey: and setValueForKey

How can you think of a UIManagedDocument

As a container to hold your database.

What is a completion handler?

A block of code to execute when the open/save completes. Open/save is asynchronus!!

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo