CoreData Changes for Swift
CoreData
Removed NSCocoaError.CoreDataError
Removed NSCocoaError.EntityMigrationPolicyError
Removed NSCocoaError.ExternalRecordImportError
Removed NSCocoaError.InferredMappingModelError
Removed NSCocoaError.ManagedObjectConstraintMergeError
Removed NSCocoaError.ManagedObjectContextLockingError
Removed NSCocoaError.ManagedObjectExternalRelationshipError
Removed NSCocoaError.ManagedObjectMergeError
Removed NSCocoaError.ManagedObjectReferentialIntegrityError
Removed NSCocoaError.ManagedObjectValidationError
Removed NSCocoaError.MigrationCancelledError
Removed NSCocoaError.MigrationError
Removed NSCocoaError.MigrationManagerDestinationStoreError
Removed NSCocoaError.MigrationManagerSourceStoreError
Removed NSCocoaError.MigrationMissingMappingModelError
Removed NSCocoaError.MigrationMissingSourceModelError
Removed NSCocoaError.PersistentStoreCoordinatorLockingError
Removed NSCocoaError.PersistentStoreIncompatibleSchemaError
Removed NSCocoaError.PersistentStoreIncompatibleVersionHashError
Removed NSCocoaError.PersistentStoreIncompvareSaveError
Removed NSCocoaError.PersistentStoreInvalidTypeError
Removed NSCocoaError.PersistentStoreOpenError
Removed NSCocoaError.PersistentStoreOperationError
Removed NSCocoaError.PersistentStoreSaveConflictsError
Removed NSCocoaError.PersistentStoreSaveError
Removed NSCocoaError.PersistentStoreTimeoutError
Removed NSCocoaError.PersistentStoreTypeMismatchError
Removed NSCocoaError.PersistentStoreUnsupportedRequestTypeError
Removed NSCocoaError.SQLiteError
Removed NSCocoaError.ValidationDateTooLateError
Removed NSCocoaError.ValidationDateTooSoonError
Removed NSCocoaError.ValidationInvalidDateError
Removed NSCocoaError.ValidationMissingMandatoryPropertyError
Removed NSCocoaError.ValidationMultipleErrorsError
Removed NSCocoaError.ValidationNumberTooLargeError
Removed NSCocoaError.ValidationNumberTooSmallError
Removed NSCocoaError.ValidationRelationshipDeniedDevareError
Removed NSCocoaError.ValidationRelationshipExceedsMaximumCountError
Removed NSCocoaError.ValidationRelationshipLacksMinimumCountError
Removed NSCocoaError.ValidationStringPatternMatchingError
Removed NSCocoaError.ValidationStringTooLongError
Removed NSCocoaError.ValidationStringTooShortError
Added CocoaError.coreData
Added CocoaError.coreDataError
Added CocoaError.migration
Added CocoaError.sqlite
Added CocoaError.sqliteError
Added CocoaError.validationKey
Added CocoaError.Code.coreData
Added CocoaError.Code.sqlite
Added NSFetchRequestResult
Added NSMergePolicy.error
Added NSMergePolicy.overwrite
Added NSMergePolicy.rollback
Added NSPersistentContainer
Added NSQueryGenerationToken
Modified NSAsynchronousFetchRequest
Declaration | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|
From | class NSAsynchronousFetchRequest : NSPersistentStoreRequest { var fetchRequest: NSFetchRequest { get } var completionBlock: NSPersistentStoreAsynchronousFetchResultCompletionBlock? { get } var estimatedResultCount: Int init(fetchRequest request: NSFetchRequest, completionBlock blk: NSPersistentStoreAsynchronousFetchResultCompletionBlock?) } | -- | |
To | class NSAsynchronousFetchRequest<ResultType : NSFetchRequestResult> : NSPersistentStoreRequest { var fetchRequest: NSFetchRequest<ResultType> { get } var completionBlock: CoreData.NSPersistentStoreAsynchronousFetchResultCompletionBlock? { get } var estimatedResultCount: Int init(fetchRequest request: NSFetchRequest<ResultType>, completionBlock blk: (@escaping (NSAsynchronousFetchResult<ResultType>) -> Swift.Void)? = nil) } | ResultType : NSFetchRequestResult | ResultType |
Declaration | |
---|---|
From | var completionBlock: NSPersistentStoreAsynchronousFetchResultCompletionBlock? { get } |
To | var completionBlock: CoreData.NSPersistentStoreAsynchronousFetchResultCompletionBlock? { get } |
Declaration | |
---|---|
From | var fetchRequest: NSFetchRequest { get } |
To | var fetchRequest: NSFetchRequest<ResultType> { get } |
Declaration | |
---|---|
From | init(fetchRequest request: NSFetchRequest, completionBlock blk: NSPersistentStoreAsynchronousFetchResultCompletionBlock?) |
To | init(fetchRequest request: NSFetchRequest<ResultType>, completionBlock blk: (@escaping (NSAsynchronousFetchResult<ResultType>) -> Swift.Void)? = nil) |
Modified NSAsynchronousFetchResult
Declaration | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|
From | class NSAsynchronousFetchResult : NSPersistentStoreAsynchronousResult { var fetchRequest: NSAsynchronousFetchRequest { get } var finalResult: [AnyObject]? { get } } | -- | |
To | class NSAsynchronousFetchResult<ResultType : NSFetchRequestResult> : NSPersistentStoreAsynchronousResult { var fetchRequest: NSAsynchronousFetchRequest<ResultType> { get } var finalResult: [ResultType]? { get } } | ResultType : NSFetchRequestResult | ResultType |
Declaration | |
---|---|
From | var fetchRequest: NSAsynchronousFetchRequest { get } |
To | var fetchRequest: NSAsynchronousFetchRequest<ResultType> { get } |
Declaration | |
---|---|
From | var finalResult: [AnyObject]? { get } |
To | var finalResult: [ResultType]? { get } |
Modified NSAtomicStore
Declaration | |
---|---|
From | class NSAtomicStore : NSPersistentStore { init(persistentStoreCoordinator coordinator: NSPersistentStoreCoordinator?, configurationName configurationName: String?, URL url: NSURL, options options: [NSObject : AnyObject]?) func load() throws func save() throws func newCacheNodeForManagedObject(_ managedObject: NSManagedObject) -> NSAtomicStoreCacheNode func updateCacheNode(_ node: NSAtomicStoreCacheNode, fromManagedObject managedObject: NSManagedObject) func cacheNodes() -> Set<NSAtomicStoreCacheNode> func addCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>) func willRemoveCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>) func cacheNodeForObjectID(_ objectID: NSManagedObjectID) -> NSAtomicStoreCacheNode? func objectIDForEntity(_ entity: NSEntityDescription, referenceObject data: AnyObject) -> NSManagedObjectID func newReferenceObjectForManagedObject(_ managedObject: NSManagedObject) -> AnyObject func referenceObjectForObjectID(_ objectID: NSManagedObjectID) -> AnyObject } |
To | class NSAtomicStore : NSPersistentStore { init(persistentStoreCoordinator coordinator: NSPersistentStoreCoordinator?, configurationName configurationName: String?, at url: URL, options options: [AnyHashable : Any]? = nil) func load() throws func save() throws func newCacheNode(for managedObject: NSManagedObject) -> NSAtomicStoreCacheNode func updateCacheNode(_ node: NSAtomicStoreCacheNode, from managedObject: NSManagedObject) func cacheNodes() -> Set<NSAtomicStoreCacheNode> func addCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>) func willRemoveCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>) func cacheNode(for objectID: NSManagedObjectID) -> NSAtomicStoreCacheNode? func objectID(for entity: NSEntityDescription, withReferenceObject data: Any) -> NSManagedObjectID func newReferenceObject(for managedObject: NSManagedObject) -> Any func referenceObject(for objectID: NSManagedObjectID) -> Any } |
Declaration | |
---|---|
From | func cacheNodeForObjectID(_ objectID: NSManagedObjectID) -> NSAtomicStoreCacheNode? |
To | func cacheNode(for objectID: NSManagedObjectID) -> NSAtomicStoreCacheNode? |
Declaration | |
---|---|
From | init(persistentStoreCoordinator coordinator: NSPersistentStoreCoordinator?, configurationName configurationName: String?, URL url: NSURL, options options: [NSObject : AnyObject]?) |
To | init(persistentStoreCoordinator coordinator: NSPersistentStoreCoordinator?, configurationName configurationName: String?, at url: URL, options options: [AnyHashable : Any]? = nil) |
Declaration | |
---|---|
From | func newCacheNodeForManagedObject(_ managedObject: NSManagedObject) -> NSAtomicStoreCacheNode |
To | func newCacheNode(for managedObject: NSManagedObject) -> NSAtomicStoreCacheNode |
Declaration | |
---|---|
From | func newReferenceObjectForManagedObject(_ managedObject: NSManagedObject) -> AnyObject |
To | func newReferenceObject(for managedObject: NSManagedObject) -> Any |
Modified NSAtomicStore.objectID(for: NSEntityDescription, withReferenceObject: Any) -> NSManagedObjectID
Declaration | |
---|---|
From | func objectIDForEntity(_ entity: NSEntityDescription, referenceObject data: AnyObject) -> NSManagedObjectID |
To | func objectID(for entity: NSEntityDescription, withReferenceObject data: Any) -> NSManagedObjectID |
Declaration | |
---|---|
From | func referenceObjectForObjectID(_ objectID: NSManagedObjectID) -> AnyObject |
To | func referenceObject(for objectID: NSManagedObjectID) -> Any |
Declaration | |
---|---|
From | func updateCacheNode(_ node: NSAtomicStoreCacheNode, fromManagedObject managedObject: NSManagedObject) |
To | func updateCacheNode(_ node: NSAtomicStoreCacheNode, from managedObject: NSManagedObject) |
Modified NSAtomicStoreCacheNode
Declaration | Protocols | |
---|---|---|
From | class NSAtomicStoreCacheNode : NSObject { init(objectID moid: NSManagedObjectID) var objectID: NSManagedObjectID { get } var propertyCache: NSMutableDictionary? func valueForKey(_ key: String) -> AnyObject? func setValue(_ value: AnyObject?, forKey key: String) } | -- |
To | class NSAtomicStoreCacheNode : NSObject { init(objectID moid: NSManagedObjectID) var objectID: NSManagedObjectID { get } var propertyCache: NSMutableDictionary? func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSAtomicStoreCacheNode : CVarArg { } extension NSAtomicStoreCacheNode : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
Declaration | |
---|---|
From | func valueForKey(_ key: String) -> AnyObject? |
To | func value(forKey key: String) -> Any? |
Modified NSAttributeDescription
Declaration | |
---|---|
From | class NSAttributeDescription : NSPropertyDescription { var attributeType: NSAttributeType var attributeValueClassName: String? var defaultValue: AnyObject? @NSCopying var versionHash: NSData { get } var valueTransformerName: String? var allowsExternalBinaryDataStorage: Bool } |
To | class NSAttributeDescription : NSPropertyDescription { var attributeType: NSAttributeType var attributeValueClassName: String? var defaultValue: Any? var versionHash: Data { get } var valueTransformerName: String? var allowsExternalBinaryDataStorage: Bool } |
Modified NSAttributeDescription.defaultValue
Declaration | |
---|---|
From | var defaultValue: AnyObject? |
To | var defaultValue: Any? |
Modified NSAttributeDescription.versionHash
Declaration | |
---|---|
From | @NSCopying var versionHash: NSData { get } |
To | var versionHash: Data { get } |
Modified NSAttributeType [enum]
Declaration | |
---|---|
From | enum NSAttributeType : UInt { case UndefinedAttributeType case Integer16AttributeType case Integer32AttributeType case Integer64AttributeType case DecimalAttributeType case DoubleAttributeType case FloatAttributeType case StringAttributeType case BooleanAttributeType case DateAttributeType case BinaryDataAttributeType case TransformableAttributeType case ObjectIDAttributeType } |
To | enum NSAttributeType : UInt { case undefinedAttributeType case integer16AttributeType case integer32AttributeType case integer64AttributeType case decimalAttributeType case doubleAttributeType case floatAttributeType case stringAttributeType case booleanAttributeType case dateAttributeType case binaryDataAttributeType case transformableAttributeType case objectIDAttributeType } |
Declaration | |
---|---|
From | case BinaryDataAttributeType |
To | case binaryDataAttributeType |
Modified NSAttributeType.booleanAttributeType
Declaration | |
---|---|
From | case BooleanAttributeType |
To | case booleanAttributeType |
Modified NSAttributeType.dateAttributeType
Declaration | |
---|---|
From | case DateAttributeType |
To | case dateAttributeType |
Modified NSAttributeType.decimalAttributeType
Declaration | |
---|---|
From | case DecimalAttributeType |
To | case decimalAttributeType |
Modified NSAttributeType.doubleAttributeType
Declaration | |
---|---|
From | case DoubleAttributeType |
To | case doubleAttributeType |
Modified NSAttributeType.floatAttributeType
Declaration | |
---|---|
From | case FloatAttributeType |
To | case floatAttributeType |
Declaration | |
---|---|
From | case Integer16AttributeType |
To | case integer16AttributeType |
Declaration | |
---|---|
From | case Integer32AttributeType |
To | case integer32AttributeType |
Declaration | |
---|---|
From | case Integer64AttributeType |
To | case integer64AttributeType |
Declaration | |
---|---|
From | case ObjectIDAttributeType |
To | case objectIDAttributeType |
Modified NSAttributeType.stringAttributeType
Declaration | |
---|---|
From | case StringAttributeType |
To | case stringAttributeType |
Declaration | |
---|---|
From | case TransformableAttributeType |
To | case transformableAttributeType |
Declaration | |
---|---|
From | case UndefinedAttributeType |
To | case undefinedAttributeType |
Modified NSBatchDeleteRequest
Declaration | |
---|---|
From | class NSBatchDeleteRequest : NSPersistentStoreRequest { convenience init() init(fetchRequest fetch: NSFetchRequest) convenience init(objectIDs objects: [NSManagedObjectID]) var resultType: NSBatchDeleteRequestResultType @NSCopying var fetchRequest: NSFetchRequest { get } } |
To | class NSBatchDeleteRequest : NSPersistentStoreRequest { convenience init() init(fetchRequest fetch: NSFetchRequest<NSFetchRequestResult>) convenience init(objectIDs objects: [NSManagedObjectID]) var resultType: NSBatchDeleteRequestResultType @NSCopying var fetchRequest: NSFetchRequest<NSFetchRequestResult> { get } } |
Modified NSBatchDeleteRequest.fetchRequest
Declaration | |
---|---|
From | @NSCopying var fetchRequest: NSFetchRequest { get } |
To | @NSCopying var fetchRequest: NSFetchRequest<NSFetchRequestResult> { get } |
Declaration | |
---|---|
From | init(fetchRequest fetch: NSFetchRequest) |
To | init(fetchRequest fetch: NSFetchRequest<NSFetchRequestResult>) |
Declaration | |
---|---|
From | enum NSBatchDeleteRequestResultType : UInt { case ResultTypeStatusOnly case ResultTypeObjectIDs case ResultTypeCount } |
To | enum NSBatchDeleteRequestResultType : UInt { case resultTypeStatusOnly case resultTypeObjectIDs case resultTypeCount } |
Declaration | |
---|---|
From | case ResultTypeCount |
To | case resultTypeCount |
Declaration | |
---|---|
From | case ResultTypeObjectIDs |
To | case resultTypeObjectIDs |
Declaration | |
---|---|
From | case ResultTypeStatusOnly |
To | case resultTypeStatusOnly |
Modified NSBatchDeleteResult
Declaration | |
---|---|
From | class NSBatchDeleteResult : NSPersistentStoreResult { var result: AnyObject? { get } var resultType: NSBatchDeleteRequestResultType { get } } |
To | class NSBatchDeleteResult : NSPersistentStoreResult { var result: Any? { get } var resultType: NSBatchDeleteRequestResultType { get } } |
Modified NSBatchDeleteResult.result
Declaration | |
---|---|
From | var result: AnyObject? { get } |
To | var result: Any? { get } |
Modified NSBatchUpdateRequest
Declaration | |
---|---|
From | class NSBatchUpdateRequest : NSPersistentStoreRequest { convenience init(entityName entityName: String) class func batchUpdateRequestWithEntityName(_ entityName: String) -> Self init(entityName entityName: String) init(entity entity: NSEntityDescription) var entityName: String { get } var entity: NSEntityDescription { get } var predicate: NSPredicate? var includesSubentities: Bool var resultType: NSBatchUpdateRequestResultType var propertiesToUpdate: [NSObject : AnyObject]? } |
To | class NSBatchUpdateRequest : NSPersistentStoreRequest { convenience init(entityName entityName: String) class func withEntityName(_ entityName: String) -> Self init(entityName entityName: String) init(entity entity: NSEntityDescription) var entityName: String { get } var entity: NSEntityDescription { get } var predicate: NSPredicate? var includesSubentities: Bool var resultType: NSBatchUpdateRequestResultType var propertiesToUpdate: [AnyHashable : Any]? } |
Declaration | |
---|---|
From | var propertiesToUpdate: [NSObject : AnyObject]? |
To | var propertiesToUpdate: [AnyHashable : Any]? |
Declaration | |
---|---|
From | enum NSBatchUpdateRequestResultType : UInt { case StatusOnlyResultType case UpdatedObjectIDsResultType case UpdatedObjectsCountResultType } |
To | enum NSBatchUpdateRequestResultType : UInt { case statusOnlyResultType case updatedObjectIDsResultType case updatedObjectsCountResultType } |
Declaration | |
---|---|
From | case StatusOnlyResultType |
To | case statusOnlyResultType |
Declaration | |
---|---|
From | case UpdatedObjectIDsResultType |
To | case updatedObjectIDsResultType |
Declaration | |
---|---|
From | case UpdatedObjectsCountResultType |
To | case updatedObjectsCountResultType |
Modified NSBatchUpdateResult
Declaration | |
---|---|
From | class NSBatchUpdateResult : NSPersistentStoreResult { var result: AnyObject? { get } var resultType: NSBatchUpdateRequestResultType { get } } |
To | class NSBatchUpdateResult : NSPersistentStoreResult { var result: Any? { get } var resultType: NSBatchUpdateRequestResultType { get } } |
Modified NSBatchUpdateResult.result
Declaration | |
---|---|
From | var result: AnyObject? { get } |
To | var result: Any? { get } |
Modified NSConstraintConflict
Declaration | Protocols | |
---|---|---|
From | class NSConstraintConflict : NSObject { var constraint: [String] { get } var constraintValues: [String : AnyObject] { get } var databaseObject: NSManagedObject? { get } var databaseSnapshot: [String : AnyObject]? { get } var conflictingObjects: [NSManagedObject] { get } var conflictingSnapshots: [[NSObject : AnyObject]] { get } init(constraint contraint: [String], databaseObject databaseObject: NSManagedObject?, databaseSnapshot databaseSnapshot: [NSObject : AnyObject]?, conflictingObjects conflictingObjects: [NSManagedObject], conflictingSnapshots conflictingSnapshots: [AnyObject]) } | -- |
To | class NSConstraintConflict : NSObject { var constraint: [String] { get } var constraintValues: [String : Any] { get } var databaseObject: NSManagedObject? { get } var databaseSnapshot: [String : Any]? { get } var conflictingObjects: [NSManagedObject] { get } var conflictingSnapshots: [[AnyHashable : Any]] { get } init(constraint contraint: [String], database databaseObject: NSManagedObject?, databaseSnapshot databaseSnapshot: [AnyHashable : Any]?, conflicting conflictingObjects: [NSManagedObject], conflictingSnapshots conflictingSnapshots: [Any]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSConstraintConflict : CVarArg { } extension NSConstraintConflict : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var conflictingSnapshots: [[NSObject : AnyObject]] { get } |
To | var conflictingSnapshots: [[AnyHashable : Any]] { get } |
Declaration | |
---|---|
From | var constraintValues: [String : AnyObject] { get } |
To | var constraintValues: [String : Any] { get } |
Declaration | |
---|---|
From | var databaseSnapshot: [String : AnyObject]? { get } |
To | var databaseSnapshot: [String : Any]? { get } |
Declaration | |
---|---|
From | init(constraint contraint: [String], databaseObject databaseObject: NSManagedObject?, databaseSnapshot databaseSnapshot: [NSObject : AnyObject]?, conflictingObjects conflictingObjects: [NSManagedObject], conflictingSnapshots conflictingSnapshots: [AnyObject]) |
To | init(constraint contraint: [String], database databaseObject: NSManagedObject?, databaseSnapshot databaseSnapshot: [AnyHashable : Any]?, conflicting conflictingObjects: [NSManagedObject], conflictingSnapshots conflictingSnapshots: [Any]) |
Modified NSDeleteRule [enum]
Declaration | |
---|---|
From | enum NSDeleteRule : UInt { case NoActionDeleteRule case NullifyDeleteRule case CascadeDeleteRule case DenyDeleteRule } |
To | enum NSDeleteRule : UInt { case noActionDeleteRule case nullifyDeleteRule case cascadeDeleteRule case denyDeleteRule } |
Modified NSDeleteRule.cascadeDeleteRule
Declaration | |
---|---|
From | case CascadeDeleteRule |
To | case cascadeDeleteRule |
Modified NSDeleteRule.denyDeleteRule
Declaration | |
---|---|
From | case DenyDeleteRule |
To | case denyDeleteRule |
Modified NSDeleteRule.noActionDeleteRule
Declaration | |
---|---|
From | case NoActionDeleteRule |
To | case noActionDeleteRule |
Modified NSDeleteRule.nullifyDeleteRule
Declaration | |
---|---|
From | case NullifyDeleteRule |
To | case nullifyDeleteRule |
Modified NSEntityDescription
Declaration | Protocols | |
---|---|---|
From | class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration { class func entityForName(_ entityName: String, inManagedObjectContext context: NSManagedObjectContext) -> NSEntityDescription? class func insertNewObjectForEntityForName(_ entityName: String, inManagedObjectContext context: NSManagedObjectContext) -> NSManagedObject unowned(unsafe) var managedObjectModel: NSManagedObjectModel { get } var managedObjectClassName: String! var name: String? var abstract: Bool var subentitiesByName: [String : NSEntityDescription] { get } var subentities: [NSEntityDescription] unowned(unsafe) var superentity: NSEntityDescription? { get } var propertiesByName: [String : NSPropertyDescription] { get } var properties: [NSPropertyDescription] var userInfo: [NSObject : AnyObject]? var attributesByName: [String : NSAttributeDescription] { get } var relationshipsByName: [String : NSRelationshipDescription] { get } func relationshipsWithDestinationEntity(_ entity: NSEntityDescription) -> [NSRelationshipDescription] func isKindOfEntity(_ entity: NSEntityDescription) -> Bool @NSCopying var versionHash: NSData { get } var versionHashModifier: String? var renamingIdentifier: String? var compoundIndexes: [[AnyObject]] var uniquenessConstraints: [[AnyObject]] } | NSCoding, NSCopying, NSFastEnumeration |
To | class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration { class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription? class func insertNewObject(forEntityName entityName: String, into context: NSManagedObjectContext) -> NSManagedObject unowned(unsafe) var managedObjectModel: NSManagedObjectModel { get } var managedObjectClassName: String! var name: String? var isAbstract: Bool var subentitiesByName: [String : NSEntityDescription] { get } var subentities: [NSEntityDescription] unowned(unsafe) var superentity: NSEntityDescription? { get } var propertiesByName: [String : NSPropertyDescription] { get } var properties: [NSPropertyDescription] var userInfo: [AnyHashable : Any]? var attributesByName: [String : NSAttributeDescription] { get } var relationshipsByName: [String : NSRelationshipDescription] { get } func relationships(forDestination entity: NSEntityDescription) -> [NSRelationshipDescription] func isKindOf(entity entity: NSEntityDescription) -> Bool var versionHash: Data { get } var versionHashModifier: String? var renamingIdentifier: String? var compoundIndexes: [[Any]] var uniquenessConstraints: [[Any]] func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSEntityDescription : CVarArg { } extension NSEntityDescription : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSFastEnumeration |
Modified NSEntityDescription.compoundIndexes
Declaration | |
---|---|
From | var compoundIndexes: [[AnyObject]] |
To | var compoundIndexes: [[Any]] |
Declaration | |
---|---|
From | class func entityForName(_ entityName: String, inManagedObjectContext context: NSManagedObjectContext) -> NSEntityDescription? |
To | class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription? |
Declaration | |
---|---|
From | class func insertNewObjectForEntityForName(_ entityName: String, inManagedObjectContext context: NSManagedObjectContext) -> NSManagedObject |
To | class func insertNewObject(forEntityName entityName: String, into context: NSManagedObjectContext) -> NSManagedObject |
Modified NSEntityDescription.isAbstract
Declaration | |
---|---|
From | var abstract: Bool |
To | var isAbstract: Bool |
Declaration | |
---|---|
From | func isKindOfEntity(_ entity: NSEntityDescription) -> Bool |
To | func isKindOf(entity entity: NSEntityDescription) -> Bool |
Declaration | |
---|---|
From | func relationshipsWithDestinationEntity(_ entity: NSEntityDescription) -> [NSRelationshipDescription] |
To | func relationships(forDestination entity: NSEntityDescription) -> [NSRelationshipDescription] |
Declaration | |
---|---|
From | var uniquenessConstraints: [[AnyObject]] |
To | var uniquenessConstraints: [[Any]] |
Modified NSEntityDescription.userInfo
Declaration | |
---|---|
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
Modified NSEntityDescription.versionHash
Declaration | |
---|---|
From | @NSCopying var versionHash: NSData { get } |
To | var versionHash: Data { get } |
Modified NSEntityMapping
Declaration | Protocols | |
---|---|---|
From | class NSEntityMapping : NSObject { var name: String! var mappingType: NSEntityMappingType var sourceEntityName: String? @NSCopying var sourceEntityVersionHash: NSData? var destinationEntityName: String? @NSCopying var destinationEntityVersionHash: NSData? var attributeMappings: [NSPropertyMapping]? var relationshipMappings: [NSPropertyMapping]? var sourceExpression: NSExpression? var userInfo: [NSObject : AnyObject]? var entityMigrationPolicyClassName: String? } | -- |
To | class NSEntityMapping : NSObject { var name: String! var mappingType: NSEntityMappingType var sourceEntityName: String? var sourceEntityVersionHash: Data? var destinationEntityName: String? var destinationEntityVersionHash: Data? var attributeMappings: [NSPropertyMapping]? var relationshipMappings: [NSPropertyMapping]? var sourceExpression: NSExpression? var userInfo: [AnyHashable : Any]? var entityMigrationPolicyClassName: String? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSEntityMapping : CVarArg { } extension NSEntityMapping : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | @NSCopying var destinationEntityVersionHash: NSData? |
To | var destinationEntityVersionHash: Data? |
Declaration | |
---|---|
From | @NSCopying var sourceEntityVersionHash: NSData? |
To | var sourceEntityVersionHash: Data? |
Modified NSEntityMapping.userInfo
Declaration | |
---|---|
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
Modified NSEntityMappingType [enum]
Declaration | |
---|---|
From | enum NSEntityMappingType : UInt { case UndefinedEntityMappingType case CustomEntityMappingType case AddEntityMappingType case RemoveEntityMappingType case CopyEntityMappingType case TransformEntityMappingType } |
To | enum NSEntityMappingType : UInt { case undefinedEntityMappingType case customEntityMappingType case addEntityMappingType case removeEntityMappingType case copyEntityMappingType case transformEntityMappingType } |
Declaration | |
---|---|
From | case AddEntityMappingType |
To | case addEntityMappingType |
Declaration | |
---|---|
From | case CopyEntityMappingType |
To | case copyEntityMappingType |
Declaration | |
---|---|
From | case CustomEntityMappingType |
To | case customEntityMappingType |
Declaration | |
---|---|
From | case RemoveEntityMappingType |
To | case removeEntityMappingType |
Declaration | |
---|---|
From | case TransformEntityMappingType |
To | case transformEntityMappingType |
Declaration | |
---|---|
From | case UndefinedEntityMappingType |
To | case undefinedEntityMappingType |
Modified NSEntityMigrationPolicy
Declaration | Protocols | |
---|---|---|
From | class NSEntityMigrationPolicy : NSObject { func beginEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func createDestinationInstancesForSourceInstance(_ sInstance: NSManagedObject, entityMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func endInstanceCreationForEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func createRelationshipsForDestinationInstance(_ dInstance: NSManagedObject, entityMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func endRelationshipCreationForEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func performCustomValidationForEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func endEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws } | -- |
To | class NSEntityMigrationPolicy : NSObject { func begin(_ mapping: NSEntityMapping, with manager: NSMigrationManager) throws func createDestinationInstances(forSource sInstance: NSManagedObject, in mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func endInstanceCreation(forMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func createRelationships(forDestination dInstance: NSManagedObject, in mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func endRelationshipCreation(forMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func performCustomValidation(forMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func end(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSEntityMigrationPolicy : CVarArg { } extension NSEntityMigrationPolicy : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func beginEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func begin(_ mapping: NSEntityMapping, with manager: NSMigrationManager) throws |
Declaration | |
---|---|
From | func createDestinationInstancesForSourceInstance(_ sInstance: NSManagedObject, entityMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func createDestinationInstances(forSource sInstance: NSManagedObject, in mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
Declaration | |
---|---|
From | func createRelationshipsForDestinationInstance(_ dInstance: NSManagedObject, entityMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func createRelationships(forDestination dInstance: NSManagedObject, in mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
Declaration | |
---|---|
From | func endEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func end(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
Declaration | |
---|---|
From | func endInstanceCreationForEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func endInstanceCreation(forMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
Declaration | |
---|---|
From | func endRelationshipCreationForEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func endRelationshipCreation(forMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
Declaration | |
---|---|
From | func performCustomValidationForEntityMapping(_ mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
To | func performCustomValidation(forMapping mapping: NSEntityMapping, manager manager: NSMigrationManager) throws |
Modified NSFetchedPropertyDescription
Declaration | |
---|---|
From | class NSFetchedPropertyDescription : NSPropertyDescription { var fetchRequest: NSFetchRequest? } |
To | class NSFetchedPropertyDescription : NSPropertyDescription { var fetchRequest: NSFetchRequest<NSFetchRequestResult>? } |
Declaration | |
---|---|
From | var fetchRequest: NSFetchRequest? |
To | var fetchRequest: NSFetchRequest<NSFetchRequestResult>? |
Modified NSFetchedResultsChangeType [enum]
Declaration | |
---|---|
From | enum NSFetchedResultsChangeType : UInt { case Insert case Delete case Move case Update } |
To | enum NSFetchedResultsChangeType : UInt { case insert case delete case move case update } |
Modified NSFetchedResultsChangeType.delete
Declaration | |
---|---|
From | case Delete |
To | case delete |
Modified NSFetchedResultsChangeType.insert
Declaration | |
---|---|
From | case Insert |
To | case insert |
Modified NSFetchedResultsChangeType.move
Declaration | |
---|---|
From | case Move |
To | case move |
Modified NSFetchedResultsChangeType.update
Declaration | |
---|---|
From | case Update |
To | case update |
Modified NSFetchedResultsController
Declaration | Protocols | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|---|
From | class NSFetchedResultsController : NSObject { init(fetchRequest fetchRequest: NSFetchRequest, managedObjectContext context: NSManagedObjectContext, sectionNameKeyPath sectionNameKeyPath: String?, cacheName name: String?) func performFetch() throws var fetchRequest: NSFetchRequest { get } var managedObjectContext: NSManagedObjectContext { get } var sectionNameKeyPath: String? { get } var cacheName: String? { get } unowned(unsafe) var delegate: NSFetchedResultsControllerDelegate? class func deleteCacheWithName(_ name: String?) var fetchedObjects: [AnyObject]? { get } func objectAtIndexPath(_ indexPath: NSIndexPath) -> AnyObject func indexPathForObject(_ object: AnyObject) -> NSIndexPath? func sectionIndexTitleForSectionName(_ sectionName: String) -> String? var sectionIndexTitles: [String] { get } var sections: [NSFetchedResultsSectionInfo]? { get } func sectionForSectionIndexTitle(_ title: String, atIndex sectionIndex: Int) -> Int } | -- | -- | |
To | class NSFetchedResultsController<ResultType : NSFetchRequestResult> : NSObject { init(fetchRequest fetchRequest: NSFetchRequest<ResultType>, managedObjectContext context: NSManagedObjectContext, sectionNameKeyPath sectionNameKeyPath: String?, cacheName name: String?) func performFetch() throws var fetchRequest: NSFetchRequest<ResultType> { get } var managedObjectContext: NSManagedObjectContext { get } var sectionNameKeyPath: String? { get } var cacheName: String? { get } unowned(unsafe) var delegate: NSFetchedResultsControllerDelegate? class func deleteCache(withName name: String?) var fetchedObjects: [ResultType]? { get } func object(at indexPath: IndexPath) -> ResultType func indexPath(forObject object: ResultType) -> IndexPath? func sectionIndexTitle(forSectionName sectionName: String) -> String? var sectionIndexTitles: [String] { get } var sections: [NSFetchedResultsSectionInfo]? { get } func section(forSectionIndexTitle title: String, at sectionIndex: Int) -> Int func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSFetchedResultsController : CVarArg { } extension NSFetchedResultsController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | ResultType : NSFetchRequestResult | ResultType |
Declaration | |
---|---|
From | class func deleteCacheWithName(_ name: String?) |
To | class func deleteCache(withName name: String?) |
Declaration | |
---|---|
From | var fetchedObjects: [AnyObject]? { get } |
To | var fetchedObjects: [ResultType]? { get } |
Declaration | |
---|---|
From | var fetchRequest: NSFetchRequest { get } |
To | var fetchRequest: NSFetchRequest<ResultType> { get } |
Declaration | |
---|---|
From | func indexPathForObject(_ object: AnyObject) -> NSIndexPath? |
To | func indexPath(forObject object: ResultType) -> IndexPath? |
Declaration | |
---|---|
From | init(fetchRequest fetchRequest: NSFetchRequest, managedObjectContext context: NSManagedObjectContext, sectionNameKeyPath sectionNameKeyPath: String?, cacheName name: String?) |
To | init(fetchRequest fetchRequest: NSFetchRequest<ResultType>, managedObjectContext context: NSManagedObjectContext, sectionNameKeyPath sectionNameKeyPath: String?, cacheName name: String?) |
Declaration | |
---|---|
From | func objectAtIndexPath(_ indexPath: NSIndexPath) -> AnyObject |
To | func object(at indexPath: IndexPath) -> ResultType |
Declaration | |
---|---|
From | func sectionForSectionIndexTitle(_ title: String, atIndex sectionIndex: Int) -> Int |
To | func section(forSectionIndexTitle title: String, at sectionIndex: Int) -> Int |
Declaration | |
---|---|
From | func sectionIndexTitleForSectionName(_ sectionName: String) -> String? |
To | func sectionIndexTitle(forSectionName sectionName: String) -> String? |
Modified NSFetchedResultsControllerDelegate
Declaration | |
---|---|
From | protocol NSFetchedResultsControllerDelegate : NSObjectProtocol { optional func controller(_ controller: NSFetchedResultsController, didChangeObject anObject: AnyObject, atIndexPath indexPath: NSIndexPath?, forChangeType type: NSFetchedResultsChangeType, newIndexPath newIndexPath: NSIndexPath?) optional func controller(_ controller: NSFetchedResultsController, didChangeSection sectionInfo: NSFetchedResultsSectionInfo, atIndex sectionIndex: Int, forChangeType type: NSFetchedResultsChangeType) optional func controllerWillChangeContent(_ controller: NSFetchedResultsController) optional func controllerDidChangeContent(_ controller: NSFetchedResultsController) optional func controller(_ controller: NSFetchedResultsController, sectionIndexTitleForSectionName sectionName: String) -> String? } |
To | protocol NSFetchedResultsControllerDelegate : NSObjectProtocol { optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath newIndexPath: IndexPath?) optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange sectionInfo: NSFetchedResultsSectionInfo, atSectionIndex sectionIndex: Int, for type: NSFetchedResultsChangeType) optional func controllerWillChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) optional func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, sectionIndexTitleForSectionName sectionName: String) -> String? } |
Declaration | |
---|---|
From | optional func controller(_ controller: NSFetchedResultsController, didChangeObject anObject: AnyObject, atIndexPath indexPath: NSIndexPath?, forChangeType type: NSFetchedResultsChangeType, newIndexPath newIndexPath: NSIndexPath?) |
To | optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath newIndexPath: IndexPath?) |
Declaration | |
---|---|
From | optional func controller(_ controller: NSFetchedResultsController, didChangeSection sectionInfo: NSFetchedResultsSectionInfo, atIndex sectionIndex: Int, forChangeType type: NSFetchedResultsChangeType) |
To | optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange sectionInfo: NSFetchedResultsSectionInfo, atSectionIndex sectionIndex: Int, for type: NSFetchedResultsChangeType) |
Declaration | |
---|---|
From | optional func controller(_ controller: NSFetchedResultsController, sectionIndexTitleForSectionName sectionName: String) -> String? |
To | optional func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, sectionIndexTitleForSectionName sectionName: String) -> String? |
Declaration | |
---|---|
From | optional func controllerDidChangeContent(_ controller: NSFetchedResultsController) |
To | optional func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) |
Declaration | |
---|---|
From | optional func controllerWillChangeContent(_ controller: NSFetchedResultsController) |
To | optional func controllerWillChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) |
Modified NSFetchedResultsSectionInfo
Declaration | |
---|---|
From | protocol NSFetchedResultsSectionInfo { var name: String { get } var indexTitle: String? { get } var numberOfObjects: Int { get } var objects: [AnyObject]? { get } } |
To | protocol NSFetchedResultsSectionInfo { var name: String { get } var indexTitle: String? { get } var numberOfObjects: Int { get } var objects: [Any]? { get } } |
Modified NSFetchedResultsSectionInfo.objects
Declaration | |
---|---|
From | var objects: [AnyObject]? { get } |
To | var objects: [Any]? { get } |
Modified NSFetchRequest
Declaration | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|
From | class NSFetchRequest : NSPersistentStoreRequest, NSCoding { convenience init(entityName entityName: String) class func fetchRequestWithEntityName(_ entityName: String) -> Self init() convenience init(entityName entityName: String) var entity: NSEntityDescription? var entityName: String? { get } var predicate: NSPredicate? var sortDescriptors: [NSSortDescriptor]? var fetchLimit: Int var affectedStores: [NSPersistentStore]? var resultType: NSFetchRequestResultType var includesSubentities: Bool var includesPropertyValues: Bool var returnsObjectsAsFaults: Bool var relationshipKeyPathsForPrefetching: [String]? var includesPendingChanges: Bool var returnsDistinctResults: Bool var propertiesToFetch: [AnyObject]? var fetchOffset: Int var fetchBatchSize: Int var shouldRefreshRefetchedObjects: Bool var propertiesToGroupBy: [AnyObject]? var havingPredicate: NSPredicate? } | -- | |
To | class NSFetchRequest<ResultType : NSFetchRequestResult> : NSPersistentStoreRequest, NSCoding { convenience init(entityName entityName: String) class func withEntityName(_ entityName: String) -> Self init() convenience init(entityName entityName: String) func execute() throws -> [ResultType] var entity: NSEntityDescription? var entityName: String? { get } var predicate: NSPredicate? var sortDescriptors: [NSSortDescriptor]? var fetchLimit: Int var affectedStores: [NSPersistentStore]? var resultType: NSFetchRequestResultType var includesSubentities: Bool var includesPropertyValues: Bool var returnsObjectsAsFaults: Bool var relationshipKeyPathsForPrefetching: [String]? var includesPendingChanges: Bool var returnsDistinctResults: Bool var propertiesToFetch: [Any]? var fetchOffset: Int var fetchBatchSize: Int var shouldRefreshRefetchedObjects: Bool var propertiesToGroupBy: [Any]? var havingPredicate: NSPredicate? } | ResultType : NSFetchRequestResult | ResultType |
Modified NSFetchRequest.propertiesToFetch
Declaration | |
---|---|
From | var propertiesToFetch: [AnyObject]? |
To | var propertiesToFetch: [Any]? |
Modified NSFetchRequest.propertiesToGroupBy
Declaration | |
---|---|
From | var propertiesToGroupBy: [AnyObject]? |
To | var propertiesToGroupBy: [Any]? |
Modified NSFetchRequestExpression
Declaration | Protocols | |
---|---|---|
From | class NSFetchRequestExpression : NSExpression { class func expressionForFetch(_ fetch: NSExpression, context context: NSExpression, countOnly countFlag: Bool) -> NSExpression var requestExpression: NSExpression { get } var contextExpression: NSExpression { get } var countOnlyRequest: Bool { get } } | -- |
To | class NSFetchRequestExpression : NSExpression { class func expression(forFetch fetch: NSExpression, context context: NSExpression, countOnly countFlag: Bool) -> NSExpression var requestExpression: NSExpression { get } var contextExpression: NSExpression { get } var isCountOnlyRequest: Bool { get } convenience init(format expressionFormat: String, _ args: CVarArg...) enum ExpressionType : UInt { case constantValue case evaluatedObject case variable case keyPath case function case unionSet case intersectSet case minusSet case subquery case aggregate case anyKey case block case conditional } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSFetchRequestExpression : CVarArg { } extension NSFetchRequestExpression : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func expressionForFetch(_ fetch: NSExpression, context context: NSExpression, countOnly countFlag: Bool) -> NSExpression |
To | class func expression(forFetch fetch: NSExpression, context context: NSExpression, countOnly countFlag: Bool) -> NSExpression |
Declaration | |
---|---|
From | var countOnlyRequest: Bool { get } |
To | var isCountOnlyRequest: Bool { get } |
Modified NSFetchRequestResultType [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSFetchRequestResultType : OptionSetType { init(rawValue rawValue: UInt) static var ManagedObjectResultType: NSFetchRequestResultType { get } static var ManagedObjectIDResultType: NSFetchRequestResultType { get } static var DictionaryResultType: NSFetchRequestResultType { get } static var CountResultType: NSFetchRequestResultType { get } } | OptionSetType |
To | struct NSFetchRequestResultType : OptionSet { init(rawValue rawValue: UInt) static var managedObjectResultType: NSFetchRequestResultType { get } static var managedObjectIDResultType: NSFetchRequestResultType { get } static var dictionaryResultType: NSFetchRequestResultType { get } static var countResultType: NSFetchRequestResultType { get } func intersect(_ other: NSFetchRequestResultType) -> NSFetchRequestResultType func exclusiveOr(_ other: NSFetchRequestResultType) -> NSFetchRequestResultType mutating func unionInPlace(_ other: NSFetchRequestResultType) mutating func intersectInPlace(_ other: NSFetchRequestResultType) mutating func exclusiveOrInPlace(_ other: NSFetchRequestResultType) func isSubsetOf(_ other: NSFetchRequestResultType) -> Bool func isDisjointWith(_ other: NSFetchRequestResultType) -> Bool func isSupersetOf(_ other: NSFetchRequestResultType) -> Bool mutating func subtractInPlace(_ other: NSFetchRequestResultType) func isStrictSupersetOf(_ other: NSFetchRequestResultType) -> Bool func isStrictSubsetOf(_ other: NSFetchRequestResultType) -> Bool } extension NSFetchRequestResultType { func union(_ other: NSFetchRequestResultType) -> NSFetchRequestResultType func intersection(_ other: NSFetchRequestResultType) -> NSFetchRequestResultType func symmetricDifference(_ other: NSFetchRequestResultType) -> NSFetchRequestResultType } extension NSFetchRequestResultType { func contains(_ member: NSFetchRequestResultType) -> Bool mutating func insert(_ newMember: NSFetchRequestResultType) -> (inserted: Bool, memberAfterInsert: NSFetchRequestResultType) mutating func remove(_ member: NSFetchRequestResultType) -> NSFetchRequestResultType? mutating func update(with newMember: NSFetchRequestResultType) -> NSFetchRequestResultType? } extension NSFetchRequestResultType { convenience init() mutating func formUnion(_ other: NSFetchRequestResultType) mutating func formIntersection(_ other: NSFetchRequestResultType) mutating func formSymmetricDifference(_ other: NSFetchRequestResultType) } extension NSFetchRequestResultType { convenience init<S : Sequence where S.Iterator.Element == NSFetchRequestResultType>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSFetchRequestResultType...) mutating func subtract(_ other: NSFetchRequestResultType) func isSubset(of other: NSFetchRequestResultType) -> Bool func isSuperset(of other: NSFetchRequestResultType) -> Bool func isDisjoint(with other: NSFetchRequestResultType) -> Bool func subtracting(_ other: NSFetchRequestResultType) -> NSFetchRequestResultType var isEmpty: Bool { get } func isStrictSuperset(of other: NSFetchRequestResultType) -> Bool func isStrictSubset(of other: NSFetchRequestResultType) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var CountResultType: NSFetchRequestResultType { get } |
To | static var countResultType: NSFetchRequestResultType { get } |
Declaration | |
---|---|
From | static var DictionaryResultType: NSFetchRequestResultType { get } |
To | static var dictionaryResultType: NSFetchRequestResultType { get } |
Declaration | |
---|---|
From | static var ManagedObjectIDResultType: NSFetchRequestResultType { get } |
To | static var managedObjectIDResultType: NSFetchRequestResultType { get } |
Declaration | |
---|---|
From | static var ManagedObjectResultType: NSFetchRequestResultType { get } |
To | static var managedObjectResultType: NSFetchRequestResultType { get } |
Modified NSIncrementalStore
Declaration | |
---|---|
From | class NSIncrementalStore : NSPersistentStore { func loadMetadata() throws func executeRequest(_ request: NSPersistentStoreRequest, withContext context: NSManagedObjectContext?) throws -> AnyObject func newValuesForObjectWithID(_ objectID: NSManagedObjectID, withContext context: NSManagedObjectContext) throws -> NSIncrementalStoreNode func newValueForRelationship(_ relationship: NSRelationshipDescription, forObjectWithID objectID: NSManagedObjectID, withContext context: NSManagedObjectContext?) throws -> AnyObject class func identifierForNewStoreAtURL(_ storeURL: NSURL) -> AnyObject func obtainPermanentIDsForObjects(_ array: [NSManagedObject]) throws -> [NSManagedObjectID] func managedObjectContextDidRegisterObjectsWithIDs(_ objectIDs: [NSManagedObjectID]) func managedObjectContextDidUnregisterObjectsWithIDs(_ objectIDs: [NSManagedObjectID]) func newObjectIDForEntity(_ entity: NSEntityDescription, referenceObject data: AnyObject) -> NSManagedObjectID func referenceObjectForObjectID(_ objectID: NSManagedObjectID) -> AnyObject } |
To | class NSIncrementalStore : NSPersistentStore { func loadMetadata() throws func execute(_ request: NSPersistentStoreRequest, with context: NSManagedObjectContext?) throws -> Any func newValuesForObject(with objectID: NSManagedObjectID, with context: NSManagedObjectContext) throws -> NSIncrementalStoreNode func newValue(forRelationship relationship: NSRelationshipDescription, forObjectWith objectID: NSManagedObjectID, with context: NSManagedObjectContext?) throws -> Any class func identifierForNewStore(at storeURL: URL) -> Any func obtainPermanentIDs(for array: [NSManagedObject]) throws -> [NSManagedObjectID] func managedObjectContextDidRegisterObjects(with objectIDs: [NSManagedObjectID]) func managedObjectContextDidUnregisterObjects(with objectIDs: [NSManagedObjectID]) func newObjectID(for entity: NSEntityDescription, referenceObject data: Any) -> NSManagedObjectID func referenceObject(for objectID: NSManagedObjectID) -> Any } |
Modified NSIncrementalStore.execute(_: NSPersistentStoreRequest, with: NSManagedObjectContext?) throws -> Any
Declaration | |
---|---|
From | func executeRequest(_ request: NSPersistentStoreRequest, withContext context: NSManagedObjectContext?) throws -> AnyObject |
To | func execute(_ request: NSPersistentStoreRequest, with context: NSManagedObjectContext?) throws -> Any |
Declaration | |
---|---|
From | class func identifierForNewStoreAtURL(_ storeURL: NSURL) -> AnyObject |
To | class func identifierForNewStore(at storeURL: URL) -> Any |
Declaration | |
---|---|
From | func managedObjectContextDidRegisterObjectsWithIDs(_ objectIDs: [NSManagedObjectID]) |
To | func managedObjectContextDidRegisterObjects(with objectIDs: [NSManagedObjectID]) |
Declaration | |
---|---|
From | func managedObjectContextDidUnregisterObjectsWithIDs(_ objectIDs: [NSManagedObjectID]) |
To | func managedObjectContextDidUnregisterObjects(with objectIDs: [NSManagedObjectID]) |
Modified NSIncrementalStore.newObjectID(for: NSEntityDescription, referenceObject: Any) -> NSManagedObjectID
Declaration | |
---|---|
From | func newObjectIDForEntity(_ entity: NSEntityDescription, referenceObject data: AnyObject) -> NSManagedObjectID |
To | func newObjectID(for entity: NSEntityDescription, referenceObject data: Any) -> NSManagedObjectID |
Declaration | |
---|---|
From | func newValueForRelationship(_ relationship: NSRelationshipDescription, forObjectWithID objectID: NSManagedObjectID, withContext context: NSManagedObjectContext?) throws -> AnyObject |
To | func newValue(forRelationship relationship: NSRelationshipDescription, forObjectWith objectID: NSManagedObjectID, with context: NSManagedObjectContext?) throws -> Any |
Declaration | |
---|---|
From | func newValuesForObjectWithID(_ objectID: NSManagedObjectID, withContext context: NSManagedObjectContext) throws -> NSIncrementalStoreNode |
To | func newValuesForObject(with objectID: NSManagedObjectID, with context: NSManagedObjectContext) throws -> NSIncrementalStoreNode |
Modified NSIncrementalStore.obtainPermanentIDs(for: [NSManagedObject]) throws -> [NSManagedObjectID]
Declaration | |
---|---|
From | func obtainPermanentIDsForObjects(_ array: [NSManagedObject]) throws -> [NSManagedObjectID] |
To | func obtainPermanentIDs(for array: [NSManagedObject]) throws -> [NSManagedObjectID] |
Declaration | |
---|---|
From | func referenceObjectForObjectID(_ objectID: NSManagedObjectID) -> AnyObject |
To | func referenceObject(for objectID: NSManagedObjectID) -> Any |
Modified NSIncrementalStoreNode
Declaration | Protocols | |
---|---|---|
From | class NSIncrementalStoreNode : NSObject { init(objectID objectID: NSManagedObjectID, withValues values: [String : AnyObject], version version: UInt64) func updateWithValues(_ values: [String : AnyObject], version version: UInt64) var objectID: NSManagedObjectID { get } var version: UInt64 { get } func valueForPropertyDescription(_ prop: NSPropertyDescription) -> AnyObject? } | -- |
To | class NSIncrementalStoreNode : NSObject { init(objectID objectID: NSManagedObjectID, withValues values: [String : Any], version version: UInt64) func update(withValues values: [String : Any], version version: UInt64) var objectID: NSManagedObjectID { get } var version: UInt64 { get } func value(for prop: NSPropertyDescription) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSIncrementalStoreNode : CVarArg { } extension NSIncrementalStoreNode : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | init(objectID objectID: NSManagedObjectID, withValues values: [String : AnyObject], version version: UInt64) |
To | init(objectID objectID: NSManagedObjectID, withValues values: [String : Any], version version: UInt64) |
Declaration | |
---|---|
From | func updateWithValues(_ values: [String : AnyObject], version version: UInt64) |
To | func update(withValues values: [String : Any], version version: UInt64) |
Declaration | |
---|---|
From | func valueForPropertyDescription(_ prop: NSPropertyDescription) -> AnyObject? |
To | func value(for prop: NSPropertyDescription) -> Any? |
Modified NSManagedObject
Declaration | Protocols | |
---|---|---|
From | class NSManagedObject : NSObject { class func contextShouldIgnoreUnmodeledPropertyChanges() -> Bool init(entity entity: NSEntityDescription, insertIntoManagedObjectContext context: NSManagedObjectContext?) unowned(unsafe) var managedObjectContext: NSManagedObjectContext? { get } var entity: NSEntityDescription { get } var objectID: NSManagedObjectID { get } var inserted: Bool { get } var updated: Bool { get } var deleted: Bool { get } var hasChanges: Bool { get } var hasPersistentChangedValues: Bool { get } var fault: Bool { get } func hasFaultForRelationshipNamed(_ key: String) -> Bool func objectIDsForRelationshipNamed(_ key: String) -> [NSManagedObjectID] var faultingState: Int { get } func willAccessValueForKey(_ key: String?) func didAccessValueForKey(_ key: String?) func willChangeValueForKey(_ key: String) func didChangeValueForKey(_ key: String) func willChangeValueForKey(_ inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, usingObjects inObjects: Set<NSObject>) func didChangeValueForKey(_ inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, usingObjects inObjects: Set<NSObject>) func awakeFromFetch() func awakeFromInsert() func awakeFromSnapshotEvents(_ flags: NSSnapshotEventType) func prepareForDeletion() func willSave() func didSave() func willTurnIntoFault() func didTurnIntoFault() func valueForKey(_ key: String) -> AnyObject? func setValue(_ value: AnyObject?, forKey key: String) func primitiveValueForKey(_ key: String) -> AnyObject? func setPrimitiveValue(_ value: AnyObject?, forKey key: String) func committedValuesForKeys(_ keys: [String]?) -> [String : AnyObject] func changedValues() -> [String : AnyObject] func changedValuesForCurrentEvent() -> [String : AnyObject] func validateValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throws func validateForDelete() throws func validateForInsert() throws func validateForUpdate() throws } | -- |
To | class NSManagedObject : NSObject { class var contextShouldIgnoreUnmodeledPropertyChanges: Bool { get } class func entity() -> NSEntityDescription class func fetchRequest() -> NSFetchRequest<NSFetchRequestResult> init(entity entity: NSEntityDescription, insertInto context: NSManagedObjectContext?) convenience init(context moc: NSManagedObjectContext) unowned(unsafe) var managedObjectContext: NSManagedObjectContext? { get } var entity: NSEntityDescription { get } var objectID: NSManagedObjectID { get } var isInserted: Bool { get } var isUpdated: Bool { get } var isDeleted: Bool { get } var hasChanges: Bool { get } var hasPersistentChangedValues: Bool { get } var isFault: Bool { get } func hasFault(forRelationshipNamed key: String) -> Bool func objectIDs(forRelationshipNamed key: String) -> [NSManagedObjectID] var faultingState: Int { get } func willAccessValue(forKey key: String?) func didAccessValue(forKey key: String?) func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChangeValue(forKey inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, using inObjects: Set<AnyHashable>) func didChangeValue(forKey inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, using inObjects: Set<AnyHashable>) func awakeFromFetch() func awakeFromInsert() func awake(fromSnapshotEvents flags: NSSnapshotEventType) func prepareForDeletion() func willSave() func didSave() func willTurnIntoFault() func didTurnIntoFault() func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func primitiveValue(forKey key: String) -> Any? func setPrimitiveValue(_ value: Any?, forKey key: String) func committedValues(forKeys keys: [String]?) -> [String : Any] func changedValues() -> [String : Any] func changedValuesForCurrentEvent() -> [String : Any] func validateValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throws func validateForDelete() throws func validateForInsert() throws func validateForUpdate() throws func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSManagedObject : NSFetchRequestResult { } extension NSManagedObject : CVarArg { } extension NSManagedObject : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSFetchRequestResult |
Declaration | |
---|---|
From | func awakeFromSnapshotEvents(_ flags: NSSnapshotEventType) |
To | func awake(fromSnapshotEvents flags: NSSnapshotEventType) |
Declaration | |
---|---|
From | func changedValues() -> [String : AnyObject] |
To | func changedValues() -> [String : Any] |
Declaration | |
---|---|
From | func changedValuesForCurrentEvent() -> [String : AnyObject] |
To | func changedValuesForCurrentEvent() -> [String : Any] |
Declaration | |
---|---|
From | func committedValuesForKeys(_ keys: [String]?) -> [String : AnyObject] |
To | func committedValues(forKeys keys: [String]?) -> [String : Any] |
Declaration | |
---|---|
From | func didAccessValueForKey(_ key: String?) |
To | func didAccessValue(forKey key: String?) |
Declaration | |
---|---|
From | func didChangeValueForKey(_ key: String) |
To | func didChangeValue(forKey key: String) |
Declaration | |
---|---|
From | func didChangeValueForKey(_ inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, usingObjects inObjects: Set<NSObject>) |
To | func didChangeValue(forKey inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, using inObjects: Set<AnyHashable>) |
Declaration | |
---|---|
From | func hasFaultForRelationshipNamed(_ key: String) -> Bool |
To | func hasFault(forRelationshipNamed key: String) -> Bool |
Declaration | |
---|---|
From | init(entity entity: NSEntityDescription, insertIntoManagedObjectContext context: NSManagedObjectContext?) |
To | init(entity entity: NSEntityDescription, insertInto context: NSManagedObjectContext?) |
Modified NSManagedObject.isDeleted
Declaration | |
---|---|
From | var deleted: Bool { get } |
To | var isDeleted: Bool { get } |
Modified NSManagedObject.isFault
Declaration | |
---|---|
From | var fault: Bool { get } |
To | var isFault: Bool { get } |
Modified NSManagedObject.isInserted
Declaration | |
---|---|
From | var inserted: Bool { get } |
To | var isInserted: Bool { get } |
Modified NSManagedObject.isUpdated
Declaration | |
---|---|
From | var updated: Bool { get } |
To | var isUpdated: Bool { get } |
Declaration | |
---|---|
From | func objectIDsForRelationshipNamed(_ key: String) -> [NSManagedObjectID] |
To | func objectIDs(forRelationshipNamed key: String) -> [NSManagedObjectID] |
Declaration | |
---|---|
From | func primitiveValueForKey(_ key: String) -> AnyObject? |
To | func primitiveValue(forKey key: String) -> Any? |
Declaration | |
---|---|
From | func setPrimitiveValue(_ value: AnyObject?, forKey key: String) |
To | func setPrimitiveValue(_ value: Any?, forKey key: String) |
Declaration | |
---|---|
From | func setValue(_ value: AnyObject?, forKey key: String) |
To | func setValue(_ value: Any?, forKey key: String) |
Declaration | |
---|---|
From | func valueForKey(_ key: String) -> AnyObject? |
To | func value(forKey key: String) -> Any? |
Declaration | |
---|---|
From | func willAccessValueForKey(_ key: String?) |
To | func willAccessValue(forKey key: String?) |
Declaration | |
---|---|
From | func willChangeValueForKey(_ key: String) |
To | func willChangeValue(forKey key: String) |
Declaration | |
---|---|
From | func willChangeValueForKey(_ inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, usingObjects inObjects: Set<NSObject>) |
To | func willChangeValue(forKey inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, using inObjects: Set<AnyHashable>) |
Modified NSManagedObjectContext
Declaration | Protocols | |
---|---|---|
From | class NSManagedObjectContext : NSObject, NSCoding, NSLocking { class func new() -> Self convenience init() init(concurrencyType ct: NSManagedObjectContextConcurrencyType) func performBlock(_ block: () -> Void) func performBlockAndWait(_ block: () -> Void) var persistentStoreCoordinator: NSPersistentStoreCoordinator? var parentContext: NSManagedObjectContext? var name: String? var undoManager: NSUndoManager? var hasChanges: Bool { get } var userInfo: NSMutableDictionary { get } var concurrencyType: NSManagedObjectContextConcurrencyType { get } func objectRegisteredForID(_ objectID: NSManagedObjectID) -> NSManagedObject? func objectWithID(_ objectID: NSManagedObjectID) -> NSManagedObject func existingObjectWithID(_ objectID: NSManagedObjectID) throws -> NSManagedObject func executeFetchRequest(_ request: NSFetchRequest) throws -> [AnyObject] func countForFetchRequest(_ request: NSFetchRequest, error error: NSErrorPointer) -> Int func executeRequest(_ request: NSPersistentStoreRequest) throws -> NSPersistentStoreResult func insertObject(_ object: NSManagedObject) func deleteObject(_ object: NSManagedObject) func refreshObject(_ object: NSManagedObject, mergeChanges flag: Bool) func detectConflictsForObject(_ object: NSManagedObject) func observeValueForKeyPath(_ keyPath: String?, ofObject object: AnyObject?, change change: [String : AnyObject]?, context context: UnsafeMutablePointer<Void>) func processPendingChanges() func assignObject(_ object: AnyObject, toPersistentStore store: NSPersistentStore) var insertedObjects: Set<NSManagedObject> { get } var updatedObjects: Set<NSManagedObject> { get } var deletedObjects: Set<NSManagedObject> { get } var registeredObjects: Set<NSManagedObject> { get } func undo() func redo() func reset() func rollback() func save() throws func refreshAllObjects() func lock() func unlock() func tryLock() -> Bool var propagatesDeletesAtEndOfEvent: Bool var retainsRegisteredObjects: Bool var shouldDeleteInaccessibleFaults: Bool func shouldHandleInaccessibleFault(_ fault: NSManagedObject, forObjectID oid: NSManagedObjectID, triggeredByProperty property: NSPropertyDescription?) -> Bool var stalenessInterval: NSTimeInterval var mergePolicy: AnyObject func obtainPermanentIDsForObjects(_ objects: [NSManagedObject]) throws func mergeChangesFromContextDidSaveNotification(_ notification: NSNotification) class func mergeChangesFromRemoteContextSave(_ changeNotificationData: [NSObject : AnyObject], intoContexts contexts: [NSManagedObjectContext]) } | NSCoding, NSLocking |
To | class NSManagedObjectContext : NSObject, NSCoding, NSLocking { class func new() -> Self convenience init() init(concurrencyType ct: NSManagedObjectContextConcurrencyType) func perform(_ block: @escaping () -> Swift.Void) func performAndWait(_ block: @escaping () -> Swift.Void) var persistentStoreCoordinator: NSPersistentStoreCoordinator? var parent: NSManagedObjectContext? var name: String? var undoManager: UndoManager? var hasChanges: Bool { get } var userInfo: NSMutableDictionary { get } var concurrencyType: NSManagedObjectContextConcurrencyType { get } func registeredObject(for objectID: NSManagedObjectID) -> NSManagedObject? func object(with objectID: NSManagedObjectID) -> NSManagedObject func existingObject(with objectID: NSManagedObjectID) throws -> NSManagedObject func fetch(_ request: NSFetchRequest<NSFetchRequestResult>) throws -> [Any] func count(for request: NSFetchRequest<NSFetchRequestResult>) throws -> Int func execute(_ request: NSPersistentStoreRequest) throws -> NSPersistentStoreResult func insert(_ object: NSManagedObject) func delete(_ object: NSManagedObject) func refresh(_ object: NSManagedObject, mergeChanges flag: Bool) func detectConflicts(for object: NSManagedObject) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [String : Any]?, context context: UnsafeMutableRawPointer?) func processPendingChanges() func assign(_ object: Any, to store: NSPersistentStore) var insertedObjects: Set<NSManagedObject> { get } var updatedObjects: Set<NSManagedObject> { get } var deletedObjects: Set<NSManagedObject> { get } var registeredObjects: Set<NSManagedObject> { get } func undo() func redo() func reset() func rollback() func save() throws func refreshAllObjects() func lock() func unlock() func tryLock() -> Bool var propagatesDeletesAtEndOfEvent: Bool var retainsRegisteredObjects: Bool var shouldDeleteInaccessibleFaults: Bool func shouldHandleInaccessibleFault(_ fault: NSManagedObject, for oid: NSManagedObjectID, triggeredByProperty property: NSPropertyDescription?) -> Bool var stalenessInterval: TimeInterval var mergePolicy: Any func obtainPermanentIDs(for objects: [NSManagedObject]) throws func mergeChanges(fromContextDidSave notification: Notification) class func mergeChanges(fromRemoteContextSave changeNotificationData: [AnyHashable : Any], into contexts: [NSManagedObjectContext]) var queryGenerationToken: NSQueryGenerationToken? { get } func setQueryGenerationFrom(_ generation: NSQueryGenerationToken?) throws var automaticallyMergesChangesFromParent: Bool func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSManagedObjectContext : CVarArg { } extension NSManagedObjectContext : Equatable, Hashable { var hashValue: Int { get } } extension NSManagedObjectContext { func fetch<T : NSFetchRequestResult>(_ request: NSFetchRequest<T>) throws -> [T] func count<T : NSFetchRequestResult>(for request: NSFetchRequest<T>) throws -> Int } | CVarArg, Equatable, Hashable, NSCoding, NSLocking |
Declaration | |
---|---|
From | func assignObject(_ object: AnyObject, toPersistentStore store: NSPersistentStore) |
To | func assign(_ object: Any, to store: NSPersistentStore) |
Declaration | |
---|---|
From | func countForFetchRequest(_ request: NSFetchRequest, error error: NSErrorPointer) -> Int |
To | func count(for request: NSFetchRequest<NSFetchRequestResult>) throws -> Int |
Declaration | |
---|---|
From | func deleteObject(_ object: NSManagedObject) |
To | func delete(_ object: NSManagedObject) |
Declaration | |
---|---|
From | func detectConflictsForObject(_ object: NSManagedObject) |
To | func detectConflicts(for object: NSManagedObject) |
Modified NSManagedObjectContext.execute(_: NSPersistentStoreRequest) throws -> NSPersistentStoreResult
Declaration | |
---|---|
From | func executeRequest(_ request: NSPersistentStoreRequest) throws -> NSPersistentStoreResult |
To | func execute(_ request: NSPersistentStoreRequest) throws -> NSPersistentStoreResult |
Declaration | |
---|---|
From | func existingObjectWithID(_ objectID: NSManagedObjectID) throws -> NSManagedObject |
To | func existingObject(with objectID: NSManagedObjectID) throws -> NSManagedObject |
Declaration | |
---|---|
From | func executeFetchRequest(_ request: NSFetchRequest) throws -> [AnyObject] |
To | func fetch(_ request: NSFetchRequest<NSFetchRequestResult>) throws -> [Any] |
Declaration | |
---|---|
From | func insertObject(_ object: NSManagedObject) |
To | func insert(_ object: NSManagedObject) |
Declaration | |
---|---|
From | func mergeChangesFromContextDidSaveNotification(_ notification: NSNotification) |
To | func mergeChanges(fromContextDidSave notification: Notification) |
Declaration | |
---|---|
From | class func mergeChangesFromRemoteContextSave(_ changeNotificationData: [NSObject : AnyObject], intoContexts contexts: [NSManagedObjectContext]) |
To | class func mergeChanges(fromRemoteContextSave changeNotificationData: [AnyHashable : Any], into contexts: [NSManagedObjectContext]) |
Modified NSManagedObjectContext.mergePolicy
Declaration | |
---|---|
From | var mergePolicy: AnyObject |
To | var mergePolicy: Any |
Declaration | |
---|---|
From | func objectWithID(_ objectID: NSManagedObjectID) -> NSManagedObject |
To | func object(with objectID: NSManagedObjectID) -> NSManagedObject |
Declaration | |
---|---|
From | func observeValueForKeyPath(_ keyPath: String?, ofObject object: AnyObject?, change change: [String : AnyObject]?, context context: UnsafeMutablePointer<Void>) |
To | func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [String : Any]?, context context: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func obtainPermanentIDsForObjects(_ objects: [NSManagedObject]) throws |
To | func obtainPermanentIDs(for objects: [NSManagedObject]) throws |
Modified NSManagedObjectContext.parent
Declaration | |
---|---|
From | var parentContext: NSManagedObjectContext? |
To | var parent: NSManagedObjectContext? |
Declaration | |
---|---|
From | func performBlock(_ block: () -> Void) |
To | func perform(_ block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func performBlockAndWait(_ block: () -> Void) |
To | func performAndWait(_ block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func refreshObject(_ object: NSManagedObject, mergeChanges flag: Bool) |
To | func refresh(_ object: NSManagedObject, mergeChanges flag: Bool) |
Declaration | |
---|---|
From | func objectRegisteredForID(_ objectID: NSManagedObjectID) -> NSManagedObject? |
To | func registeredObject(for objectID: NSManagedObjectID) -> NSManagedObject? |
Declaration | |
---|---|
From | func shouldHandleInaccessibleFault(_ fault: NSManagedObject, forObjectID oid: NSManagedObjectID, triggeredByProperty property: NSPropertyDescription?) -> Bool |
To | func shouldHandleInaccessibleFault(_ fault: NSManagedObject, for oid: NSManagedObjectID, triggeredByProperty property: NSPropertyDescription?) -> Bool |
Declaration | |
---|---|
From | var stalenessInterval: NSTimeInterval |
To | var stalenessInterval: TimeInterval |
Modified NSManagedObjectContext.undoManager
Declaration | |
---|---|
From | var undoManager: NSUndoManager? |
To | var undoManager: UndoManager? |
Declaration | |
---|---|
From | enum NSManagedObjectContextConcurrencyType : UInt { case ConfinementConcurrencyType case PrivateQueueConcurrencyType case MainQueueConcurrencyType } |
To | enum NSManagedObjectContextConcurrencyType : UInt { case confinementConcurrencyType case privateQueueConcurrencyType case mainQueueConcurrencyType } |
Declaration | |
---|---|
From | case ConfinementConcurrencyType |
To | case confinementConcurrencyType |
Declaration | |
---|---|
From | case MainQueueConcurrencyType |
To | case mainQueueConcurrencyType |
Declaration | |
---|---|
From | case PrivateQueueConcurrencyType |
To | case privateQueueConcurrencyType |
Modified NSManagedObjectID
Declaration | Protocols | |
---|---|---|
From | class NSManagedObjectID : NSObject, NSCopying { var entity: NSEntityDescription { get } weak var persistentStore: NSPersistentStore? { get } var temporaryID: Bool { get } func URIRepresentation() -> NSURL } | NSCopying |
To | class NSManagedObjectID : NSObject, NSCopying { var entity: NSEntityDescription { get } weak var persistentStore: NSPersistentStore? { get } var isTemporaryID: Bool { get } func uriRepresentation() -> URL func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSManagedObjectID : NSFetchRequestResult { } extension NSManagedObjectID : CVarArg { } extension NSManagedObjectID : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSFetchRequestResult |
Modified NSManagedObjectID.isTemporaryID
Declaration | |
---|---|
From | var temporaryID: Bool { get } |
To | var isTemporaryID: Bool { get } |
Declaration | |
---|---|
From | func URIRepresentation() -> NSURL |
To | func uriRepresentation() -> URL |
Modified NSManagedObjectModel
Declaration | Protocols | |
---|---|---|
From | class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration { class func mergedModelFromBundles(_ bundles: [NSBundle]?) -> NSManagedObjectModel? init?(byMergingModels models: [NSManagedObjectModel]?) class func modelByMergingModels(_ models: [NSManagedObjectModel]?) -> NSManagedObjectModel? init() convenience init?(contentsOfURL url: NSURL) var entitiesByName: [String : NSEntityDescription] { get } var entities: [NSEntityDescription] var configurations: [String] { get } func entitiesForConfiguration(_ configuration: String?) -> [NSEntityDescription]? func setEntities(_ entities: [NSEntityDescription], forConfiguration configuration: String) func setFetchRequestTemplate(_ fetchRequestTemplate: NSFetchRequest?, forName name: String) func fetchRequestTemplateForName(_ name: String) -> NSFetchRequest? func fetchRequestFromTemplateWithName(_ name: String, substitutionVariables variables: [String : AnyObject]) -> NSFetchRequest? var localizationDictionary: [String : String]? class func mergedModelFromBundles(_ bundles: [NSBundle]?, forStoreMetadata metadata: [String : AnyObject]) -> NSManagedObjectModel? init?(byMergingModels models: [NSManagedObjectModel], forStoreMetadata metadata: [String : AnyObject]) class func modelByMergingModels(_ models: [NSManagedObjectModel], forStoreMetadata metadata: [String : AnyObject]) -> NSManagedObjectModel? var fetchRequestTemplatesByName: [String : NSFetchRequest] { get } var versionIdentifiers: Set<NSObject> func isConfiguration(_ configuration: String?, compatibleWithStoreMetadata metadata: [String : AnyObject]) -> Bool var entityVersionHashesByName: [String : NSData] { get } } | NSCoding, NSCopying, NSFastEnumeration |
To | class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration { class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel? init?(byMerging models: [NSManagedObjectModel]?) class func merging(_ models: [NSManagedObjectModel]?) -> NSManagedObjectModel? init() convenience init?(contentsOf url: URL) var entitiesByName: [String : NSEntityDescription] { get } var entities: [NSEntityDescription] var configurations: [String] { get } func entities(forConfigurationName configuration: String?) -> [NSEntityDescription]? func setEntities(_ entities: [NSEntityDescription], forConfigurationName configuration: String) func setFetchRequestTemplate(_ fetchRequestTemplate: NSFetchRequest<NSFetchRequestResult>?, forName name: String) func fetchRequestTemplate(forName name: String) -> NSFetchRequest<NSFetchRequestResult>? func fetchRequestFromTemplate(withName name: String, substitutionVariables variables: [String : Any]) -> NSFetchRequest<NSFetchRequestResult>? var localizationDictionary: [String : String]? class func mergedModel(from bundles: [Bundle]?, forStoreMetadata metadata: [String : Any]) -> NSManagedObjectModel? init?(byMerging models: [NSManagedObjectModel], forStoreMetadata metadata: [String : Any]) class func merging(_ models: [NSManagedObjectModel], forStoreMetadata metadata: [String : Any]) -> NSManagedObjectModel? var fetchRequestTemplatesByName: [String : NSFetchRequest<NSFetchRequestResult>] { get } var versionIdentifiers: Set<AnyHashable> func isConfiguration(withName configuration: String?, compatibleWithStoreMetadata metadata: [String : Any]) -> Bool var entityVersionHashesByName: [String : Data] { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSManagedObjectModel : CVarArg { } extension NSManagedObjectModel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSFastEnumeration |
Declaration | |
---|---|
From | func entitiesForConfiguration(_ configuration: String?) -> [NSEntityDescription]? |
To | func entities(forConfigurationName configuration: String?) -> [NSEntityDescription]? |
Declaration | |
---|---|
From | var entityVersionHashesByName: [String : NSData] { get } |
To | var entityVersionHashesByName: [String : Data] { get } |
Declaration | |
---|---|
From | func fetchRequestFromTemplateWithName(_ name: String, substitutionVariables variables: [String : AnyObject]) -> NSFetchRequest? |
To | func fetchRequestFromTemplate(withName name: String, substitutionVariables variables: [String : Any]) -> NSFetchRequest<NSFetchRequestResult>? |
Modified NSManagedObjectModel.fetchRequestTemplate(forName: String) -> NSFetchRequest<NSFetchRequestResult>?
Declaration | |
---|---|
From | func fetchRequestTemplateForName(_ name: String) -> NSFetchRequest? |
To | func fetchRequestTemplate(forName name: String) -> NSFetchRequest<NSFetchRequestResult>? |
Declaration | |
---|---|
From | var fetchRequestTemplatesByName: [String : NSFetchRequest] { get } |
To | var fetchRequestTemplatesByName: [String : NSFetchRequest<NSFetchRequestResult>] { get } |
Declaration | |
---|---|
From | init?(byMergingModels models: [NSManagedObjectModel]?) |
To | init?(byMerging models: [NSManagedObjectModel]?) |
Modified NSManagedObjectModel.init(byMerging: [NSManagedObjectModel], forStoreMetadata: [String : Any])
Declaration | |
---|---|
From | init?(byMergingModels models: [NSManagedObjectModel], forStoreMetadata metadata: [String : AnyObject]) |
To | init?(byMerging models: [NSManagedObjectModel], forStoreMetadata metadata: [String : Any]) |
Declaration | |
---|---|
From | convenience init?(contentsOfURL url: NSURL) |
To | convenience init?(contentsOf url: URL) |
Declaration | |
---|---|
From | func isConfiguration(_ configuration: String?, compatibleWithStoreMetadata metadata: [String : AnyObject]) -> Bool |
To | func isConfiguration(withName configuration: String?, compatibleWithStoreMetadata metadata: [String : Any]) -> Bool |
Declaration | |
---|---|
From | class func mergedModelFromBundles(_ bundles: [NSBundle]?) -> NSManagedObjectModel? |
To | class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel? |
Declaration | |
---|---|
From | class func mergedModelFromBundles(_ bundles: [NSBundle]?, forStoreMetadata metadata: [String : AnyObject]) -> NSManagedObjectModel? |
To | class func mergedModel(from bundles: [Bundle]?, forStoreMetadata metadata: [String : Any]) -> NSManagedObjectModel? |
Declaration | |
---|---|
From | func setEntities(_ entities: [NSEntityDescription], forConfiguration configuration: String) |
To | func setEntities(_ entities: [NSEntityDescription], forConfigurationName configuration: String) |
Declaration | |
---|---|
From | func setFetchRequestTemplate(_ fetchRequestTemplate: NSFetchRequest?, forName name: String) |
To | func setFetchRequestTemplate(_ fetchRequestTemplate: NSFetchRequest<NSFetchRequestResult>?, forName name: String) |
Declaration | |
---|---|
From | var versionIdentifiers: Set<NSObject> |
To | var versionIdentifiers: Set<AnyHashable> |
Modified NSMappingModel
Declaration | Protocols | |
---|---|---|
From | class NSMappingModel : NSObject { init?(fromBundles bundles: [NSBundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel destinationModel: NSManagedObjectModel?) class func mappingModelFromBundles(_ bundles: [NSBundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel destinationModel: NSManagedObjectModel?) -> NSMappingModel? class func inferredMappingModelForSourceModel(_ sourceModel: NSManagedObjectModel, destinationModel destinationModel: NSManagedObjectModel) throws -> NSMappingModel init?(contentsOfURL url: NSURL?) var entityMappings: [NSEntityMapping]! var entityMappingsByName: [String : NSEntityMapping] { get } } | -- |
To | class NSMappingModel : NSObject { init?(from bundles: [Bundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel destinationModel: NSManagedObjectModel?) class func fromBundles(_ bundles: [Bundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel destinationModel: NSManagedObjectModel?) -> NSMappingModel? class func inferredMappingModel(forSourceModel sourceModel: NSManagedObjectModel, destinationModel destinationModel: NSManagedObjectModel) throws -> NSMappingModel init?(contentsOf url: URL?) var entityMappings: [NSEntityMapping]! var entityMappingsByName: [String : NSEntityMapping] { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSMappingModel : CVarArg { } extension NSMappingModel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func inferredMappingModelForSourceModel(_ sourceModel: NSManagedObjectModel, destinationModel destinationModel: NSManagedObjectModel) throws -> NSMappingModel |
To | class func inferredMappingModel(forSourceModel sourceModel: NSManagedObjectModel, destinationModel destinationModel: NSManagedObjectModel) throws -> NSMappingModel |
Declaration | |
---|---|
From | init?(contentsOfURL url: NSURL?) |
To | init?(contentsOf url: URL?) |
Declaration | |
---|---|
From | init?(fromBundles bundles: [NSBundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel destinationModel: NSManagedObjectModel?) |
To | init?(from bundles: [Bundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel destinationModel: NSManagedObjectModel?) |
Modified NSMergeConflict
Declaration | Protocols | |
---|---|---|
From | class NSMergeConflict : NSObject { var sourceObject: NSManagedObject { get } var objectSnapshot: [String : AnyObject]? { get } var cachedSnapshot: [String : AnyObject]? { get } var persistedSnapshot: [String : AnyObject]? { get } var newVersionNumber: Int { get } var oldVersionNumber: Int { get } init(source srcObject: NSManagedObject, newVersion newvers: Int, oldVersion oldvers: Int, cachedSnapshot cachesnap: [String : AnyObject]?, persistedSnapshot persnap: [String : AnyObject]?) convenience init() } | -- |
To | class NSMergeConflict : NSObject { var sourceObject: NSManagedObject { get } var objectSnapshot: [String : Any]? { get } var cachedSnapshot: [String : Any]? { get } var persistedSnapshot: [String : Any]? { get } var newVersionNumber: Int { get } var oldVersionNumber: Int { get } init(source srcObject: NSManagedObject, newVersion newvers: Int, oldVersion oldvers: Int, cachedSnapshot cachesnap: [String : Any]?, persistedSnapshot persnap: [String : Any]?) convenience init() func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSMergeConflict : CVarArg { } extension NSMergeConflict : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSMergeConflict.cachedSnapshot
Declaration | |
---|---|
From | var cachedSnapshot: [String : AnyObject]? { get } |
To | var cachedSnapshot: [String : Any]? { get } |
Declaration | |
---|---|
From | init(source srcObject: NSManagedObject, newVersion newvers: Int, oldVersion oldvers: Int, cachedSnapshot cachesnap: [String : AnyObject]?, persistedSnapshot persnap: [String : AnyObject]?) |
To | init(source srcObject: NSManagedObject, newVersion newvers: Int, oldVersion oldvers: Int, cachedSnapshot cachesnap: [String : Any]?, persistedSnapshot persnap: [String : Any]?) |
Modified NSMergeConflict.objectSnapshot
Declaration | |
---|---|
From | var objectSnapshot: [String : AnyObject]? { get } |
To | var objectSnapshot: [String : Any]? { get } |
Modified NSMergeConflict.persistedSnapshot
Declaration | |
---|---|
From | var persistedSnapshot: [String : AnyObject]? { get } |
To | var persistedSnapshot: [String : Any]? { get } |
Modified NSMergePolicy
Declaration | Protocols | |
---|---|---|
From | class NSMergePolicy : NSObject { var mergeType: NSMergePolicyType { get } init(mergeType ty: NSMergePolicyType) convenience init() func resolveConflicts(_ list: [AnyObject]) throws func resolveOptimisticLockingVersionConflicts(_ list: [NSMergeConflict]) throws func resolveConstraintConflicts(_ list: [NSConstraintConflict]) throws } | -- |
To | class NSMergePolicy : NSObject { class var error: NSMergePolicy { get } class var rollback: NSMergePolicy { get } class var overwrite: NSMergePolicy { get } class var mergeByPropertyObjectTrump: NSMergePolicy { get } class var mergeByPropertyStoreTrump: NSMergePolicy { get } var mergeType: NSMergePolicyType { get } init(merge ty: NSMergePolicyType) convenience init() func resolve(mergeConflicts list: [Any]) throws func resolve(optimisticLockingConflicts list: [NSMergeConflict]) throws func resolve(constraintConflicts list: [NSConstraintConflict]) throws func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSMergePolicy : CVarArg { } extension NSMergePolicy : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | init(mergeType ty: NSMergePolicyType) |
To | init(merge ty: NSMergePolicyType) |
Declaration | |
---|---|
From | func resolveConstraintConflicts(_ list: [NSConstraintConflict]) throws |
To | func resolve(constraintConflicts list: [NSConstraintConflict]) throws |
Declaration | |
---|---|
From | func resolveConflicts(_ list: [AnyObject]) throws |
To | func resolve(mergeConflicts list: [Any]) throws |
Declaration | |
---|---|
From | func resolveOptimisticLockingVersionConflicts(_ list: [NSMergeConflict]) throws |
To | func resolve(optimisticLockingConflicts list: [NSMergeConflict]) throws |
Modified NSMergePolicyType [enum]
Declaration | |
---|---|
From | enum NSMergePolicyType : UInt { case ErrorMergePolicyType case MergeByPropertyStoreTrumpMergePolicyType case MergeByPropertyObjectTrumpMergePolicyType case OverwriteMergePolicyType case RollbackMergePolicyType } |
To | enum NSMergePolicyType : UInt { case errorMergePolicyType case mergeByPropertyStoreTrumpMergePolicyType case mergeByPropertyObjectTrumpMergePolicyType case overwriteMergePolicyType case rollbackMergePolicyType } |
Declaration | |
---|---|
From | case ErrorMergePolicyType |
To | case errorMergePolicyType |
Declaration | |
---|---|
From | case MergeByPropertyObjectTrumpMergePolicyType |
To | case mergeByPropertyObjectTrumpMergePolicyType |
Declaration | |
---|---|
From | case MergeByPropertyStoreTrumpMergePolicyType |
To | case mergeByPropertyStoreTrumpMergePolicyType |
Declaration | |
---|---|
From | case OverwriteMergePolicyType |
To | case overwriteMergePolicyType |
Declaration | |
---|---|
From | case RollbackMergePolicyType |
To | case rollbackMergePolicyType |
Modified NSMigrationManager
Declaration | Protocols | |
---|---|---|
From | class NSMigrationManager : NSObject { init(sourceModel sourceModel: NSManagedObjectModel, destinationModel destinationModel: NSManagedObjectModel) func migrateStoreFromURL(_ sourceURL: NSURL, type sStoreType: String, options sOptions: [NSObject : AnyObject]?, withMappingModel mappings: NSMappingModel?, toDestinationURL dURL: NSURL, destinationType dStoreType: String, destinationOptions dOptions: [NSObject : AnyObject]?) throws var usesStoreSpecificMigrationManager: Bool func reset() var mappingModel: NSMappingModel { get } var sourceModel: NSManagedObjectModel { get } var destinationModel: NSManagedObjectModel { get } var sourceContext: NSManagedObjectContext { get } var destinationContext: NSManagedObjectContext { get } func sourceEntityForEntityMapping(_ mEntity: NSEntityMapping) -> NSEntityDescription? func destinationEntityForEntityMapping(_ mEntity: NSEntityMapping) -> NSEntityDescription? func associateSourceInstance(_ sourceInstance: NSManagedObject, withDestinationInstance destinationInstance: NSManagedObject, forEntityMapping entityMapping: NSEntityMapping) func destinationInstancesForEntityMappingNamed(_ mappingName: String, sourceInstances sourceInstances: [NSManagedObject]?) -> [NSManagedObject] func sourceInstancesForEntityMappingNamed(_ mappingName: String, destinationInstances destinationInstances: [NSManagedObject]?) -> [NSManagedObject] var currentEntityMapping: NSEntityMapping { get } var migrationProgress: Float { get } var userInfo: [NSObject : AnyObject]? func cancelMigrationWithError(_ error: NSError) } | -- |
To | class NSMigrationManager : NSObject { init(sourceModel sourceModel: NSManagedObjectModel, destinationModel destinationModel: NSManagedObjectModel) func migrateStore(from sourceURL: URL, sourceType sStoreType: String, options sOptions: [AnyHashable : Any]? = nil, with mappings: NSMappingModel?, toDestinationURL dURL: URL, destinationType dStoreType: String, destinationOptions dOptions: [AnyHashable : Any]? = nil) throws var usesStoreSpecificMigrationManager: Bool func reset() var mappingModel: NSMappingModel { get } var sourceModel: NSManagedObjectModel { get } var destinationModel: NSManagedObjectModel { get } var sourceContext: NSManagedObjectContext { get } var destinationContext: NSManagedObjectContext { get } func sourceEntity(for mEntity: NSEntityMapping) -> NSEntityDescription? func destinationEntity(for mEntity: NSEntityMapping) -> NSEntityDescription? func associate(sourceInstance sourceInstance: NSManagedObject, withDestinationInstance destinationInstance: NSManagedObject, for entityMapping: NSEntityMapping) func destinationInstances(forEntityMappingName mappingName: String, sourceInstances sourceInstances: [NSManagedObject]?) -> [NSManagedObject] func sourceInstances(forEntityMappingName mappingName: String, destinationInstances destinationInstances: [NSManagedObject]?) -> [NSManagedObject] var currentEntityMapping: NSEntityMapping { get } var migrationProgress: Float { get } var userInfo: [AnyHashable : Any]? func cancelMigrationWithError(_ error: Error) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSMigrationManager : CVarArg { } extension NSMigrationManager : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func associateSourceInstance(_ sourceInstance: NSManagedObject, withDestinationInstance destinationInstance: NSManagedObject, forEntityMapping entityMapping: NSEntityMapping) |
To | func associate(sourceInstance sourceInstance: NSManagedObject, withDestinationInstance destinationInstance: NSManagedObject, for entityMapping: NSEntityMapping) |
Declaration | |
---|---|
From | func cancelMigrationWithError(_ error: NSError) |
To | func cancelMigrationWithError(_ error: Error) |
Declaration | |
---|---|
From | func destinationEntityForEntityMapping(_ mEntity: NSEntityMapping) -> NSEntityDescription? |
To | func destinationEntity(for mEntity: NSEntityMapping) -> NSEntityDescription? |
Declaration | |
---|---|
From | func destinationInstancesForEntityMappingNamed(_ mappingName: String, sourceInstances sourceInstances: [NSManagedObject]?) -> [NSManagedObject] |
To | func destinationInstances(forEntityMappingName mappingName: String, sourceInstances sourceInstances: [NSManagedObject]?) -> [NSManagedObject] |
Declaration | |
---|---|
From | func migrateStoreFromURL(_ sourceURL: NSURL, type sStoreType: String, options sOptions: [NSObject : AnyObject]?, withMappingModel mappings: NSMappingModel?, toDestinationURL dURL: NSURL, destinationType dStoreType: String, destinationOptions dOptions: [NSObject : AnyObject]?) throws |
To | func migrateStore(from sourceURL: URL, sourceType sStoreType: String, options sOptions: [AnyHashable : Any]? = nil, with mappings: NSMappingModel?, toDestinationURL dURL: URL, destinationType dStoreType: String, destinationOptions dOptions: [AnyHashable : Any]? = nil) throws |
Declaration | |
---|---|
From | func sourceEntityForEntityMapping(_ mEntity: NSEntityMapping) -> NSEntityDescription? |
To | func sourceEntity(for mEntity: NSEntityMapping) -> NSEntityDescription? |
Declaration | |
---|---|
From | func sourceInstancesForEntityMappingNamed(_ mappingName: String, destinationInstances destinationInstances: [NSManagedObject]?) -> [NSManagedObject] |
To | func sourceInstances(forEntityMappingName mappingName: String, destinationInstances destinationInstances: [NSManagedObject]?) -> [NSManagedObject] |
Modified NSMigrationManager.userInfo
Declaration | |
---|---|
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
Name | Declaration | |
---|---|---|
From | NSManagedObjectContextDidSaveNotification | let NSManagedObjectContextDidSaveNotification: String |
To | NSManagedObjectContextDidSave | static let NSManagedObjectContextDidSave: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSManagedObjectContextObjectsDidChangeNotification | let NSManagedObjectContextObjectsDidChangeNotification: String |
To | NSManagedObjectContextObjectsDidChange | static let NSManagedObjectContextObjectsDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSManagedObjectContextWillSaveNotification | let NSManagedObjectContextWillSaveNotification: String |
To | NSManagedObjectContextWillSave | static let NSManagedObjectContextWillSave: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPersistentStoreCoordinatorStoresDidChangeNotification | let NSPersistentStoreCoordinatorStoresDidChangeNotification: String |
To | NSPersistentStoreCoordinatorStoresDidChange | static let NSPersistentStoreCoordinatorStoresDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPersistentStoreCoordinatorStoresWillChangeNotification | let NSPersistentStoreCoordinatorStoresWillChangeNotification: String |
To | NSPersistentStoreCoordinatorStoresWillChange | static let NSPersistentStoreCoordinatorStoresWillChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSPersistentStoreCoordinatorWillRemoveStoreNotification | let NSPersistentStoreCoordinatorWillRemoveStoreNotification: String |
To | NSPersistentStoreCoordinatorWillRemoveStore | static let NSPersistentStoreCoordinatorWillRemoveStore: NSNotification.Name |
Name | Declaration | Deprecation | |
---|---|---|---|
From | NSPersistentStoreDidImportUbiquitousContentChangesNotification | let NSPersistentStoreDidImportUbiquitousContentChangesNotification: String | -- |
To | NSPersistentStoreDidImportUbiquitousContentChanges | static let NSPersistentStoreDidImportUbiquitousContentChanges: NSNotification.Name | iOS 10.0 |
Modified NSPersistentStore
Declaration | Protocols | |
---|---|---|
From | class NSPersistentStore : NSObject { class func metadataForPersistentStoreWithURL(_ url: NSURL) throws -> [String : AnyObject] class func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStoreWithURL url: NSURL) throws class func migrationManagerClass() -> AnyClass init(persistentStoreCoordinator root: NSPersistentStoreCoordinator?, configurationName name: String?, URL url: NSURL, options options: [NSObject : AnyObject]?) convenience init() func loadMetadata() throws weak var persistentStoreCoordinator: NSPersistentStoreCoordinator? { get } var configurationName: String { get } var options: [NSObject : AnyObject]? { get } var URL: NSURL? var identifier: String! var type: String { get } var readOnly: Bool var metadata: [String : AnyObject]! func didAddToPersistentStoreCoordinator(_ coordinator: NSPersistentStoreCoordinator) func willRemoveFromPersistentStoreCoordinator(_ coordinator: NSPersistentStoreCoordinator?) } | -- |
To | class NSPersistentStore : NSObject { class func metadataForPersistentStore(with url: URL) throws -> [String : Any] class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreAt url: URL) throws class func migrationManagerClass() -> Swift.AnyClass init(persistentStoreCoordinator root: NSPersistentStoreCoordinator?, configurationName name: String?, at url: URL, options options: [AnyHashable : Any]? = nil) convenience init() func loadMetadata() throws weak var persistentStoreCoordinator: NSPersistentStoreCoordinator? { get } var configurationName: String { get } var options: [AnyHashable : Any]? { get } var url: URL? var identifier: String! var type: String { get } var isReadOnly: Bool var metadata: [String : Any]! func didAdd(to coordinator: NSPersistentStoreCoordinator) func willRemove(from coordinator: NSPersistentStoreCoordinator?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPersistentStore : CVarArg { } extension NSPersistentStore : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func didAddToPersistentStoreCoordinator(_ coordinator: NSPersistentStoreCoordinator) |
To | func didAdd(to coordinator: NSPersistentStoreCoordinator) |
Declaration | |
---|---|
From | init(persistentStoreCoordinator root: NSPersistentStoreCoordinator?, configurationName name: String?, URL url: NSURL, options options: [NSObject : AnyObject]?) |
To | init(persistentStoreCoordinator root: NSPersistentStoreCoordinator?, configurationName name: String?, at url: URL, options options: [AnyHashable : Any]? = nil) |
Modified NSPersistentStore.isReadOnly
Declaration | |
---|---|
From | var readOnly: Bool |
To | var isReadOnly: Bool |
Modified NSPersistentStore.metadata
Declaration | |
---|---|
From | var metadata: [String : AnyObject]! |
To | var metadata: [String : Any]! |
Declaration | |
---|---|
From | class func metadataForPersistentStoreWithURL(_ url: NSURL) throws -> [String : AnyObject] |
To | class func metadataForPersistentStore(with url: URL) throws -> [String : Any] |
Declaration | |
---|---|
From | class func migrationManagerClass() -> AnyClass |
To | class func migrationManagerClass() -> Swift.AnyClass |
Modified NSPersistentStore.options
Declaration | |
---|---|
From | var options: [NSObject : AnyObject]? { get } |
To | var options: [AnyHashable : Any]? { get } |
Modified NSPersistentStore.setMetadata(_: [String : Any]?, forPersistentStoreAt: URL) throws [class]
Declaration | |
---|---|
From | class func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStoreWithURL url: NSURL) throws |
To | class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreAt url: URL) throws |
Modified NSPersistentStore.url
Declaration | |
---|---|
From | var URL: NSURL? |
To | var url: URL? |
Declaration | |
---|---|
From | func willRemoveFromPersistentStoreCoordinator(_ coordinator: NSPersistentStoreCoordinator?) |
To | func willRemove(from coordinator: NSPersistentStoreCoordinator?) |
Modified NSPersistentStoreAsynchronousResult
Declaration | |
---|---|
From | class NSPersistentStoreAsynchronousResult : NSPersistentStoreResult { var managedObjectContext: NSManagedObjectContext { get } var operationError: NSError? { get } var progress: NSProgress? { get } func cancel() } |
To | class NSPersistentStoreAsynchronousResult : NSPersistentStoreResult { var managedObjectContext: NSManagedObjectContext { get } var operationError: Error? { get } var progress: Progress? { get } func cancel() } |
Declaration | |
---|---|
From | var operationError: NSError? { get } |
To | var operationError: Error? { get } |
Declaration | |
---|---|
From | var progress: NSProgress? { get } |
To | var progress: Progress? { get } |
Modified NSPersistentStoreCoordinator
Declaration | Protocols | |
---|---|---|
From | class NSPersistentStoreCoordinator : NSObject, NSLocking { init(managedObjectModel model: NSManagedObjectModel) var managedObjectModel: NSManagedObjectModel { get } var persistentStores: [NSPersistentStore] { get } var name: String? func persistentStoreForURL(_ URL: NSURL) -> NSPersistentStore? func URLForPersistentStore(_ store: NSPersistentStore) -> NSURL func setURL(_ url: NSURL, forPersistentStore store: NSPersistentStore) -> Bool func addPersistentStoreWithType(_ storeType: String, configuration configuration: String?, URL storeURL: NSURL?, options options: [NSObject : AnyObject]?) throws -> NSPersistentStore func removePersistentStore(_ store: NSPersistentStore) throws func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStore store: NSPersistentStore) func metadataForPersistentStore(_ store: NSPersistentStore) -> [String : AnyObject] func managedObjectIDForURIRepresentation(_ url: NSURL) -> NSManagedObjectID? func executeRequest(_ request: NSPersistentStoreRequest, withContext context: NSManagedObjectContext) throws -> AnyObject class func registeredStoreTypes() -> [String : NSValue] class func registerStoreClass(_ storeClass: AnyClass, forStoreType storeType: String) class func metadataForPersistentStoreOfType(_ storeType: String, URL url: NSURL, options options: [NSObject : AnyObject]?) throws -> [String : AnyObject] class func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStoreOfType storeType: String, URL url: NSURL, options options: [NSObject : AnyObject]?) throws class func metadataForPersistentStoreOfType(_ storeType: String?, URL url: NSURL) throws -> [String : AnyObject] class func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStoreOfType storeType: String?, URL url: NSURL) throws class func removeUbiquitousContentAndPersistentStoreAtURL(_ storeURL: NSURL, options options: [NSObject : AnyObject]?) throws func migratePersistentStore(_ store: NSPersistentStore, toURL URL: NSURL, options options: [NSObject : AnyObject]?, withType storeType: String) throws -> NSPersistentStore func destroyPersistentStoreAtURL(_ url: NSURL, withType storeType: String, options options: [NSObject : AnyObject]?) throws func replacePersistentStoreAtURL(_ destinationURL: NSURL, destinationOptions destinationOptions: [NSObject : AnyObject]?, withPersistentStoreFromURL sourceURL: NSURL, sourceOptions sourceOptions: [NSObject : AnyObject]?, storeType storeType: String) throws func performBlock(_ block: () -> Void) func performBlockAndWait(_ block: () -> Void) func lock() func unlock() func tryLock() -> Bool } | NSLocking |
To | class NSPersistentStoreCoordinator : NSObject, NSLocking { init(managedObjectModel model: NSManagedObjectModel) var managedObjectModel: NSManagedObjectModel { get } var persistentStores: [NSPersistentStore] { get } var name: String? func persistentStore(for URL: URL) -> NSPersistentStore? func url(for store: NSPersistentStore) -> URL func setURL(_ url: URL, for store: NSPersistentStore) -> Bool func addPersistentStore(ofType storeType: String, configurationName configuration: String?, at storeURL: URL?, options options: [AnyHashable : Any]? = nil) throws -> NSPersistentStore func addPersistentStore(with storeDescription: NSPersistentStoreDescription, completionHandler block: @escaping (NSPersistentStoreDescription, Error?) -> Swift.Void) func remove(_ store: NSPersistentStore) throws func setMetadata(_ metadata: [String : Any]?, for store: NSPersistentStore) func metadata(for store: NSPersistentStore) -> [String : Any] func managedObjectID(forURIRepresentation url: URL) -> NSManagedObjectID? func execute(_ request: NSPersistentStoreRequest, with context: NSManagedObjectContext) throws -> Any class var registeredStoreTypes: [String : NSValue] { get } class func registerStoreClass(_ storeClass: Swift.AnyClass, forStoreType storeType: String) class func metadataForPersistentStore(ofType storeType: String, at url: URL, options options: [AnyHashable : Any]? = nil) throws -> [String : Any] class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreOfType storeType: String, at url: URL, options options: [AnyHashable : Any]? = nil) throws func migratePersistentStore(_ store: NSPersistentStore, to URL: URL, options options: [AnyHashable : Any]? = nil, withType storeType: String) throws -> NSPersistentStore func destroyPersistentStore(at url: URL, ofType storeType: String, options options: [AnyHashable : Any]? = nil) throws func replacePersistentStore(at destinationURL: URL, destinationOptions destinationOptions: [AnyHashable : Any]? = nil, withPersistentStoreFrom sourceURL: URL, sourceOptions sourceOptions: [AnyHashable : Any]? = nil, ofType storeType: String) throws func perform(_ block: @escaping () -> Swift.Void) func performAndWait(_ block: @escaping () -> Swift.Void) func lock() func unlock() func tryLock() -> Bool class func metadataForPersistentStore(ofType storeType: String?, at url: URL) throws -> [String : Any] class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreOfType storeType: String?, at url: URL) throws class func removeUbiquitousContentAndPersistentStore(at storeURL: URL, options options: [AnyHashable : Any]? = nil) throws func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPersistentStoreCoordinator : CVarArg { } extension NSPersistentStoreCoordinator : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSLocking |
Declaration | |
---|---|
From | func addPersistentStoreWithType(_ storeType: String, configuration configuration: String?, URL storeURL: NSURL?, options options: [NSObject : AnyObject]?) throws -> NSPersistentStore |
To | func addPersistentStore(ofType storeType: String, configurationName configuration: String?, at storeURL: URL?, options options: [AnyHashable : Any]? = nil) throws -> NSPersistentStore |
Declaration | |
---|---|
From | func destroyPersistentStoreAtURL(_ url: NSURL, withType storeType: String, options options: [NSObject : AnyObject]?) throws |
To | func destroyPersistentStore(at url: URL, ofType storeType: String, options options: [AnyHashable : Any]? = nil) throws |
Declaration | |
---|---|
From | func executeRequest(_ request: NSPersistentStoreRequest, withContext context: NSManagedObjectContext) throws -> AnyObject |
To | func execute(_ request: NSPersistentStoreRequest, with context: NSManagedObjectContext) throws -> Any |
Modified NSPersistentStoreCoordinator.managedObjectID(forURIRepresentation: URL) -> NSManagedObjectID?
Declaration | |
---|---|
From | func managedObjectIDForURIRepresentation(_ url: NSURL) -> NSManagedObjectID? |
To | func managedObjectID(forURIRepresentation url: URL) -> NSManagedObjectID? |
Declaration | |
---|---|
From | func metadataForPersistentStore(_ store: NSPersistentStore) -> [String : AnyObject] |
To | func metadata(for store: NSPersistentStore) -> [String : Any] |
Declaration | |
---|---|
From | class func metadataForPersistentStoreOfType(_ storeType: String?, URL url: NSURL) throws -> [String : AnyObject] |
To | class func metadataForPersistentStore(ofType storeType: String?, at url: URL) throws -> [String : Any] |
Declaration | |
---|---|
From | class func metadataForPersistentStoreOfType(_ storeType: String, URL url: NSURL, options options: [NSObject : AnyObject]?) throws -> [String : AnyObject] |
To | class func metadataForPersistentStore(ofType storeType: String, at url: URL, options options: [AnyHashable : Any]? = nil) throws -> [String : Any] |
Declaration | |
---|---|
From | func migratePersistentStore(_ store: NSPersistentStore, toURL URL: NSURL, options options: [NSObject : AnyObject]?, withType storeType: String) throws -> NSPersistentStore |
To | func migratePersistentStore(_ store: NSPersistentStore, to URL: URL, options options: [AnyHashable : Any]? = nil, withType storeType: String) throws -> NSPersistentStore |
Declaration | |
---|---|
From | func performBlock(_ block: () -> Void) |
To | func perform(_ block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func performBlockAndWait(_ block: () -> Void) |
To | func performAndWait(_ block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func persistentStoreForURL(_ URL: NSURL) -> NSPersistentStore? |
To | func persistentStore(for URL: URL) -> NSPersistentStore? |
Modified NSPersistentStoreCoordinator.registerStoreClass(_: Swift.AnyClass, forStoreType: String) [class]
Declaration | |
---|---|
From | class func registerStoreClass(_ storeClass: AnyClass, forStoreType storeType: String) |
To | class func registerStoreClass(_ storeClass: Swift.AnyClass, forStoreType storeType: String) |
Declaration | |
---|---|
From | func removePersistentStore(_ store: NSPersistentStore) throws |
To | func remove(_ store: NSPersistentStore) throws |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | class func removeUbiquitousContentAndPersistentStoreAtURL(_ storeURL: NSURL, options options: [NSObject : AnyObject]?) throws | iOS 7.0 | -- |
To | class func removeUbiquitousContentAndPersistentStore(at storeURL: URL, options options: [AnyHashable : Any]? = nil) throws | iOS 5.0 | iOS 10.0 |
Declaration | |
---|---|
From | func replacePersistentStoreAtURL(_ destinationURL: NSURL, destinationOptions destinationOptions: [NSObject : AnyObject]?, withPersistentStoreFromURL sourceURL: NSURL, sourceOptions sourceOptions: [NSObject : AnyObject]?, storeType storeType: String) throws |
To | func replacePersistentStore(at destinationURL: URL, destinationOptions destinationOptions: [AnyHashable : Any]? = nil, withPersistentStoreFrom sourceURL: URL, sourceOptions sourceOptions: [AnyHashable : Any]? = nil, ofType storeType: String) throws |
Declaration | |
---|---|
From | func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStore store: NSPersistentStore) |
To | func setMetadata(_ metadata: [String : Any]?, for store: NSPersistentStore) |
Declaration | |
---|---|
From | class func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStoreOfType storeType: String?, URL url: NSURL) throws |
To | class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreOfType storeType: String?, at url: URL) throws |
Declaration | |
---|---|
From | class func setMetadata(_ metadata: [String : AnyObject]?, forPersistentStoreOfType storeType: String, URL url: NSURL, options options: [NSObject : AnyObject]?) throws |
To | class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreOfType storeType: String, at url: URL, options options: [AnyHashable : Any]? = nil) throws |
Declaration | |
---|---|
From | func setURL(_ url: NSURL, forPersistentStore store: NSPersistentStore) -> Bool |
To | func setURL(_ url: URL, for store: NSPersistentStore) -> Bool |
Declaration | |
---|---|
From | func URLForPersistentStore(_ store: NSPersistentStore) -> NSURL |
To | func url(for store: NSPersistentStore) -> URL |
Modified NSPersistentStoreRequest
Declaration | Protocols | |
---|---|---|
From | class NSPersistentStoreRequest : NSObject, NSCopying { var affectedStores: [NSPersistentStore]? var requestType: NSPersistentStoreRequestType { get } } | NSCopying |
To | class NSPersistentStoreRequest : NSObject, NSCopying { var affectedStores: [NSPersistentStore]? var requestType: NSPersistentStoreRequestType { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPersistentStoreRequest : CVarArg { } extension NSPersistentStoreRequest : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified NSPersistentStoreRequestType [enum]
Declaration | |
---|---|
From | enum NSPersistentStoreRequestType : UInt { case FetchRequestType case SaveRequestType case BatchUpdateRequestType case BatchDeleteRequestType } |
To | enum NSPersistentStoreRequestType : UInt { case fetchRequestType case saveRequestType case batchUpdateRequestType case batchDeleteRequestType } |
Declaration | |
---|---|
From | case BatchDeleteRequestType |
To | case batchDeleteRequestType |
Declaration | |
---|---|
From | case BatchUpdateRequestType |
To | case batchUpdateRequestType |
Declaration | |
---|---|
From | case FetchRequestType |
To | case fetchRequestType |
Declaration | |
---|---|
From | case SaveRequestType |
To | case saveRequestType |
Modified NSPersistentStoreResult
Declaration | Protocols | |
---|---|---|
From | class NSPersistentStoreResult : NSObject { } | -- |
To | class NSPersistentStoreResult : NSObject { func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPersistentStoreResult : CVarArg { } extension NSPersistentStoreResult : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | Deprecation | |
---|---|---|
From | enum NSPersistentStoreUbiquitousTransitionType : UInt { case AccountAdded case AccountRemoved case ContentRemoved case InitialImportCompleted } | -- |
To | enum NSPersistentStoreUbiquitousTransitionType : UInt { case accountAdded case accountRemoved case contentRemoved case initialImportCompleted } | iOS 10.0 |
Declaration | |
---|---|
From | case AccountAdded |
To | case accountAdded |
Declaration | |
---|---|
From | case AccountRemoved |
To | case accountRemoved |
Declaration | |
---|---|
From | case ContentRemoved |
To | case contentRemoved |
Declaration | |
---|---|
From | case InitialImportCompleted |
To | case initialImportCompleted |
Modified NSPropertyDescription
Declaration | Protocols | |
---|---|---|
From | class NSPropertyDescription : NSObject, NSCoding, NSCopying { unowned(unsafe) var entity: NSEntityDescription { get } var name: String var optional: Bool var transient: Bool var validationPredicates: [NSPredicate] { get } var validationWarnings: [AnyObject] { get } func setValidationPredicates(_ validationPredicates: [NSPredicate]?, withValidationWarnings validationWarnings: [String]?) var userInfo: [NSObject : AnyObject]? var indexed: Bool @NSCopying var versionHash: NSData { get } var versionHashModifier: String? var indexedBySpotlight: Bool var storedInExternalRecord: Bool var renamingIdentifier: String? } | NSCoding, NSCopying |
To | class NSPropertyDescription : NSObject, NSCoding, NSCopying { unowned(unsafe) var entity: NSEntityDescription { get } var name: String var isOptional: Bool var isTransient: Bool var validationPredicates: [NSPredicate] { get } var validationWarnings: [Any] { get } func setValidationPredicates(_ validationPredicates: [NSPredicate]?, withValidationWarnings validationWarnings: [String]?) var userInfo: [AnyHashable : Any]? var isIndexed: Bool var versionHash: Data { get } var versionHashModifier: String? var isIndexedBySpotlight: Bool var isStoredInExternalRecord: Bool var renamingIdentifier: String? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPropertyDescription : CVarArg { } extension NSPropertyDescription : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSPropertyDescription.isIndexed
Declaration | |
---|---|
From | var indexed: Bool |
To | var isIndexed: Bool |
Declaration | |
---|---|
From | var indexedBySpotlight: Bool |
To | var isIndexedBySpotlight: Bool |
Modified NSPropertyDescription.isOptional
Declaration | |
---|---|
From | var optional: Bool |
To | var isOptional: Bool |
Declaration | |
---|---|
From | var storedInExternalRecord: Bool |
To | var isStoredInExternalRecord: Bool |
Modified NSPropertyDescription.isTransient
Declaration | |
---|---|
From | var transient: Bool |
To | var isTransient: Bool |
Modified NSPropertyDescription.userInfo
Declaration | |
---|---|
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
Declaration | |
---|---|
From | var validationWarnings: [AnyObject] { get } |
To | var validationWarnings: [Any] { get } |
Modified NSPropertyDescription.versionHash
Declaration | |
---|---|
From | @NSCopying var versionHash: NSData { get } |
To | var versionHash: Data { get } |
Modified NSPropertyMapping
Declaration | Protocols | |
---|---|---|
From | class NSPropertyMapping : NSObject { var name: String? var valueExpression: NSExpression? var userInfo: [NSObject : AnyObject]? } | -- |
To | class NSPropertyMapping : NSObject { var name: String? var valueExpression: NSExpression? var userInfo: [AnyHashable : Any]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension NSPropertyMapping : CVarArg { } extension NSPropertyMapping : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified NSPropertyMapping.userInfo
Declaration | |
---|---|
From | var userInfo: [NSObject : AnyObject]? |
To | var userInfo: [AnyHashable : Any]? |
Modified NSRelationshipDescription
Declaration | |
---|---|
From | class NSRelationshipDescription : NSPropertyDescription { unowned(unsafe) var destinationEntity: NSEntityDescription? unowned(unsafe) var inverseRelationship: NSRelationshipDescription? var maxCount: Int var minCount: Int var deleteRule: NSDeleteRule var toMany: Bool { get } @NSCopying var versionHash: NSData { get } var ordered: Bool } |
To | class NSRelationshipDescription : NSPropertyDescription { unowned(unsafe) var destinationEntity: NSEntityDescription? unowned(unsafe) var inverseRelationship: NSRelationshipDescription? var maxCount: Int var minCount: Int var deleteRule: NSDeleteRule var isToMany: Bool { get } var versionHash: Data { get } var isOrdered: Bool } |
Modified NSRelationshipDescription.isOrdered
Declaration | |
---|---|
From | var ordered: Bool |
To | var isOrdered: Bool |
Modified NSRelationshipDescription.isToMany
Declaration | |
---|---|
From | var toMany: Bool { get } |
To | var isToMany: Bool { get } |
Declaration | |
---|---|
From | @NSCopying var versionHash: NSData { get } |
To | var versionHash: Data { get } |
Modified NSSaveChangesRequest
Declaration | |
---|---|
From | class NSSaveChangesRequest : NSPersistentStoreRequest { init(insertedObjects insertedObjects: Set<NSManagedObject>?, updatedObjects updatedObjects: Set<NSManagedObject>?, deletedObjects deletedObjects: Set<NSManagedObject>?, lockedObjects lockedObjects: Set<NSManagedObject>?) var insertedObjects: Set<NSManagedObject>? { get } var updatedObjects: Set<NSManagedObject>? { get } var deletedObjects: Set<NSManagedObject>? { get } var lockedObjects: Set<NSManagedObject>? { get } } |
To | class NSSaveChangesRequest : NSPersistentStoreRequest { init(inserted insertedObjects: Set<NSManagedObject>?, updated updatedObjects: Set<NSManagedObject>?, deleted deletedObjects: Set<NSManagedObject>?, locked lockedObjects: Set<NSManagedObject>?) var insertedObjects: Set<NSManagedObject>? { get } var updatedObjects: Set<NSManagedObject>? { get } var deletedObjects: Set<NSManagedObject>? { get } var lockedObjects: Set<NSManagedObject>? { get } } |
Declaration | |
---|---|
From | init(insertedObjects insertedObjects: Set<NSManagedObject>?, updatedObjects updatedObjects: Set<NSManagedObject>?, deletedObjects deletedObjects: Set<NSManagedObject>?, lockedObjects lockedObjects: Set<NSManagedObject>?) |
To | init(inserted insertedObjects: Set<NSManagedObject>?, updated updatedObjects: Set<NSManagedObject>?, deleted deletedObjects: Set<NSManagedObject>?, locked lockedObjects: Set<NSManagedObject>?) |
Modified NSSnapshotEventType [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSSnapshotEventType : OptionSetType { init(rawValue rawValue: UInt) static var UndoInsertion: NSSnapshotEventType { get } static var UndoDeletion: NSSnapshotEventType { get } static var UndoUpdate: NSSnapshotEventType { get } static var Rollback: NSSnapshotEventType { get } static var Refresh: NSSnapshotEventType { get } static var MergePolicy: NSSnapshotEventType { get } } | OptionSetType |
To | struct NSSnapshotEventType : OptionSet { init(rawValue rawValue: UInt) static var undoInsertion: NSSnapshotEventType { get } static var undoDeletion: NSSnapshotEventType { get } static var undoUpdate: NSSnapshotEventType { get } static var rollback: NSSnapshotEventType { get } static var refresh: NSSnapshotEventType { get } static var mergePolicy: NSSnapshotEventType { get } func intersect(_ other: NSSnapshotEventType) -> NSSnapshotEventType func exclusiveOr(_ other: NSSnapshotEventType) -> NSSnapshotEventType mutating func unionInPlace(_ other: NSSnapshotEventType) mutating func intersectInPlace(_ other: NSSnapshotEventType) mutating func exclusiveOrInPlace(_ other: NSSnapshotEventType) func isSubsetOf(_ other: NSSnapshotEventType) -> Bool func isDisjointWith(_ other: NSSnapshotEventType) -> Bool func isSupersetOf(_ other: NSSnapshotEventType) -> Bool mutating func subtractInPlace(_ other: NSSnapshotEventType) func isStrictSupersetOf(_ other: NSSnapshotEventType) -> Bool func isStrictSubsetOf(_ other: NSSnapshotEventType) -> Bool } extension NSSnapshotEventType { func union(_ other: NSSnapshotEventType) -> NSSnapshotEventType func intersection(_ other: NSSnapshotEventType) -> NSSnapshotEventType func symmetricDifference(_ other: NSSnapshotEventType) -> NSSnapshotEventType } extension NSSnapshotEventType { func contains(_ member: NSSnapshotEventType) -> Bool mutating func insert(_ newMember: NSSnapshotEventType) -> (inserted: Bool, memberAfterInsert: NSSnapshotEventType) mutating func remove(_ member: NSSnapshotEventType) -> NSSnapshotEventType? mutating func update(with newMember: NSSnapshotEventType) -> NSSnapshotEventType? } extension NSSnapshotEventType { convenience init() mutating func formUnion(_ other: NSSnapshotEventType) mutating func formIntersection(_ other: NSSnapshotEventType) mutating func formSymmetricDifference(_ other: NSSnapshotEventType) } extension NSSnapshotEventType { convenience init<S : Sequence where S.Iterator.Element == NSSnapshotEventType>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSSnapshotEventType...) mutating func subtract(_ other: NSSnapshotEventType) func isSubset(of other: NSSnapshotEventType) -> Bool func isSuperset(of other: NSSnapshotEventType) -> Bool func isDisjoint(with other: NSSnapshotEventType) -> Bool func subtracting(_ other: NSSnapshotEventType) -> NSSnapshotEventType var isEmpty: Bool { get } func isStrictSuperset(of other: NSSnapshotEventType) -> Bool func isStrictSubset(of other: NSSnapshotEventType) -> Bool } | OptionSet |
Modified NSSnapshotEventType.mergePolicy
Declaration | |
---|---|
From | static var MergePolicy: NSSnapshotEventType { get } |
To | static var mergePolicy: NSSnapshotEventType { get } |
Modified NSSnapshotEventType.refresh
Declaration | |
---|---|
From | static var Refresh: NSSnapshotEventType { get } |
To | static var refresh: NSSnapshotEventType { get } |
Modified NSSnapshotEventType.rollback
Declaration | |
---|---|
From | static var Rollback: NSSnapshotEventType { get } |
To | static var rollback: NSSnapshotEventType { get } |
Modified NSSnapshotEventType.undoDeletion
Declaration | |
---|---|
From | static var UndoDeletion: NSSnapshotEventType { get } |
To | static var undoDeletion: NSSnapshotEventType { get } |
Modified NSSnapshotEventType.undoInsertion
Declaration | |
---|---|
From | static var UndoInsertion: NSSnapshotEventType { get } |
To | static var undoInsertion: NSSnapshotEventType { get } |
Modified NSSnapshotEventType.undoUpdate
Declaration | |
---|---|
From | static var UndoUpdate: NSSnapshotEventType { get } |
To | static var undoUpdate: NSSnapshotEventType { get } |
Modified NSFetchRequestExpressionType
Declaration | |
---|---|
From | let NSFetchRequestExpressionType: NSExpressionType |
To | let NSFetchRequestExpressionType: NSExpression.ExpressionType |
Declaration | |
---|---|
From | typealias NSPersistentStoreAsynchronousFetchResultCompletionBlock = (NSAsynchronousFetchResult) -> Void |
To | typealias NSPersistentStoreAsynchronousFetchResultCompletionBlock = (NSAsynchronousFetchResult<NSFetchRequestResult>) -> Swift.Void |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |