kodi
Instance Methods | Protected Attributes | Properties | List of all members
MediaServerCocoaTest_AppDelegate Class Reference
Inheritance diagram for MediaServerCocoaTest_AppDelegate:
Inheritance graph
[legend]
Collaboration diagram for MediaServerCocoaTest_AppDelegate:
Collaboration graph
[legend]

Instance Methods

(IBAction) - saveAction:
 Performs the save action for the application, which is to send the save: message to the application's managed object context. More...
 

Protected Attributes

NSWindow * window
 
NSPersistentStoreCoordinator * persistentStoreCoordinator
 Returns the persistent store coordinator for the application. More...
 
NSManagedObjectModel * managedObjectModel
 Creates, retains, and returns the managed object model for the application by merging all of the models found in the application bundle.
 
NSManagedObjectContext * managedObjectContext
 Returns the managed object context for the application (which is already bound to the persistent store coordinator for the application.)
 

Properties

IBOutlet NSWindow * window
 

Method Documentation

◆ saveAction:()

- (IBAction) saveAction: (id)  sender

Performs the save action for the application, which is to send the save: message to the application's managed object context.

Any encountered errors are presented to the user.

Member Data Documentation

◆ persistentStoreCoordinator

- (NSPersistentStoreCoordinator *) persistentStoreCoordinator
readnonatomicretainprotected

Returns the persistent store coordinator for the application.

This implementation will create and return a coordinator, having added the store for the application to it. (The directory for the store is created, if necessary.)


The documentation for this class was generated from the following files: