iOS Guides | Samples

MonoTouch.UIKit.UIManagedDocument Class

A UIDocument that integrates with Core Data.

See Also: UIManagedDocument


[MonoTouch.Foundation.Register("UIManagedDocument", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 5, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIManagedDocument : UIDocument


Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIManagedDocument are listed below.

See Also: UIDocument

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
ManagedObjectContextNSManagedObjectContext. This UIManagedDocument's managed object context. Read-only.
ManagedObjectModelNSManagedObjectModel. This UIManagedDocument's managed object model. Read-only.
ModelConfigurationString. A name to be passed when configuring the persistent store.
PersistentStoreNameString. The name for the persistent store file inside the document's file package.
PersistentStoreOptionsNSDictionary. Options to be used when creating the persistent store.

Public Methods

AdditionalContent(NSUrl, out NSError) : NSObject
Responsible for writing non-Core Data content to the additional content directory in the document's file package.
ConfigurePersistentStoreCoordinator(NSUrl, String, String, NSDictionary, NSError) : Boolean
Creates or loads the document's persistent store.
GetPersistentStoreType(String) : String
The Core Data store type for the specified document file type.
ReadAdditionalContent(NSUrl, out NSError) : Boolean
Responsible for reading non-Core Data content from the additional content directory in the document's file package.
WriteAdditionalContent(NSObject, NSUrl, NSUrl, out NSError) : Boolean
Writes non-Core Data content to the document's file package.