![]() |
Ignite Tools
|
The Application Delegate which takes care of most Core Data functions. More...
#import <AppDelegate_Shared.h>
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. |
The Application Delegate which takes care of most Core Data functions.
- (NSURL *) applicationDocumentsDirectory |
Get the user's documents directory.
Returns the URL to the application's Documents directory.
- (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.