DPS923 MAP523 Quiz 4

Quiz 4, on Tuesday, February 10, 2015

.

The sample answers are just that – sample answers. It is not necessary to include all items in a sample answer in order to earn partial or full credit.

.

iOS programmers can use plist, archiving, and Core Data to persist data on the device. Why should they choose Core Data? Briefly explain.

Mature persistence framework, with features and reliability.
Supports complex object graphs.
Can use a wide range of data types.
Supports related entities.
For large data stores.
Atomic data maintenance operations.
(etc.)

.

Write a brief answer for each of the following. Each answer is worth up to ½ mark.

What is the managed object context object? (What’s its purpose?)

In-memory temporary work area for our managed objects.

.

Briefly define and explain a fetched results controller.

Object that manages the results of a fetch request.
Designed to work with the table view controller.

.

What is the purpose of the CDStack class in the template project.

Implements the Core Data stack of objects for the app.
Packaged in one nice single source code container.

.

What is the purpose of the ObjectModel.xcdatamodeld item in a project that uses Core Data.

Implements the app’s data model.
Table-oriented or visual object designer.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: