Up

NSPersistentDocument class documentation

Authors

Generated by Gregory John Casamento,,,

Date: Generated at 2024-11-13 12:52:37 -0500

Software documentation for the NSPersistentDocument class

NSPersistentDocument : NSDocument

class_NSPersistentDocument NSDocument NSDocument NSPersistentDocument NSPersistentDocument NSDocument->NSPersistentDocument
Declared in:
AppKit/NSPersistentDocument.h
Availability: MacOS-X 10.4.0

Description forthcoming.

Instance Variables

Method summary


canAsynchronouslyWriteToURL: ofType: forSaveOperation: 

- (BOOL) canAsynchronouslyWriteToURL: (NSURL*)url ofType: (NSString*)type forSaveOperation: (NSSaveOperationType)saveOp;
Availability: MacOS-X 10.4.0

Description forthcoming.

configurePersistentStoreCoordinatorForURL: ofType: error: 

- (BOOL) configurePersistentStoreCoordinatorForURL: (NSURL*)url ofType: (NSString*)fileType error: (NSError**)err;
Availability: MacOS-X 10.4.0

Description forthcoming.

configurePersistentStoreCoordinatorForURL: ofType: modelConfiguration: storeOptions: error: 

- (BOOL) configurePersistentStoreCoordinatorForURL: (NSURL*)url ofType: (NSString*)fileType modelConfiguration: (NSString*)config storeOptions: (NSDictionary*)options error: (NSError**)err;
Availability: MacOS-X 10.4.0

Description forthcoming.

hasUndoManager 

- (BOOL) hasUndoManager;
Availability: MacOS-X 10.4.0

Description forthcoming.

isDocumentEdited 

- (BOOL) isDocumentEdited;
Availability: MacOS-X 10.4.0

Description forthcoming.

managedObjectContext 

- (NSManagedObjectContext*) managedObjectContext;
Availability: MacOS-X 10.4.0

Description forthcoming.

managedObjectModel 

- (NSManagedObjectModel*) managedObjectModel;
Availability: MacOS-X 10.4.0

Description forthcoming.

persistentStoreTypeForFileType: 

- (NSString*) persistentStoreTypeForFileType: (NSString*)fileType;
Availability: MacOS-X 10.4.0

Description forthcoming.

readFromURL: ofType: error: 

- (BOOL) readFromURL: (NSURL*)absoluteURL ofType: (NSString*)typeName error: (NSError**)err;
Availability: MacOS-X 10.4.0

Description forthcoming.

revertToContentsOfURL: ofType: error: 

- (BOOL) revertToContentsOfURL: (NSURL*)url ofType: (NSString*)type error: (NSError**)outErr;
Availability: MacOS-X 10.4.0

Description forthcoming.

setHasUndoManager: 

- (void) setHasUndoManager: (BOOL)flag;
Availability: MacOS-X 10.4.0

Description forthcoming.

setUndoManager: 

- (void) setUndoManager: (NSUndoManager*)manager;
Availability: MacOS-X 10.4.0

Description forthcoming.

writeToURL: ofType: forSaveOperation: originalContentsURL: error: 

- (BOOL) writeToURL: (NSURL*)url ofType: (NSString*)type forSaveOperation: (NSSaveOperationType)saveOp originalContentsURL: (NSURL*)originalContents error: (NSError**)err;
Availability: MacOS-X 10.4.0

Description forthcoming.



Instance Variables for NSPersistentDocument Class

_managedObjectContext

@protected NSManagedObjectContext* _managedObjectContext;
Availability: MacOS-X 10.4.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_managedObjectModel

@protected NSManagedObjectModel* _managedObjectModel;
Availability: MacOS-X 10.4.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Up