Ignite Tools
Public Member Functions | Properties
AppDelegate_Shared Class Reference

The Application Delegate which takes care of most Core Data functions. More...

#import <AppDelegate_Shared.h>

Inheritance diagram for AppDelegate_Shared:
AppDelegate_iPad AppDelegate_iPhone

List of all members.

Public Member Functions

(NSURL *) - applicationDocumentsDirectory
 Get the user's documents directory.
(void) - saveContext
 Save the Core Data context.

Properties

IBOutlet UIWindow * window
 Main window of the app.
NSManagedObjectContext * managedObjectContext
 The Core Data NSManagedObjectContext.
NSManagedObjectModel * managedObjectModel
 The Core Data NSManagedObjectModel.
NSPersistentStoreCoordinator * persistentStoreCoordinator
 The Core Data NSPersistenStoreCoordinator.

Detailed Description

The Application Delegate which takes care of most Core Data functions.


Member Function Documentation

- (NSURL *) applicationDocumentsDirectory

Get the user's documents directory.

Returns the URL to the application's Documents directory.

Returns:
NSURL of user's documents directory.

Property Documentation

- (NSManagedObjectContext *) managedObjectContext [read, retain]

The Core Data NSManagedObjectContext.

Returns the managed object context for the application.

If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application.

- (NSManagedObjectModel *) managedObjectModel [read, retain]

The Core Data NSManagedObjectModel.

Returns the managed object model for the application.

If the model doesn't already exist, it is created from the application's model.

- (NSPersistentStoreCoordinator *) persistentStoreCoordinator [read, retain]

The Core Data NSPersistenStoreCoordinator.

Returns the persistent store coordinator for the application.

If the coordinator doesn't already exist, it is created and the application's store added to it.


The documentation for this class was generated from the following files:
 All Classes Functions Properties