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 UIManagedDocument allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        @NotNull
        public static @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • persistentStoreName

        @NotNull
        public static @NotNull 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

        @Nullable
        public @Nullable java.lang.Object additionalContentForURLError​(@NotNull
                                                                       @NotNull NSURL absoluteURL,
                                                                       @Nullable
                                                                       @Nullable 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​(@NotNull
                                                                                                          @NotNull NSURL storeURL,
                                                                                                          @NotNull
                                                                                                          @NotNull java.lang.String fileType,
                                                                                                          @Nullable
                                                                                                          @Nullable java.lang.String configuration,
                                                                                                          @Nullable
                                                                                                          @Nullable NSDictionary<?,​?> storeOptions,
                                                                                                          @Nullable
                                                                                                          @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Customize the loading or creation of a persistent store to the coordinator.
      • initWithFileURL

        public UIManagedDocument initWithFileURL​(@NotNull
                                                 @NotNull NSURL url)
        Description copied from class: UIDocument
        The designated initializer. Passing an empty URL will cause this method to throw an NSInvalidArgumentException.
        Overrides:
        initWithFileURL in class UIDocument
      • managedObjectContext

        @NotNull
        public @NotNull 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

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

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

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

        @NotNull
        public @NotNull java.lang.String persistentStoreTypeForFileType​(@NotNull
                                                                        @NotNull 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​(@NotNull
                                                         @NotNull NSURL absoluteURL,
                                                         @Nullable
                                                         @Nullable 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​(@Nullable
                                          @Nullable java.lang.String value)
        Optionally specify a model configuration name to be passed when configuring the persistent store
      • setPersistentStoreOptions

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

        public boolean writeAdditionalContentToURLOriginalContentsURLError​(@NotNull
                                                                           @NotNull java.lang.Object content,
                                                                           @NotNull
                                                                           @NotNull NSURL absoluteURL,
                                                                           @Nullable
                                                                           @Nullable NSURL absoluteOriginalContentsURL,
                                                                           @Nullable
                                                                           @Nullable 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.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.