Class CoreData


  • public final class CoreData
    extends java.lang.Object
    • Field Detail

      • NSFetchRequestExpressionType

        public static final long NSFetchRequestExpressionType
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_4

        public static final double NSCoreDataVersionNumber10_4
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_4_3

        public static final double NSCoreDataVersionNumber10_4_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_5

        public static final double NSCoreDataVersionNumber10_5
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_5_3

        public static final double NSCoreDataVersionNumber10_5_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_6

        public static final double NSCoreDataVersionNumber10_6
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_6_2

        public static final double NSCoreDataVersionNumber10_6_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_6_3

        public static final double NSCoreDataVersionNumber10_6_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_7

        public static final double NSCoreDataVersionNumber10_7
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_7_2

        public static final double NSCoreDataVersionNumber10_7_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_7_3

        public static final double NSCoreDataVersionNumber10_7_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_7_4

        public static final double NSCoreDataVersionNumber10_7_4
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_8

        public static final double NSCoreDataVersionNumber10_8
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_8_2

        public static final double NSCoreDataVersionNumber10_8_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_9

        public static final double NSCoreDataVersionNumber10_9
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_9_2

        public static final double NSCoreDataVersionNumber10_9_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_9_3

        public static final double NSCoreDataVersionNumber10_9_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_10

        public static final double NSCoreDataVersionNumber10_10
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_10_2

        public static final double NSCoreDataVersionNumber10_10_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_10_3

        public static final double NSCoreDataVersionNumber10_10_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_11

        public static final double NSCoreDataVersionNumber10_11
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber10_11_3

        public static final double NSCoreDataVersionNumber10_11_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_3_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_3_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_3_1

        public static final double NSCoreDataVersionNumber_iPhoneOS_3_1
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_3_2

        public static final double NSCoreDataVersionNumber_iPhoneOS_3_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_4_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_4_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_4_1

        public static final double NSCoreDataVersionNumber_iPhoneOS_4_1
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_4_2

        public static final double NSCoreDataVersionNumber_iPhoneOS_4_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_4_3

        public static final double NSCoreDataVersionNumber_iPhoneOS_4_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_5_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_5_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_5_1

        public static final double NSCoreDataVersionNumber_iPhoneOS_5_1
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_6_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_6_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_6_1

        public static final double NSCoreDataVersionNumber_iPhoneOS_6_1
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_7_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_7_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_7_1

        public static final double NSCoreDataVersionNumber_iPhoneOS_7_1
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_8_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_8_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_8_3

        public static final double NSCoreDataVersionNumber_iPhoneOS_8_3
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_9_0

        public static final double NSCoreDataVersionNumber_iPhoneOS_9_0
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_9_2

        public static final double NSCoreDataVersionNumber_iPhoneOS_9_2
        See Also:
        Constant Field Values
      • NSCoreDataVersionNumber_iPhoneOS_9_3

        public static final double NSCoreDataVersionNumber_iPhoneOS_9_3
        See Also:
        Constant Field Values
    • Method Detail

      • NSCoreDataVersionNumber

        public static double NSCoreDataVersionNumber()
        Framework version
      • NSDetailedErrorsKey

        @NotNull
        public static @NotNull java.lang.String NSDetailedErrorsKey()
        if multiple validation errors occur in one operation, they are collected in an array and added with this key to the "top-level error" of the operation API-Since: 3.0
      • NSValidationObjectErrorKey

        @NotNull
        public static @NotNull java.lang.String NSValidationObjectErrorKey()
        object that failed to validate for a validation error API-Since: 3.0
      • NSValidationKeyErrorKey

        @NotNull
        public static @NotNull java.lang.String NSValidationKeyErrorKey()
        key that failed to validate for a validation error API-Since: 3.0
      • NSValidationPredicateErrorKey

        @NotNull
        public static @NotNull java.lang.String NSValidationPredicateErrorKey()
        for predicate-based validation, the predicate for the condition that failed to validate API-Since: 3.0
      • NSValidationValueErrorKey

        @NotNull
        public static @NotNull java.lang.String NSValidationValueErrorKey()
        if non-nil, the value for the key that failed to validate for a validation error API-Since: 3.0
      • NSAffectedStoresErrorKey

        @NotNull
        public static @NotNull java.lang.String NSAffectedStoresErrorKey()
        stores prompting an error API-Since: 3.0
      • NSAffectedObjectsErrorKey

        @NotNull
        public static @NotNull java.lang.String NSAffectedObjectsErrorKey()
        objects prompting an error API-Since: 3.0
      • NSPersistentStoreSaveConflictsErrorKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreSaveConflictsErrorKey()
        key in NSError's userInfo specifying the NSArray of NSMergeConflict API-Since: 5.0
      • NSSQLiteErrorDomain

        @NotNull
        public static @NotNull java.lang.String NSSQLiteErrorDomain()
        Predefined domain for SQLite errors, value of "code" will correspond to preexisting values in SQLite. API-Since: 3.0
      • NSManagedObjectContextWillSaveNotification

        @NotNull
        public static @NotNull java.lang.String NSManagedObjectContextWillSaveNotification()
        Notifications immediately before and immediately after the context saves. The user info dictionary contains information about the objects that changed and what changed API-Since: 3.0
      • NSManagedObjectContextDidSaveNotification

        @NotNull
        public static @NotNull java.lang.String NSManagedObjectContextDidSaveNotification()
        API-Since: 3.0
      • NSManagedObjectContextObjectsDidChangeNotification

        @NotNull
        public static @NotNull java.lang.String NSManagedObjectContextObjectsDidChangeNotification()
        Notification when objects in a context changed: the user info dictionary contains information about the objects that changed and what changed API-Since: 3.0
      • NSInsertedObjectsKey

        @NotNull
        public static @NotNull java.lang.String NSInsertedObjectsKey()
        User info keys for NSManagedObjectContextObjectsDidChangeNotification: the values for these keys are sets of managed objects API-Since: 3.0
      • NSUpdatedObjectsKey

        @NotNull
        public static @NotNull java.lang.String NSUpdatedObjectsKey()
        API-Since: 3.0
      • NSDeletedObjectsKey

        @NotNull
        public static @NotNull java.lang.String NSDeletedObjectsKey()
        API-Since: 3.0
      • NSRefreshedObjectsKey

        @NotNull
        public static @NotNull java.lang.String NSRefreshedObjectsKey()
        API-Since: 3.0
      • NSInvalidatedObjectsKey

        @NotNull
        public static @NotNull java.lang.String NSInvalidatedObjectsKey()
        API-Since: 3.0
      • NSManagedObjectContextQueryGenerationKey

        @NotNull
        public static @NotNull java.lang.String NSManagedObjectContextQueryGenerationKey()
        API-Since: 10.0
      • NSInvalidatedAllObjectsKey

        @NotNull
        public static @NotNull java.lang.String NSInvalidatedAllObjectsKey()
        All objects in the context have been invalidated API-Since: 3.0
      • NSErrorMergePolicy

        @NotNull
        public static @NotNull java.lang.Object NSErrorMergePolicy()
        Default policy for all managed object contexts - save returns with an error that contains the object IDs of the objects that had conflicts(NSInsertedObjectsKey, NSUpdatedObjectsKey). API-Since: 3.0
      • NSMergeByPropertyStoreTrumpMergePolicy

        @NotNull
        public static @NotNull java.lang.Object NSMergeByPropertyStoreTrumpMergePolicy()
        This singleton policy merges conflicts between the persistent store's version of the object and the current in memory version. The merge occurs by individual property. For properties which have been changed in both the external source and in memory, the external changes trump the in memory ones. API-Since: 3.0
      • NSMergeByPropertyObjectTrumpMergePolicy

        @NotNull
        public static @NotNull java.lang.Object NSMergeByPropertyObjectTrumpMergePolicy()
        This singleton policy merges conflicts between the persistent store's version of the object and the current in memory version. The merge occurs by individual property. For properties which have been changed in both the external source and in memory, the in memory changes trump the external ones. API-Since: 3.0
      • NSOverwriteMergePolicy

        @NotNull
        public static @NotNull java.lang.Object NSOverwriteMergePolicy()
        This singleton policy overwrites all state for the changed objects in conflict The current object's state is pushed upon the persistent store. API-Since: 3.0
      • NSRollbackMergePolicy

        @NotNull
        public static @NotNull java.lang.Object NSRollbackMergePolicy()
        This singleton policy discards all state for the changed objects in conflict. The persistent store's version of the object is used. API-Since: 3.0
      • NSSQLiteStoreType

        @NotNull
        public static @NotNull java.lang.String NSSQLiteStoreType()
        Persistent store types supported by Core Data: API-Since: 3.0
      • NSBinaryStoreType

        @NotNull
        public static @NotNull java.lang.String NSBinaryStoreType()
        API-Since: 3.0
      • NSInMemoryStoreType

        @NotNull
        public static @NotNull java.lang.String NSInMemoryStoreType()
        API-Since: 3.0
      • NSStoreTypeKey

        @NotNull
        public static @NotNull java.lang.String NSStoreTypeKey()
        key in the metadata dictionary to identify the store type API-Since: 3.0
      • NSStoreUUIDKey

        @NotNull
        public static @NotNull java.lang.String NSStoreUUIDKey()
        key in the metadata dictionary to identify the store UUID - the store UUID is useful to identify stores through URI representations, but it is NOT guaranteed to be unique (while the UUID generated for new stores is unique, users can freely copy files and thus the UUID stored inside, so developers that track/reference stores explicitly do need to be aware of duplicate UUIDs and potentially override the UUID when a new store is added to the list of known stores in their application) API-Since: 3.0
      • NSPersistentStoreCoordinatorStoresWillChangeNotification

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreCoordinatorStoresWillChangeNotification()
        A notification posted before the list of open persistent stores changes, similar to NSPersistentStoreCoordinatorStoresDidChangeNotification. If the application is running, Core Data will post this before responding to iCloud account changes or "Delete All" from Documents & Data. API-Since: 7.0
      • NSPersistentStoreCoordinatorStoresDidChangeNotification

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreCoordinatorStoresDidChangeNotification()
        user info dictionary contains information about the stores that were added or removed API-Since: 3.0
      • NSPersistentStoreCoordinatorWillRemoveStoreNotification

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreCoordinatorWillRemoveStoreNotification()
        sent during the invocation of NSPersistentStore's willRemoveFromPersistentStoreCoordinator during store deallocation or removal API-Since: 3.0
      • NSAddedPersistentStoresKey

        @NotNull
        public static @NotNull java.lang.String NSAddedPersistentStoresKey()
        The object values for NSAddedPersistentStoresKey and NSRemovedPersistentStoresKey will be arrays containing added/removed stores API-Since: 3.0
      • NSRemovedPersistentStoresKey

        @NotNull
        public static @NotNull java.lang.String NSRemovedPersistentStoresKey()
        API-Since: 3.0
      • NSUUIDChangedPersistentStoresKey

        @NotNull
        public static @NotNull java.lang.String NSUUIDChangedPersistentStoresKey()
        The object value for NSUUIDChangedPersistentStoresKey will be an array where the object at index 0 will be the old store instance, and the object at index 1 the new API-Since: 3.0
      • NSReadOnlyPersistentStoreOption

        @NotNull
        public static @NotNull java.lang.String NSReadOnlyPersistentStoreOption()
        flag indicating whether a store is treated as read-only or not - default is NO API-Since: 3.0
      • NSPersistentStoreTimeoutOption

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreTimeoutOption()
        Options key specifying the connection timeout for Core Data stores. This value (an NSNumber) represents the duration, in seconds, Core Data will wait while attempting to create a connection to a persistent store. If a connection is unable to be made within that timeframe, the operation is aborted and an error is returned. API-Since: 3.0
      • NSSQLitePragmasOption

        @NotNull
        public static @NotNull java.lang.String NSSQLitePragmasOption()
        Options key for a dictionary of sqlite pragma settings with pragma values indexed by pragma names as keys. All pragma values must be specified as strings. The fullfsync and synchronous pragmas control the tradeoff between write performance (write to disk speed & cache utilization) and durability (data loss/corruption sensitivity to power interruption). For more information on pragma settings visit API-Since: 3.0
      • NSSQLiteAnalyzeOption

        @NotNull
        public static @NotNull java.lang.String NSSQLiteAnalyzeOption()
        Option key to run an analysis of the store data to optimize indices based on statistical information when the store is added to the coordinator. This invokes SQLite's ANALYZE command. Ignored by other stores. API-Since: 3.0
      • NSSQLiteManualVacuumOption

        @NotNull
        public static @NotNull java.lang.String NSSQLiteManualVacuumOption()
        Option key to rebuild the store file, forcing a database wide defragmentation when the store is added to the coordinator. This invokes SQLite's VACUUM command. Ignored by other stores. API-Since: 3.0
      • NSIgnorePersistentStoreVersioningOption

        @NotNull
        public static @NotNull java.lang.String NSIgnorePersistentStoreVersioningOption()
        Options key to ignore the built-in versioning provided by Core Data. If the value for this key (an NSNumber) evaluates to YES (using boolValue), Core Data will not compare the version hashes between the managed object model in the coordinator and the metadata for the loaded store. (It will, however, continue to update the version hash information in the metadata.) This key is specified by default for all applications linked on or before Mac OS X 10.4. API-Since: 3.0
      • NSMigratePersistentStoresAutomaticallyOption

        @NotNull
        public static @NotNull java.lang.String NSMigratePersistentStoresAutomaticallyOption()
        Options key to automatically attempt to migrate versioned stores. If the value for this key (an NSNumber) evaluates to YES (using boolValue) Core Data will, if the version hash information for added store is determined to be incompatible with the model for the coordinator, attempt to locate the source and mapping models in the application bundles, and perform a migration. API-Since: 3.0
      • NSInferMappingModelAutomaticallyOption

        @NotNull
        public static @NotNull java.lang.String NSInferMappingModelAutomaticallyOption()
        When combined with NSMigratePersistentStoresAutomaticallyOption, coordinator will attempt to infer a mapping model if none can be found API-Since: 3.0
      • NSStoreModelVersionHashesKey

        @NotNull
        public static @NotNull java.lang.String NSStoreModelVersionHashesKey()
        Key to represent the version hash information (dictionary) for the model used to create a persistent store. This key is used in the metadata for a persistent store. API-Since: 3.0
      • NSStoreModelVersionIdentifiersKey

        @NotNull
        public static @NotNull java.lang.String NSStoreModelVersionIdentifiersKey()
        Key to represent the version identifier for the model used to create the store. This key is used in the metadata for a persistent store. API-Since: 3.0
      • NSPersistentStoreOSCompatibility

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreOSCompatibility()
        Key to represent the earliest version of MacOS X the persistent store should support. Backward compatibility may preclude some features. The numeric values are defined in AvailabilityMacros.h API-Since: 3.0
      • NSPersistentStoreConnectionPoolMaxSizeKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreConnectionPoolMaxSizeKey()
        User info key specifying the maximum connection pool size that should be used on a store that supports concurrent request handling, the value should be an NSNumber. The connection pool size determines the number of requests a store can handle concurrently, and should be a function of how many contexts are attempting to access store data at any time. Generally, application developers should not set this, and should use the default value. The default connection pool size is implementation dependent and may vary by store type and/or platform. API-Since: 10.0
      • NSPersistentStoreForceDestroyOption

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreForceDestroyOption()
        store option for the destroy... and replace... to indicate that the store file should be destroyed even if the operation might be unsafe (overriding locks API-Since: 6.0
      • NSPersistentStoreFileProtectionKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreFileProtectionKey()
        Key to represent the protection class for the persistent store. Backward compatibility may preclude some features. The acceptable values are those defined in Foundation for the NSFileProtectionKey. The default value of NSPersistentStoreFileProtectionKey is NSFileProtectionCompleteUntilFirstUserAuthentication for all applications built on or after iOS5. The default value for all older applications is NSFileProtectionNone. API-Since: 5.0
      • NSPersistentStoreUbiquitousContentNameKey

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreUbiquitousContentNameKey()
        Deprecated.
        option indicating that a persistent store has a given name in ubiquity, this option is required for ubiquity to function API-Since: 5.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreUbiquitousContentURLKey

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreUbiquitousContentURLKey()
        Deprecated.
        option indicating the log path to use for ubiquity logs, this option is optional for ubiquity, a default path will be generated for the store if none is provided API-Since: 5.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreDidImportUbiquitousContentChangesNotification

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreDidImportUbiquitousContentChangesNotification()
        Deprecated.
        Notification sent after records are imported from the ubiquity store. The notification is sent with the object set to the NSPersistentStoreCoordinator instance which registered the store. API-Since: 5.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreUbiquitousTransitionTypeKey

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreUbiquitousTransitionTypeKey()
        Deprecated.
        In the NSPersistentStoreCoordinatorStoresWillChangeNotification / NSPersistentStoreCoordinatorStoresDidChangeNotification userInfo dictionaries, this identifies the type of event. This could be one of the NSPersistentStoreUbiquitousTransitionType enum values as an NSNumber API-Since: 7.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreUbiquitousPeerTokenOption

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreUbiquitousPeerTokenOption()
        Deprecated.
        Optionally specified string which will be mixed in to Core Data’s identifier for each iCloud peer. The value must be an alphanumeric string without any special characters, whitespace or punctuation. The primary use for this option is to allow multiple applications on the same peer (device) to share a Core Data store integrated with iCloud. Each application will require its own store file. API-Since: 7.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreRemoveUbiquitousMetadataOption

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreRemoveUbiquitousMetadataOption()
        Deprecated.
        NSNumber boolean indicating that the receiver should remove all associated ubiquity metadata from a persistent store. This is mostly used during migration or copying to disassociate a persistent store file from an iCloud account API-Since: 7.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreUbiquitousContainerIdentifierKey

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreUbiquitousContainerIdentifierKey()
        Deprecated.
        NSString specifying the iCloud container identifier Core Data should pass to -URLForUbiquitousContainerIdentifier: API-Since: 7.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSPersistentStoreRebuildFromUbiquitousContentOption

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String NSPersistentStoreRebuildFromUbiquitousContentOption()
        Deprecated.
        NSNumber boolean indicating that the receiver should erase the local store file and rebuild it from the iCloud data in Mobile Documents. API-Since: 7.0 Deprecated-Since: 10.0 Deprecated-Message: Please see the release notes and Core Data documentation.
      • NSMigrationManagerKey

        @NotNull
        public static @NotNull java.lang.String NSMigrationManagerKey()
        To access the entity migration policy keys in property mapping value expressions implemented in source code use the constants as declared. To access them in custom value expression strings in the mapping model editor in Xcode follow the syntax rules outlined in the predicate format string syntax guide and refer to them as: NSMigrationManagerKey $manager NSMigrationSourceObjectKey $source NSMigrationDestinationObjectKey $destination NSMigrationEntityMappingKey $entityMapping NSMigrationPropertyMappingKey $propertyMapping NSMigrationEntityPolicyKey $entityPolicy API-Since: 3.0
      • NSMigrationSourceObjectKey

        @NotNull
        public static @NotNull java.lang.String NSMigrationSourceObjectKey()
        API-Since: 3.0
      • NSMigrationDestinationObjectKey

        @NotNull
        public static @NotNull java.lang.String NSMigrationDestinationObjectKey()
        API-Since: 3.0
      • NSMigrationEntityMappingKey

        @NotNull
        public static @NotNull java.lang.String NSMigrationEntityMappingKey()
        API-Since: 3.0
      • NSMigrationPropertyMappingKey

        @NotNull
        public static @NotNull java.lang.String NSMigrationPropertyMappingKey()
        API-Since: 3.0
      • NSMigrationEntityPolicyKey

        @NotNull
        public static @NotNull java.lang.String NSMigrationEntityPolicyKey()
        API-Since: 3.0
      • NSCoreDataCoreSpotlightExporter

        @NotNull
        public static @NotNull java.lang.String NSCoreDataCoreSpotlightExporter()
        Spotlight indexing and external record support keys API-Since: 11.0
      • NSPersistentHistoryTrackingKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentHistoryTrackingKey()
        Dictionary key for enabling persistent history - default is NO API-Since: 11.0
      • NSBinaryStoreSecureDecodingClasses

        @NotNull
        public static @NotNull java.lang.String NSBinaryStoreSecureDecodingClasses()
        Allows developers to provide an additional set of classes (which must implement NSSecureCoding) that should be used while decoding a binary store. Using this option is preferable to using NSBinaryStoreInsecureDecodingCompatibilityOption. API-Since: 11.0
      • NSBinaryStoreInsecureDecodingCompatibilityOption

        @NotNull
        public static @NotNull java.lang.String NSBinaryStoreInsecureDecodingCompatibilityOption()
        Indicate that the binary store should be decoded insecurely. This may be necessary if a store has metadata or transformable properties containing non-standard classes. If possible, developers should use the NSBinaryStoreSecureDecodingClasses option to specify the contained classes, allowing the binary store to to be securely decoded. Applications linked before the availability date will default to using this option. API-Since: 11.0
      • NSPersistentStoreRemoteChangeNotificationPostOptionKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreRemoteChangeNotificationPostOptionKey()
        When NSPersistentStoreRemoteChangeNotificationPostOptionKey is set to YES, a NSPersistentStoreRemoteChangeNotification is posted for every write to the store, this includes writes that are done by other processes API-Since: 13.0
      • NSPersistentStoreRemoteChangeNotification

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreRemoteChangeNotification()
        NSPersistentStoreRemoteChangeNotification is posted for all cross process writes to the store The payload is the store UUID (NSStoreUUIDKey), store URL (NSPersistentStoreURLKey), and NSPersistentHistoryToken for the transaction (if NSPersistentHistoryTrackingKey was also set) API-Since: 12.0
      • NSPersistentStoreURLKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreURLKey()
        Keys found in the UserInfo for a NSPersistentStoreRemoteChangeNotification API-Since: 12.0
      • NSPersistentHistoryTokenKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentHistoryTokenKey()
        API-Since: 12.0
      • NSManagedObjectContextDidSaveObjectIDsNotification

        @NotNull
        public static @NotNull java.lang.String NSManagedObjectContextDidSaveObjectIDsNotification()
        Notification when objects in a context changed: the user info dictionary contains information about the objectIDs that changed API-Since: 10.3
      • NSManagedObjectContextDidMergeChangesObjectIDsNotification

        @NotNull
        public static @NotNull java.lang.String NSManagedObjectContextDidMergeChangesObjectIDsNotification()
        API-Since: 10.3
      • NSInsertedObjectIDsKey

        @NotNull
        public static @NotNull java.lang.String NSInsertedObjectIDsKey()
        User info keys for NSManagedObjectContextDidSaveObjectIDsNotification: the values for these keys are sets of objectIDs API-Since: 10.3
      • NSUpdatedObjectIDsKey

        @NotNull
        public static @NotNull java.lang.String NSUpdatedObjectIDsKey()
        API-Since: 10.3
      • NSDeletedObjectIDsKey

        @NotNull
        public static @NotNull java.lang.String NSDeletedObjectIDsKey()
        API-Since: 10.3
      • NSRefreshedObjectIDsKey

        @NotNull
        public static @NotNull java.lang.String NSRefreshedObjectIDsKey()
        API-Since: 10.3
      • NSInvalidatedObjectIDsKey

        @NotNull
        public static @NotNull java.lang.String NSInvalidatedObjectIDsKey()
        API-Since: 10.3
      • NSPersistentCloudKitContainerEventChangedNotification

        @NotNull
        public static @NotNull java.lang.String NSPersistentCloudKitContainerEventChangedNotification()
        API-Since: 14.0
      • NSPersistentCloudKitContainerEventUserInfoKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentCloudKitContainerEventUserInfoKey()
        API-Since: 14.0
      • NSCoreDataCoreSpotlightDelegateIndexDidUpdateNotification

        @NotNull
        public static @NotNull java.lang.String NSCoreDataCoreSpotlightDelegateIndexDidUpdateNotification()
        * When a change occurs to an entity or entities that are indexed in Spotlight * using NSCoreDataCoreSpotlightDelegate, that index is updated asynchronously. * NSCoreDataCoreSpotlightDelegate will post NSCoreDataCoreSpotlightDelegateIndexDidUpdateNotification * when the index is updated. * * This notification will have a .userInfo that contains two key-value pairs: * NSStoreUUIDKey: A NSString UUID of the store that contains the * NSCoreDataCoreSpotlightDelegate that updated its index. * NSPersistentHistoryTokenKey: The NSPersistentHistoryToken of the store that * contains the NSCoreDataCoreSpotlightDelegate that updated its index. API-Since: 14.0
      • NSPersistentStoreStagedMigrationManagerOptionKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreStagedMigrationManagerOptionKey()
        To perform a staged lightweight migration, this key must be set with an NSStagedMigrationManager. This class encapsulates developer-described NSCustomMigrationStage's and supplementary NSLightweightMigrationStage's. The NSCustomMigrationStage's will be applied in the order in which they are indexed in the .stages property at the appropriate time (when the model matches the stage model references). The stages array must contain a total ordering of all models to be applied to the store using the aforementioned sub-classes. API-Since: 17.0
      • NSPersistentStoreDeferredLightweightMigrationOptionKey

        @NotNull
        public static @NotNull java.lang.String NSPersistentStoreDeferredLightweightMigrationOptionKey()
        During a Lightweight Migration, an Entity that has a migration transformation that requires dropping a column in a table would require a copy of the old table into a new table. If NSPersistentStoreDeferredLightweightMigrationOptionKey is set to @YES, this table transformation can be delayed until the developer deems that the resources are available to perform the table transformation. Examples of Lightweight Migration Scenarios that can be delayed: An Entitiy removed Attributes/Relationships Relationships where a ForeignEntityKey is no longer needed The Persistent Store's metadata contains the key - NSPersistentStoreDeferredLightweightMigrationOptionKey - to signal to the developer that work needs to be done. The delayed table transformations can be processed by invoking finishDeferredLightweightMigration on the Persistent Store Coordinator. API-Since: 14.0