Package apple.uikit

Class UIManagedDocument

    • Constructor Detail

      • UIManagedDocument

        protected UIManagedDocument​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • persistentStoreName

        public static java.lang.String persistentStoreName()
        The name for the persistent store file inside the document's file wrapper. When working with the Core Data APIs, this path component is appended to the document URL provided by the UIDocument APIs. The default name is @"documentpersistentstore.db"
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • additionalContentForURLError

        public java.lang.Object additionalContentForURLError​(NSURL absoluteURL,
                                                             org.moe.natj.general.ptr.Ptr<NSError> error)
        An optional call out by contentsForType:error: to handle non-Core Data content in the document's file wrapper. The returned object will be passed to -writeAdditionalContent: It is not necessary to call super.
      • configurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError

        public boolean configurePersistentStoreCoordinatorForURLOfTypeModelConfigurationStoreOptionsError​(NSURL storeURL,
                                                                                                          java.lang.String fileType,
                                                                                                          java.lang.String configuration,
                                                                                                          NSDictionary<?,​?> storeOptions,
                                                                                                          org.moe.natj.general.ptr.Ptr<NSError> error)
        Customize the loading or creation of a persistent store to the coordinator.
      • managedObjectContext

        public NSManagedObjectContext managedObjectContext()
        Persistent documents always have a managed object context and a persistent store coordinator through that context. The managed object context is required to be initialized with the concurrency type NSMainQueueConcurrencyType and it must have a parent context initialized with the concurrency type NSPrivateQueueConcurrencyType.
      • managedObjectModel

        public NSManagedObjectModel managedObjectModel()
        Persistent documents always have a managed object model. The default model is the union of all models in the main bundle.
      • modelConfiguration

        public java.lang.String modelConfiguration()
        Optionally specify a model configuration name to be passed when configuring the persistent store
      • persistentStoreOptions

        public NSDictionary<?,​?> persistentStoreOptions()
        Optionally provide a collection of store options to be passed when configuring the persistent store
      • persistentStoreTypeForFileType

        public java.lang.String persistentStoreTypeForFileType​(java.lang.String fileType)
        Returns the Core Data store type string for the given document fileType. The default returns NSSQLiteStoreType. See NSPersistentStoreCoordinator.h for store type information.
      • readAdditionalContentFromURLError

        public boolean readAdditionalContentFromURLError​(NSURL absoluteURL,
                                                         org.moe.natj.general.ptr.Ptr<NSError> error)
        An optional call out by readFromURL:error: to handle non-Core Data content in the document's file wrapper. It is not necessary to call super.
      • setModelConfiguration

        public void setModelConfiguration​(java.lang.String value)
        Optionally specify a model configuration name to be passed when configuring the persistent store
      • setPersistentStoreOptions

        public void setPersistentStoreOptions​(NSDictionary<?,​?> value)
        Optionally provide a collection of store options to be passed when configuring the persistent store
      • writeAdditionalContentToURLOriginalContentsURLError

        public boolean writeAdditionalContentToURLOriginalContentsURLError​(java.lang.Object content,
                                                                           NSURL absoluteURL,
                                                                           NSURL absoluteOriginalContentsURL,
                                                                           org.moe.natj.general.ptr.Ptr<NSError> error)
        An optional call out by writeContents:andAttributes:safelyToURL:forSaveOperation:error: to handle non-Core Data content in the document's file wrapper. The Core Data content is handled by the primary UIDocument -writeContents:andAttributes:safelyToURL:forSaveOperation:error: method. It is not necessary to call super.