From 535b33ca7507efaefd8a0f1e81a1b8050263e8d9 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Wed, 7 Jun 2023 13:40:25 +0900 Subject: [PATCH 1/9] test reverting back to unsafeDowncast --- Sources/DynamicObject.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/DynamicObject.swift b/Sources/DynamicObject.swift index 3013c37..30feea3 100644 --- a/Sources/DynamicObject.swift +++ b/Sources/DynamicObject.swift @@ -115,8 +115,7 @@ extension NSManagedObject: DynamicObject { public class func cs_fromRaw(object: NSManagedObject) -> Self { - // unsafeDowncast fails debug assertion starting Swift 5.2 - return _unsafeUncheckedDowncast(object, to: self) + return unsafeDowncast(object, to: self) } public static func cs_matches(object: NSManagedObject) -> Bool { From 4b4ae616351efd0a88d038f164564395307d9511 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Wed, 7 Jun 2023 13:43:11 +0900 Subject: [PATCH 2/9] add conditional compilation --- Sources/DynamicObject.swift | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Sources/DynamicObject.swift b/Sources/DynamicObject.swift index 30feea3..605e1d1 100644 --- a/Sources/DynamicObject.swift +++ b/Sources/DynamicObject.swift @@ -114,8 +114,15 @@ extension NSManagedObject: DynamicObject { } public class func cs_fromRaw(object: NSManagedObject) -> Self { - + +#if swift(>=5.9) return unsafeDowncast(object, to: self) + +#else + // unsafeDowncast fails debug assertion starting Swift 5.2 + return _unsafeUncheckedDowncast(object, to: self) + +#endif } public static func cs_matches(object: NSManagedObject) -> Bool { From 7988d98b923a35038de3e7dd5a3a1e47386f3ca7 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Wed, 7 Jun 2023 14:17:10 +0900 Subject: [PATCH 3/9] fix warnings --- .../ColorsDemo/Modern.ColorsDemo.SwiftUI.ListView.swift | 2 +- Sources/CoreStore+CustomDebugStringConvertible.swift | 1 + .../Internals.DiffableDataUIDispatcher.DiffResult.swift | 8 ++++---- Sources/Select.swift | 4 ++-- Sources/Where.swift | 4 ++-- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Demo/Sources/Demos/Modern/ColorsDemo/Modern.ColorsDemo.SwiftUI.ListView.swift b/Demo/Sources/Demos/Modern/ColorsDemo/Modern.ColorsDemo.SwiftUI.ListView.swift index ab57c19..e11a4cf 100644 --- a/Demo/Sources/Demos/Modern/ColorsDemo/Modern.ColorsDemo.SwiftUI.ListView.swift +++ b/Demo/Sources/Demos/Modern/ColorsDemo/Modern.ColorsDemo.SwiftUI.ListView.swift @@ -63,7 +63,7 @@ extension Modern.ColorsDemo.SwiftUI { } } } - .animation(.default) +// .animation(.default) // breaks layout .listStyle(PlainListStyle()) .edgesIgnoringSafeArea([]) } diff --git a/Sources/CoreStore+CustomDebugStringConvertible.swift b/Sources/CoreStore+CustomDebugStringConvertible.swift index ff56e49..0435907 100644 --- a/Sources/CoreStore+CustomDebugStringConvertible.swift +++ b/Sources/CoreStore+CustomDebugStringConvertible.swift @@ -1215,6 +1215,7 @@ extension NSAttributeType: CoreStoreDebugStringConvertible { case .objectIDAttributeType: return ".objectIDAttributeType" case .UUIDAttributeType: return ".UUIDAttributeType" case .URIAttributeType: return ".URIAttributeType" + case .compositeAttributeType: return ".compositeAttributeType" @unknown default: fatalError() } diff --git a/Sources/Internals.DiffableDataUIDispatcher.DiffResult.swift b/Sources/Internals.DiffableDataUIDispatcher.DiffResult.swift index 17b7bd7..200fb2e 100644 --- a/Sources/Internals.DiffableDataUIDispatcher.DiffResult.swift +++ b/Sources/Internals.DiffableDataUIDispatcher.DiffResult.swift @@ -213,11 +213,11 @@ extension Internals.DiffableDataUIDispatcher { // Implementation based on https://github.com/ra1028/DifferenceKit @usableFromInline - internal struct Trace { - + internal struct Trace { + @usableFromInline - internal var reference: Index? - + internal var reference: I? + @usableFromInline internal var deleteOffset = 0 diff --git a/Sources/Select.swift b/Sources/Select.swift index 91c43c4..79e987c 100644 --- a/Sources/Select.swift +++ b/Sources/Select.swift @@ -503,8 +503,8 @@ public struct Select: SelectClause, Hasha // MARK: Equatable - public static func == (lhs: Select, rhs: Select) -> Bool { - + public static func == (lhs: Select, rhs: Select) -> Bool { + return lhs.selectTerms == rhs.selectTerms } diff --git a/Sources/Where.swift b/Sources/Where.swift index c8a9e75..6be2910 100644 --- a/Sources/Where.swift +++ b/Sources/Where.swift @@ -250,8 +250,8 @@ public struct Where: WhereClauseType, FetchClause, QueryClause - parameter keyPath: the keyPath to compare with - parameter object: the arguments for the `==` operator */ - public init(_ keyPath: KeyPathString, isEqualTo object: O?) { - + public init(_ keyPath: KeyPathString, isEqualTo object: Other?) { + switch object { case nil: From a8bd937c68e41fce89ae8119c4a9c3b9c841c01d Mon Sep 17 00:00:00 2001 From: John Estropia Date: Thu, 8 Jun 2023 11:02:14 +0900 Subject: [PATCH 4/9] version bump --- CoreStore.podspec | 2 +- CoreStore.xcodeproj/project.pbxproj | 16 ++++++++-------- CoreStoreTests/Info.plist | 2 +- Package.swift | 3 +-- README.md | 6 +++--- .../CoreStore+CustomDebugStringConvertible.swift | 7 ++++++- Sources/Internals.EntityIdentifier.swift | 2 +- 7 files changed, 21 insertions(+), 17 deletions(-) diff --git a/CoreStore.podspec b/CoreStore.podspec index d4e757e..8a0bd8f 100644 --- a/CoreStore.podspec +++ b/CoreStore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "CoreStore" - s.version = "9.0.0" + s.version = "9.1.0" s.swift_version = "5.7" s.license = "MIT" s.homepage = "https://github.com/JohnEstropia/CoreStore" diff --git a/CoreStore.xcodeproj/project.pbxproj b/CoreStore.xcodeproj/project.pbxproj index d9cb0d3..72348c4 100644 --- a/CoreStore.xcodeproj/project.pbxproj +++ b/CoreStore.xcodeproj/project.pbxproj @@ -3102,7 +3102,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3126,7 +3126,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3184,7 +3184,7 @@ GCC_NO_COMMON_BLOCKS = YES; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3211,7 +3211,7 @@ GCC_NO_COMMON_BLOCKS = YES; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3317,7 +3317,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3348,7 +3348,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3414,7 +3414,7 @@ GCC_NO_COMMON_BLOCKS = YES; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, @@ -3443,7 +3443,7 @@ GCC_NO_COMMON_BLOCKS = YES; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 9.0.0; + MARKETING_VERSION = 9.1.0; OTHER_LDFLAGS = ( "-weak_framework", Combine, diff --git a/CoreStoreTests/Info.plist b/CoreStoreTests/Info.plist index 89acc5e..b437fa4 100644 --- a/CoreStoreTests/Info.plist +++ b/CoreStoreTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 9.0.0 + 9.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/Package.swift b/Package.swift index 68aa8ca..c9813e5 100644 --- a/Package.swift +++ b/Package.swift @@ -39,8 +39,7 @@ let package = Package( .target( name: "CoreStore", dependencies: [], - path: "Sources", - exclude: ["CoreStoreBridge.h", "CoreStoreBridge.m"] + path: "Sources" ), .testTarget( name: "CoreStoreTests", diff --git a/README.md b/README.md index 8c6d767..2c72b0c 100644 --- a/README.md +++ b/README.md @@ -2449,7 +2449,7 @@ var body: some View { ### Install with CocoaPods In your `Podfile`, add ``` -pod 'CoreStore', '~> 9.0' +pod 'CoreStore', '~> 9.1' ``` and run ``` @@ -2460,7 +2460,7 @@ This installs CoreStore as a framework. Declare `import CoreStore` in your swift ### Install with Carthage In your `Cartfile`, add ``` -github "JohnEstropia/CoreStore" >= 9.0.0 +github "JohnEstropia/CoreStore" >= 9.1.0 ``` and run ``` @@ -2471,7 +2471,7 @@ This installs CoreStore as a framework. Declare `import CoreStore` in your swift #### Install with Swift Package Manager: ```swift dependencies: [ - .package(url: "https://github.com/JohnEstropia/CoreStore.git", from: "9.0.0")) + .package(url: "https://github.com/JohnEstropia/CoreStore.git", from: "9.1.0")) ] ``` Declare `import CoreStore` in your swift file to use the library. diff --git a/Sources/CoreStore+CustomDebugStringConvertible.swift b/Sources/CoreStore+CustomDebugStringConvertible.swift index 0435907..9fc00fc 100644 --- a/Sources/CoreStore+CustomDebugStringConvertible.swift +++ b/Sources/CoreStore+CustomDebugStringConvertible.swift @@ -1215,9 +1215,14 @@ extension NSAttributeType: CoreStoreDebugStringConvertible { case .objectIDAttributeType: return ".objectIDAttributeType" case .UUIDAttributeType: return ".UUIDAttributeType" case .URIAttributeType: return ".URIAttributeType" + +#if swift(>=5.9) // Xcode 15 (iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0) case .compositeAttributeType: return ".compositeAttributeType" + +#endif + @unknown default: - fatalError() + fatalError() } } } diff --git a/Sources/Internals.EntityIdentifier.swift b/Sources/Internals.EntityIdentifier.swift index 6d3e45e..8129efe 100644 --- a/Sources/Internals.EntityIdentifier.swift +++ b/Sources/Internals.EntityIdentifier.swift @@ -74,7 +74,7 @@ extension Internals { default: Internals.abort("\(Internals.typeName(DynamicObject.self)) is not meant to be implemented by external types.") } - } + } internal init(_ entityDescription: NSEntityDescription) { From 5d0c4bf8ac243280db233e432c53fee066f8ad1e Mon Sep 17 00:00:00 2001 From: John Estropia Date: Thu, 8 Jun 2023 11:02:23 +0900 Subject: [PATCH 5/9] update jazzy docs --- docs/Classes.html | 2471 +++------ docs/Classes/AsynchronousDataTransaction.html | 644 ++- docs/Classes/BaseDataTransaction.html | 933 ++-- docs/Classes/CSCoreStore.html | 2847 ----------- docs/Classes/CSDataStack.html | 2973 ----------- docs/Classes/CSGroupBy.html | 1042 ---- docs/Classes/CSInto.html | 1089 ---- docs/Classes/CSMigrationType.html | 1123 ---- docs/Classes/CSOrderBy.html | 1050 ---- docs/Classes/CSSectionBy.html | 1035 ---- docs/Classes/CSSelect.html | 1326 ----- docs/Classes/CSWhere.html | 1228 ----- docs/Classes/CoreStoreObject.html | 608 ++- docs/Classes/CoreStoreObjectObjectDiff.html | 440 +- docs/Classes/CoreStoreObjectOrderedDiff.html | 440 +- .../CoreStoreObjectTransformableDiff.html | 440 +- .../Classes/CoreStoreObjectUnorderedDiff.html | 440 +- docs/Classes/CoreStoreObjectValueDiff.html | 440 +- docs/Classes/CoreStoreSchema.html | 478 +- docs/Classes/CustomSchemaMappingProvider.html | 496 +- .../CustomMapping.html | 470 +- .../UnsafeDestinationObject.html | 446 +- .../UnsafeSourceObject.html | 446 +- docs/Classes/DataStack.html | 1845 +++++-- .../DataStack/AddStoragePublisher.html | 1144 +++++ docs/Classes/DataStack/AsyncNamespace.html | 1626 ++++++ docs/Classes/DataStack/ReactiveNamespace.html | 1643 ++++++ docs/Classes/DefaultLogger.html | 456 +- docs/Classes/DynamicEntity.html | 460 +- docs/Classes/Entity.html | 478 +- docs/Classes/InMemoryStore.html | 504 +- .../InferredSchemaMappingProvider.html | 470 +- docs/Classes/ListMonitor.html | 684 ++- .../ListPublisher.html} | 2098 ++++---- .../ListPublisher/ReactiveNamespace.html | 1153 +++++ .../ListPublisher/SnapshotPublisher.html | 1144 +++++ docs/Classes/ObjectMonitor.html | 786 ++- ...aTransaction.html => ObjectPublisher.html} | 2180 ++++---- .../ObjectPublisher/ReactiveNamespace.html | 1285 +++++ .../ObjectPublisher/SnapshotPublisher.html | 1144 +++++ docs/Classes/SQLiteStore.html | 524 +- docs/Classes/SchemaHistory.html | 471 +- docs/Classes/SynchronousDataTransaction.html | 636 ++- docs/Classes/UnsafeDataModelSchema.html | 498 +- docs/Classes/UnsafeDataTransaction.html | 653 ++- docs/Classes/UserInfo.html | 450 +- docs/Classes/XcodeDataModelSchema.html | 514 +- docs/Classes/XcodeSchemaMappingProvider.html | 472 +- docs/Enums.html | 810 +-- docs/Enums/CSErrorCode.html | 1114 ---- docs/Enums/CSLocalStorageOptions.html | 1028 ---- docs/Enums/CoreStore.html | 4504 ----------------- .../CoreStoreDefaults.html} | 672 ++- docs/Enums/CoreStoreError.html | 592 ++- docs/Enums/CoreStoreErrorCode.html | 446 +- docs/Enums/DiffableDataSource.html | 1289 +++++ .../Enums/DiffableDataSource/BaseAdapter.html | 1683 ++++++ .../CollectionViewAdapter.html | 1185 +++++ .../DiffableDataSource/TableViewAdapter.html | 1199 +++++ .../FieldCoders.html} | 673 ++- .../FieldCoders/DefaultNSSecureCoding.html | 1139 +++++ docs/Enums/FieldCoders/Json.html | 1144 +++++ docs/Enums/FieldCoders/NSCoding.html | 1139 +++++ docs/Enums/FieldCoders/Plist.html | 1144 +++++ .../FieldContainer.html} | 1020 ++-- docs/Enums/FieldContainer/Coded.html | 3009 +++++++++++ docs/Enums/FieldContainer/Relationship.html | 2105 ++++++++ .../Relationship/DeleteRule.html | 1142 +++++ docs/Enums/FieldContainer/Stored.html | 1967 +++++++ docs/Enums/FieldContainer/Virtual.html | 1428 ++++++ .../MigrationProgress.html} | 548 +- docs/Enums/MigrationType.html | 512 +- docs/Enums/RelationshipContainer.html | 606 ++- .../RelationshipContainer/ToManyOrdered.html | 773 +-- .../ToManyUnordered.html | 773 +-- docs/Enums/RelationshipContainer/ToOne.html | 775 +-- docs/Enums/SelectTerm.html | 1737 ++----- docs/Enums/TransformableContainer.html | 460 +- .../TransformableContainer/Optional.html | 712 ++- .../TransformableContainer/Required.html | 710 ++- docs/Enums/ValueContainer.html | 460 +- docs/Enums/ValueContainer/Optional.html | 755 +-- docs/Enums/ValueContainer/Required.html | 755 +-- docs/Extensions.html | 2267 ++++++--- .../Array.html} | 978 ++-- docs/Extensions/Bool.html | 535 +- docs/Extensions/CGFloat.html | 535 +- docs/Extensions/Data.html | 535 +- docs/Extensions/Date.html | 535 +- docs/Extensions/DiffableDataSource.html | 1132 +++++ .../CollectionViewAdapter.html | 1195 +++++ .../DefaultCollectionViewTarget.html | 1318 +++++ docs/Extensions/Double.html | 535 +- .../EnvironmentValues.html} | 675 ++- docs/Extensions/Float.html | 535 +- docs/Extensions/ForEach.html | 1450 ++++++ docs/Extensions/Int.html | 535 +- docs/Extensions/Int16.html | 535 +- docs/Extensions/Int32.html | 535 +- docs/Extensions/Int64.html | 535 +- docs/Extensions/Int8.html | 535 +- docs/Extensions/KeyPath.html | 604 ++- docs/Extensions/KeyPathString.html | 460 +- docs/Extensions/NSAttributeType.html | 442 +- docs/Extensions/NSData.html | 580 ++- docs/Extensions/NSDate.html | 580 ++- docs/Extensions/NSDeleteRule.html | 442 +- docs/Extensions/NSManagedObject.html | 772 +-- docs/Extensions/NSManagedObjectContext.html | 554 +- docs/Extensions/NSManagedObjectID.html | 457 +- docs/Extensions/NSNull.html | 457 +- docs/Extensions/NSNumber.html | 580 ++- .../NSOrderedSet.html} | 548 +- .../CSTweak.html => Extensions/NSSet.html} | 595 +-- docs/Extensions/NSString.html | 581 ++- docs/Extensions/NSURL.html | 580 ++- docs/Extensions/NSUUID.html | 579 ++- docs/Extensions/Optional.html | 1538 ++++++ docs/Extensions/Progress.html | 495 +- docs/Extensions/RawRepresentable.html | 453 +- docs/Extensions/Result.html | 443 +- docs/Extensions/Selector.html | 442 +- docs/Extensions/Sequence.html | 461 +- .../Set.html} | 986 ++-- docs/Extensions/String.html | 536 +- docs/Extensions/URL.html | 536 +- docs/Extensions/UUID.html | 536 +- docs/Functions.html | 1718 +++++-- docs/Global Variables.html | 449 +- docs/Protocols.html | 1874 +++---- ...lowedObjectiveCAttributeKeyPathValue.html} | 518 +- .../AllowedObjectiveCKeyPathValue.html} | 491 +- docs/Protocols/AnyObjectRepresentation.html | 1106 ++++ docs/Protocols/AnyWhereClause.html | 442 +- .../AttributeKeyPathStringConvertible.html | 1079 ++++ docs/Protocols/CSDynamicSchema.html | 976 ---- docs/Protocols/CSListObjectObserver.html | 1222 ----- docs/Protocols/CSListObserver.html | 1114 ---- docs/Protocols/CSListSectionObserver.html | 1069 ---- docs/Protocols/CSLocalStorage.html | 1032 ---- docs/Protocols/CSObjectObserver.html | 1113 ---- docs/Protocols/CoreStoreLogger.html | 458 +- .../CoreStoreObjectKeyValueObservation.html | 440 +- .../DiffableDataSourceTarget.html} | 1109 ++-- docs/Protocols/DynamicObject.html | 729 ++- docs/Protocols/DynamicSchema.html | 448 +- docs/Protocols/FetchChainableBuilderType.html | 440 +- docs/Protocols/FetchableSource.html | 526 +- .../FieldCoderType.html} | 644 ++- ...oudStorage.html => FieldOptionalType.html} | 528 +- .../FieldRelationshipType.html} | 993 ++-- .../FieldStorableType.html} | 496 +- docs/Protocols/GroupByClause.html | 440 +- docs/Protocols/ImportableObject.html | 446 +- docs/Protocols/ImportableUniqueObject.html | 461 +- ...ath.html => KeyPathStringConvertible.html} | 466 +- docs/Protocols/ListObjectObserver.html | 887 +++- docs/Protocols/ListObserver.html | 756 ++- docs/Protocols/ListSectionObserver.html | 659 ++- docs/Protocols/LocalStorage.html | 446 +- docs/Protocols/ObjectObserver.html | 740 ++- .../ObjectRepresentation.html} | 629 +-- docs/Protocols/OrderByClause.html | 440 +- docs/Protocols/QueryChainableBuilderType.html | 440 +- docs/Protocols/QueryableAttributeType.html | 444 +- docs/Protocols/QueryableSource.html | 482 +- .../RelationshipKeyPathStringConvertible.html | 1079 ++++ docs/Protocols/SchemaMappingProvider.html | 442 +- docs/Protocols/SectionMonitorBuilderType.html | 443 +- docs/Protocols/SelectClause.html | 440 +- docs/Protocols/StorageInterface.html | 454 +- docs/Protocols/WhereClauseType.html | 456 +- docs/Structs.html | 1045 ++-- docs/Structs/FetchChainBuilder.html | 602 ++- docs/Structs/From.html | 1182 ++++- docs/Structs/GroupBy.html | 669 ++- docs/Structs/Into.html | 483 +- docs/Structs/ListReader.html | 1262 +++++ docs/Structs/ListSnapshot.html | 4322 ++++++++++++++++ docs/Structs/ListState.html | 1686 ++++++ docs/Structs/LocalStorageOptions.html | 477 +- docs/Structs/MigrationChain.html | 527 +- .../ObjectProxy.html} | 494 +- .../ObjectReader.html} | 935 ++-- docs/Structs/ObjectSnapshot.html | 1751 +++++++ .../ObjectState.html} | 625 +-- docs/Structs/OrderBy.html | 501 +- docs/Structs/OrderBy/SortKey.html | 588 ++- docs/Structs/PartialObject.html | 729 ++- docs/Structs/QueryChainBuilder.html | 816 ++- docs/Structs/SectionBy.html | 930 +++- docs/Structs/SectionMonitorChainBuilder.html | 621 ++- docs/Structs/Select.html | 584 ++- docs/Structs/Tweak.html | 488 +- docs/Structs/VersionLock.html | 481 +- docs/Structs/Where.html | 1435 ++++-- docs/Structs/Where/Expression.html | 568 ++- docs/Typealiases.html | 509 +- docs/badge.svg | 4 +- docs/css/highlight.css | 400 +- docs/css/jazzy.css | 48 +- .../Contents/Resources/Documents/Classes.html | 2471 +++------ .../Classes/AsynchronousDataTransaction.html | 644 ++- .../Classes/BaseDataTransaction.html | 933 ++-- .../Documents/Classes/CSCoreStore.html | 2847 ----------- .../Documents/Classes/CSDataStack.html | 2973 ----------- .../Documents/Classes/CSGroupBy.html | 1042 ---- .../Documents/Classes/CSMigrationResult.html | 1254 ----- .../Documents/Classes/CSMigrationType.html | 1123 ---- .../Documents/Classes/CSOrderBy.html | 1050 ---- .../Documents/Classes/CSSectionBy.html | 1035 ---- .../Resources/Documents/Classes/CSSelect.html | 1326 ----- .../Resources/Documents/Classes/CSWhere.html | 1228 ----- .../Documents/Classes/CoreStoreObject.html | 608 ++- .../Classes/CoreStoreObjectObjectDiff.html | 440 +- .../Classes/CoreStoreObjectOrderedDiff.html | 440 +- .../CoreStoreObjectTransformableDiff.html | 440 +- .../Classes/CoreStoreObjectUnorderedDiff.html | 440 +- .../Classes/CoreStoreObjectValueDiff.html | 440 +- .../Documents/Classes/CoreStoreSchema.html | 478 +- .../Classes/CustomSchemaMappingProvider.html | 496 +- .../CustomMapping.html | 470 +- .../UnsafeDestinationObject.html | 446 +- .../UnsafeSourceObject.html | 446 +- .../Documents/Classes/DataStack.html | 1845 +++++-- .../DataStack/AddStoragePublisher.html | 1144 +++++ .../Classes/DataStack/AsyncNamespace.html | 1626 ++++++ .../Classes/DataStack/ReactiveNamespace.html | 1643 ++++++ .../Documents/Classes/DefaultLogger.html | 456 +- .../Documents/Classes/DynamicEntity.html | 460 +- .../Resources/Documents/Classes/Entity.html | 478 +- .../Documents/Classes/InMemoryStore.html | 504 +- .../InferredSchemaMappingProvider.html | 470 +- .../Documents/Classes/ListMonitor.html | 684 ++- .../Documents/Classes/ListPublisher.html} | 2098 ++++---- .../ListPublisher/ReactiveNamespace.html | 1153 +++++ .../ListPublisher/SnapshotPublisher.html | 1144 +++++ .../Documents/Classes/ObjectMonitor.html | 786 ++- ...aTransaction.html => ObjectPublisher.html} | 2180 ++++---- .../ObjectPublisher/ReactiveNamespace.html | 1285 +++++ .../ObjectPublisher/SnapshotPublisher.html | 1144 +++++ .../Documents/Classes/SQLiteStore.html | 524 +- .../Documents/Classes/SchemaHistory.html | 471 +- .../Classes/SynchronousDataTransaction.html | 636 ++- .../Classes/UnsafeDataModelSchema.html | 498 +- .../Classes/UnsafeDataTransaction.html | 653 ++- .../Resources/Documents/Classes/UserInfo.html | 450 +- .../Classes/XcodeDataModelSchema.html | 514 +- .../Classes/XcodeSchemaMappingProvider.html | 472 +- .../Contents/Resources/Documents/Enums.html | 810 +-- .../Documents/Enums/CSErrorCode.html | 1114 ---- .../Enums/CSLocalStorageOptions.html | 1028 ---- .../Resources/Documents/Enums/CoreStore.html | 4504 ----------------- .../CoreStoreDefaults.html} | 672 ++- .../Documents/Enums/CoreStoreError.html | 592 ++- .../Documents/Enums/CoreStoreErrorCode.html | 446 +- .../Documents/Enums/DiffableDataSource.html | 1289 +++++ .../Enums/DiffableDataSource/BaseAdapter.html | 1683 ++++++ .../CollectionViewAdapter.html | 1185 +++++ .../DiffableDataSource/TableViewAdapter.html | 1199 +++++ .../FieldCoders.html} | 673 ++- .../FieldCoders/DefaultNSSecureCoding.html | 1139 +++++ .../Documents/Enums/FieldCoders/Json.html | 1144 +++++ .../Documents/Enums/FieldCoders/NSCoding.html | 1139 +++++ .../Documents/Enums/FieldCoders/Plist.html | 1144 +++++ .../Documents/Enums/FieldContainer.html} | 1020 ++-- .../Documents/Enums/FieldContainer/Coded.html | 3009 +++++++++++ .../Enums/FieldContainer/Relationship.html | 2105 ++++++++ .../Relationship/DeleteRule.html | 1142 +++++ .../Enums/FieldContainer/Stored.html | 1967 +++++++ .../Enums/FieldContainer/Virtual.html | 1428 ++++++ .../MigrationProgress.html} | 548 +- .../Documents/Enums/MigrationType.html | 512 +- .../Enums/RelationshipContainer.html | 606 ++- .../RelationshipContainer/ToManyOrdered.html | 773 +-- .../ToManyUnordered.html | 773 +-- .../Enums/RelationshipContainer/ToOne.html | 775 +-- .../Resources/Documents/Enums/SelectTerm.html | 1737 ++----- .../Enums/TransformableContainer.html | 460 +- .../TransformableContainer/Optional.html | 712 ++- .../TransformableContainer/Required.html | 710 ++- .../Documents/Enums/ValueContainer.html | 460 +- .../Enums/ValueContainer/Optional.html | 755 +-- .../Enums/ValueContainer/Required.html | 755 +-- .../Resources/Documents/Extensions.html | 2267 ++++++--- .../Resources/Documents/Extensions/Array.html | 1295 +++++ .../Resources/Documents/Extensions/Bool.html | 535 +- .../Documents/Extensions/CGFloat.html | 535 +- .../Resources/Documents/Extensions/Data.html | 535 +- .../Resources/Documents/Extensions/Date.html | 535 +- .../Extensions/DiffableDataSource.html | 1132 +++++ .../CollectionViewAdapter.html | 1195 +++++ .../DefaultCollectionViewTarget.html | 1318 +++++ .../Documents/Extensions/Double.html | 535 +- .../Extensions/EnvironmentValues.html} | 675 ++- .../Resources/Documents/Extensions/Float.html | 535 +- .../Documents/Extensions/ForEach.html | 1450 ++++++ .../Resources/Documents/Extensions/Int.html | 535 +- .../Resources/Documents/Extensions/Int16.html | 535 +- .../Resources/Documents/Extensions/Int32.html | 535 +- .../Resources/Documents/Extensions/Int64.html | 535 +- .../Resources/Documents/Extensions/Int8.html | 535 +- .../Documents/Extensions/KeyPath.html | 604 ++- .../Documents/Extensions/KeyPathString.html | 460 +- .../Documents/Extensions/NSAttributeType.html | 442 +- .../Documents/Extensions/NSData.html | 580 ++- .../Documents/Extensions/NSDate.html | 580 ++- .../Documents/Extensions/NSDeleteRule.html | 442 +- .../Documents/Extensions/NSManagedObject.html | 772 +-- .../Extensions/NSManagedObjectContext.html | 554 +- .../Extensions/NSManagedObjectID.html | 457 +- .../Documents/Extensions/NSNull.html | 457 +- .../Documents/Extensions/NSNumber.html | 580 ++- .../Documents/Extensions/NSOrderedSet.html} | 548 +- .../CSTweak.html => Extensions/NSSet.html} | 595 +-- .../Documents/Extensions/NSString.html | 581 ++- .../Resources/Documents/Extensions/NSURL.html | 580 ++- .../Documents/Extensions/NSUUID.html | 579 ++- .../Documents/Extensions/Optional.html | 1538 ++++++ .../Documents/Extensions/Progress.html | 495 +- .../Extensions/RawRepresentable.html | 453 +- .../Documents/Extensions/Result.html | 443 +- .../Documents/Extensions/Selector.html | 442 +- .../Documents/Extensions/Sequence.html | 461 +- .../Set.html} | 977 ++-- .../Documents/Extensions/String.html | 536 +- .../Resources/Documents/Extensions/URL.html | 536 +- .../Resources/Documents/Extensions/UUID.html | 536 +- .../Resources/Documents/Functions.html | 1718 +++++-- .../Resources/Documents/Global Variables.html | 449 +- .../Resources/Documents/Protocols.html | 1874 +++---- ...lowedObjectiveCAttributeKeyPathValue.html} | 518 +- .../AllowedObjectiveCKeyPathValue.html} | 491 +- .../Protocols/AnyObjectRepresentation.html | 1106 ++++ .../Documents/Protocols/AnyWhereClause.html | 442 +- .../AttributeKeyPathStringConvertible.html | 1079 ++++ .../Documents/Protocols/CSDynamicSchema.html | 976 ---- .../Protocols/CSListObjectObserver.html | 1222 ----- .../Documents/Protocols/CSListObserver.html | 1114 ---- .../Protocols/CSListSectionObserver.html | 1069 ---- .../Documents/Protocols/CSLocalStorage.html | 1032 ---- .../Documents/Protocols/CSObjectObserver.html | 1113 ---- .../Documents/Protocols/CoreStoreLogger.html | 458 +- .../CoreStoreObjectKeyValueObservation.html | 440 +- .../DiffableDataSourceTarget.html} | 1109 ++-- .../Documents/Protocols/DynamicObject.html | 729 ++- .../Documents/Protocols/DynamicSchema.html | 448 +- .../Protocols/FetchChainableBuilderType.html | 440 +- .../Documents/Protocols/FetchableSource.html | 526 +- .../Documents/Protocols/FieldCoderType.html} | 644 ++- .../Protocols/FieldOptionalType.html | 1106 ++++ .../Protocols/FieldRelationshipType.html} | 775 +-- .../FieldStorableType.html} | 563 ++- .../Documents/Protocols/GroupByClause.html | 440 +- .../Documents/Protocols/ImportableObject.html | 446 +- .../Protocols/ImportableUniqueObject.html | 461 +- ...ath.html => KeyPathStringConvertible.html} | 466 +- .../Protocols/ListObjectObserver.html | 887 +++- .../Documents/Protocols/ListObserver.html | 756 ++- .../Protocols/ListSectionObserver.html | 659 ++- .../Documents/Protocols/LocalStorage.html | 446 +- .../Documents/Protocols/ObjectObserver.html | 740 ++- .../ObjectRepresentation.html} | 629 +-- .../Documents/Protocols/OrderByClause.html | 440 +- .../Protocols/QueryChainableBuilderType.html | 440 +- .../Protocols/QueryableAttributeType.html | 444 +- .../Documents/Protocols/QueryableSource.html | 482 +- .../RelationshipKeyPathStringConvertible.html | 1079 ++++ .../Protocols/SchemaMappingProvider.html | 442 +- .../Protocols/SectionMonitorBuilderType.html | 443 +- .../Documents/Protocols/SelectClause.html | 440 +- .../Documents/Protocols/StorageInterface.html | 454 +- .../Documents/Protocols/WhereClauseType.html | 456 +- .../Contents/Resources/Documents/Structs.html | 1045 ++-- .../Documents/Structs/FetchChainBuilder.html | 602 ++- .../Resources/Documents/Structs/From.html | 1182 ++++- .../Resources/Documents/Structs/GroupBy.html | 669 ++- .../Resources/Documents/Structs/Into.html | 483 +- .../Documents/Structs/ListReader.html | 1262 +++++ .../Documents/Structs/ListSnapshot.html | 4322 ++++++++++++++++ .../Documents/Structs/ListState.html | 1686 ++++++ .../Structs/LocalStorageOptions.html | 477 +- .../Documents/Structs/MigrationChain.html | 527 +- .../Documents/Structs/ObjectProxy.html} | 494 +- .../Documents/Structs/ObjectReader.html} | 935 ++-- .../Documents/Structs/ObjectSnapshot.html | 1751 +++++++ .../Documents/Structs/ObjectState.html} | 625 +-- .../Resources/Documents/Structs/OrderBy.html | 501 +- .../Documents/Structs/OrderBy/SortKey.html | 588 ++- .../Documents/Structs/PartialObject.html | 729 ++- .../Documents/Structs/QueryChainBuilder.html | 816 ++- .../Documents/Structs/SectionBy.html | 930 +++- .../Structs/SectionMonitorChainBuilder.html | 621 ++- .../Resources/Documents/Structs/Select.html | 584 ++- .../Resources/Documents/Structs/Tweak.html | 488 +- .../Documents/Structs/VersionLock.html | 481 +- .../Resources/Documents/Structs/Where.html | 1435 ++++-- .../Documents/Structs/Where/Expression.html | 568 ++- .../Resources/Documents/Typealiases.html | 509 +- .../Resources/Documents/css/highlight.css | 400 +- .../Resources/Documents/css/jazzy.css | 48 +- .../Contents/Resources/Documents/index.html | 1887 +++++-- .../Contents/Resources/Documents/js/jazzy.js | 67 +- .../Resources/Documents/js/jazzy.search.js | 31 +- .../Resources/Documents/js/jquery.min.js | 6 +- .../Resources/Documents/js/lunr.min.js | 6 +- .../Documents/js/typeahead.jquery.js | 262 +- .../Contents/Resources/Documents/search.json | 2 +- .../Contents/Resources/docSet.dsidx | Bin 552960 -> 622592 bytes docs/docsets/CoreStore.tgz | Bin 1212489 -> 1494733 bytes docs/index.html | 1887 +++++-- docs/js/jazzy.js | 67 +- docs/js/jazzy.search.js | 31 +- docs/js/jquery.min.js | 6 +- docs/js/lunr.min.js | 6 +- docs/js/typeahead.jquery.js | 262 +- docs/search.json | 2 +- docs/undocumented.json | 1615 +++--- 418 files changed, 223853 insertions(+), 129568 deletions(-) delete mode 100644 docs/Classes/CSCoreStore.html delete mode 100644 docs/Classes/CSDataStack.html delete mode 100644 docs/Classes/CSGroupBy.html delete mode 100644 docs/Classes/CSInto.html delete mode 100644 docs/Classes/CSMigrationType.html delete mode 100644 docs/Classes/CSOrderBy.html delete mode 100644 docs/Classes/CSSectionBy.html delete mode 100644 docs/Classes/CSSelect.html delete mode 100644 docs/Classes/CSWhere.html create mode 100644 docs/Classes/DataStack/AddStoragePublisher.html create mode 100644 docs/Classes/DataStack/AsyncNamespace.html create mode 100644 docs/Classes/DataStack/ReactiveNamespace.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSListMonitor.html => Classes/ListPublisher.html} (55%) create mode 100644 docs/Classes/ListPublisher/ReactiveNamespace.html create mode 100644 docs/Classes/ListPublisher/SnapshotPublisher.html rename docs/Classes/{CSBaseDataTransaction.html => ObjectPublisher.html} (51%) create mode 100644 docs/Classes/ObjectPublisher/ReactiveNamespace.html create mode 100644 docs/Classes/ObjectPublisher/SnapshotPublisher.html delete mode 100644 docs/Enums/CSErrorCode.html delete mode 100644 docs/Enums/CSLocalStorageOptions.html delete mode 100644 docs/Enums/CoreStore.html rename docs/{Classes/CSInMemoryStore.html => Enums/CoreStoreDefaults.html} (72%) create mode 100644 docs/Enums/DiffableDataSource.html create mode 100644 docs/Enums/DiffableDataSource/BaseAdapter.html create mode 100644 docs/Enums/DiffableDataSource/CollectionViewAdapter.html create mode 100644 docs/Enums/DiffableDataSource/TableViewAdapter.html rename docs/{Classes/CSXcodeDataModelSchema.html => Enums/FieldCoders.html} (69%) create mode 100644 docs/Enums/FieldCoders/DefaultNSSecureCoding.html create mode 100644 docs/Enums/FieldCoders/Json.html create mode 100644 docs/Enums/FieldCoders/NSCoding.html create mode 100644 docs/Enums/FieldCoders/Plist.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSSQLiteStore.html => Enums/FieldContainer.html} (62%) create mode 100644 docs/Enums/FieldContainer/Coded.html create mode 100644 docs/Enums/FieldContainer/Relationship.html create mode 100644 docs/Enums/FieldContainer/Relationship/DeleteRule.html create mode 100644 docs/Enums/FieldContainer/Stored.html create mode 100644 docs/Enums/FieldContainer/Virtual.html rename docs/{Classes/CSObjectMonitor.html => Enums/MigrationProgress.html} (72%) rename docs/{Classes/CSSynchronousDataTransaction.html => Extensions/Array.html} (69%) create mode 100644 docs/Extensions/DiffableDataSource.html create mode 100644 docs/Extensions/DiffableDataSource/CollectionViewAdapter.html create mode 100644 docs/Extensions/DiffableDataSource/DefaultCollectionViewTarget.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Structs/CloudStorageOptions.html => Extensions/EnvironmentValues.html} (73%) create mode 100644 docs/Extensions/ForEach.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSError.html => Extensions/NSOrderedSet.html} (72%) rename docs/{Classes/CSTweak.html => Extensions/NSSet.html} (72%) create mode 100644 docs/Extensions/Optional.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSAsynchronousDataTransaction.html => Extensions/Set.html} (69%) rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CoreStoreObjectiveCType.html => Protocols/AllowedObjectiveCAttributeKeyPathValue.html} (73%) rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CoreStoreSwiftType.html => Protocols/AllowedObjectiveCKeyPathValue.html} (74%) create mode 100644 docs/Protocols/AnyObjectRepresentation.html create mode 100644 docs/Protocols/AttributeKeyPathStringConvertible.html delete mode 100644 docs/Protocols/CSDynamicSchema.html delete mode 100644 docs/Protocols/CSListObjectObserver.html delete mode 100644 docs/Protocols/CSListObserver.html delete mode 100644 docs/Protocols/CSListSectionObserver.html delete mode 100644 docs/Protocols/CSLocalStorage.html delete mode 100644 docs/Protocols/CSObjectObserver.html rename docs/{Classes/CSUnsafeDataTransaction.html => Protocols/DiffableDataSourceTarget.html} (68%) rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSFrom.html => Protocols/FieldCoderType.html} (72%) rename docs/Protocols/{CloudStorage.html => FieldOptionalType.html} (73%) rename docs/{Classes/CSAsynchronousDataTransaction.html => Protocols/FieldRelationshipType.html} (69%) rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CloudStorage.html => Protocols/FieldStorableType.html} (72%) rename docs/Protocols/{DynamicKeyPath.html => KeyPathStringConvertible.html} (74%) rename docs/{Classes/CSSetupResult.html => Protocols/ObjectRepresentation.html} (70%) create mode 100644 docs/Protocols/RelationshipKeyPathStringConvertible.html create mode 100644 docs/Structs/ListReader.html create mode 100644 docs/Structs/ListSnapshot.html create mode 100644 docs/Structs/ListState.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSStorageInterface.html => Structs/ObjectProxy.html} (68%) rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSSelectTerm.html => Structs/ObjectReader.html} (66%) create mode 100644 docs/Structs/ObjectSnapshot.html rename docs/{docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSUnsafeDataModelSchema.html => Structs/ObjectState.html} (71%) delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSCoreStore.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSDataStack.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSGroupBy.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSMigrationResult.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSMigrationType.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSOrderBy.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSSectionBy.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSSelect.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/CSWhere.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/DataStack/AddStoragePublisher.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/DataStack/AsyncNamespace.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/DataStack/ReactiveNamespace.html rename docs/{Classes/CSListMonitor.html => docsets/CoreStore.docset/Contents/Resources/Documents/Classes/ListPublisher.html} (55%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/ListPublisher/ReactiveNamespace.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/ListPublisher/SnapshotPublisher.html rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/{CSBaseDataTransaction.html => ObjectPublisher.html} (51%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/ObjectPublisher/ReactiveNamespace.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Classes/ObjectPublisher/SnapshotPublisher.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/CSErrorCode.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/CSLocalStorageOptions.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/CoreStore.html rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSInMemoryStore.html => Enums/CoreStoreDefaults.html} (72%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/DiffableDataSource.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/DiffableDataSource/BaseAdapter.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/DiffableDataSource/CollectionViewAdapter.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/DiffableDataSource/TableViewAdapter.html rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSXcodeDataModelSchema.html => Enums/FieldCoders.html} (69%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldCoders/DefaultNSSecureCoding.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldCoders/Json.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldCoders/NSCoding.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldCoders/Plist.html rename docs/{Classes/CSSQLiteStore.html => docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldContainer.html} (62%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldContainer/Coded.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldContainer/Relationship.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldContainer/Relationship/DeleteRule.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldContainer/Stored.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Enums/FieldContainer/Virtual.html rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSObjectMonitor.html => Enums/MigrationProgress.html} (72%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/Array.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/DiffableDataSource.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/DiffableDataSource/CollectionViewAdapter.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/DiffableDataSource/DefaultCollectionViewTarget.html rename docs/{Structs/CloudStorageOptions.html => docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/EnvironmentValues.html} (73%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/ForEach.html rename docs/{Classes/CSError.html => docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/NSOrderedSet.html} (72%) rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSTweak.html => Extensions/NSSet.html} (72%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Extensions/Optional.html rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSSynchronousDataTransaction.html => Extensions/Set.html} (69%) rename docs/{Protocols/CoreStoreObjectiveCType.html => docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/AllowedObjectiveCAttributeKeyPathValue.html} (73%) rename docs/{Protocols/CoreStoreSwiftType.html => docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/AllowedObjectiveCKeyPathValue.html} (74%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/AnyObjectRepresentation.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/AttributeKeyPathStringConvertible.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSDynamicSchema.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSListObjectObserver.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSListObserver.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSListSectionObserver.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSLocalStorage.html delete mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/CSObjectObserver.html rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSUnsafeDataTransaction.html => Protocols/DiffableDataSourceTarget.html} (68%) rename docs/{Classes/CSFrom.html => docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/FieldCoderType.html} (72%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/FieldOptionalType.html rename docs/{Classes/CSMigrationResult.html => docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/FieldRelationshipType.html} (69%) rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSInto.html => Protocols/FieldStorableType.html} (72%) rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/{DynamicKeyPath.html => KeyPathStringConvertible.html} (74%) rename docs/docsets/CoreStore.docset/Contents/Resources/Documents/{Classes/CSSetupResult.html => Protocols/ObjectRepresentation.html} (70%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Protocols/RelationshipKeyPathStringConvertible.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ListReader.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ListSnapshot.html create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ListState.html rename docs/{Protocols/CSStorageInterface.html => docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ObjectProxy.html} (68%) rename docs/{Classes/CSSelectTerm.html => docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ObjectReader.html} (66%) create mode 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ObjectSnapshot.html rename docs/{Classes/CSUnsafeDataModelSchema.html => docsets/CoreStore.docset/Contents/Resources/Documents/Structs/ObjectState.html} (71%) mode change 100755 => 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/js/jquery.min.js mode change 100755 => 100644 docs/docsets/CoreStore.docset/Contents/Resources/Documents/js/lunr.min.js mode change 100755 => 100644 docs/js/jquery.min.js mode change 100755 => 100644 docs/js/lunr.min.js diff --git a/docs/Classes.html b/docs/Classes.html index c1c4222..442faf0 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -21,20 +21,20 @@

- CoreStore Docs + CoreStore 9.1.0 Docs - (90% documented) + (91% documented)

-

+

-

+

- + GitHub View on GitHub

@@ -43,7 +43,7 @@ @@ -59,81 +59,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -170,6 +95,15 @@ + + + @@ -188,9 +122,27 @@ + + + + + + @@ -218,10 +170,10 @@ @@ -229,13 +181,7 @@ Enumerations + +
+
+ + +
+ +

SQLiteStore +

+
+
+
    +
  • +
    + + + + SQLiteStore + +
    +
    +
    +
    +
    +
    +

    A storage interface that is backed by an SQLite database.

    +
    +

    Warning

    + The default SQLite file location for the LegacySQLiteStore and SQLiteStore are different. If the app was depending on CoreStore’s default directories prior to 2.0.0, make sure to use the SQLiteStore.legacy(...) factory methods to create the SQLiteStore instead of using initializers directly. + +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class SQLiteStore : LocalStorage
    +
    extension SQLiteStore: CustomDebugStringConvertible, CoreStoreDebugStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

SynchronousDataTransaction +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The SynchronousDataTransaction provides an interface for DynamicObject creates, updates, and deletes. A transaction object should typically be only used from within a transaction block initiated from DataStack.beginSynchronous(_:).

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class SynchronousDataTransaction : BaseDataTransaction
    +
    extension SynchronousDataTransaction: CustomDebugStringConvertible, CoreStoreDebugStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

UnsafeDataTransaction +

+
+
+
    +
  • +
    + + + + UnsafeDataTransaction + +
    +
    +
    +
    +
    +
    +

    The UnsafeDataTransaction provides an interface for non-contiguous NSManagedObject or CoreStoreObject creates, updates, and deletes. This is useful for making temporary changes, such as partially filled forms. An unsafe transaction object should typically be only used from the main queue.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class UnsafeDataTransaction : BaseDataTransaction
    +
    extension UnsafeDataTransaction: CustomDebugStringConvertible, CoreStoreDebugStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

XcodeDataModelSchema +

+
+
+
    +
  • +
    + + + + XcodeDataModelSchema + +
    +
    +
    +
    +
    +
    +

    The XcodeDataModelSchema describes a model version declared in a single *.xcdatamodeld file.

    +
    CoreStoreDefaults.dataStack = DataStack(
    +    XcodeDataModelSchema(modelName: "MyAppV1", bundle: .main)
    +)
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class XcodeDataModelSchema : DynamicSchema
    +
    extension XcodeDataModelSchema: CustomDebugStringConvertible, CoreStoreDebugStringConvertible
    @@ -2763,9 +1934,11 @@ Observers registered via addObserver(_:) are not retained. Li
    - -

    CoreStoreObjectValueDiff

    -
    +
    + +

    CoreStoreObjectValueDiff +

    +
    • @@ -2796,17 +1969,6 @@ Observers registered via addObserver(_:) are not retained. Li
  • -
-
-
- - @@ -229,13 +181,7 @@ Enumerations
@@ -1003,7 +1147,7 @@

Declaration

Swift

-
public override func create<D>(_ into: Into<D>) -> D where D : DynamicObject
+
public override func create<O>(_ into: Into<O>) -> O where O : DynamicObject
@@ -1038,7 +1182,7 @@ - edit(_:) + edit(_:)
@@ -1053,7 +1197,7 @@

Declaration

Swift

-
public override func edit<D>(_ object: D?) -> D? where D : DynamicObject
+
public override func edit<O>(_ object: O?) -> O? where O : DynamicObject
@@ -1088,7 +1232,7 @@ - edit(_:_:) + edit(_:_:)
@@ -1103,7 +1247,7 @@

Declaration

Swift

-
public override func edit<D>(_ into: Into<D>, _ objectID: NSManagedObjectID) -> D? where D : DynamicObject
+
public override func edit<O>(_ into: Into<O>, _ objectID: NSManagedObjectID) -> O? where O : DynamicObject
@@ -1148,9 +1292,9 @@
  • @@ -1158,14 +1302,60 @@
    -

    Deletes a specified NSManagedObject or CoreStoreObject.

    +

    Deletes the objects with the specified NSManagedObjectIDs.

    Declaration

    Swift

    -
    public override func delete<D>(_ object: D?) where D : DynamicObject
    +
    public override func delete<S>(objectIDs: S) where S : Sequence, S.Element : NSManagedObjectID
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + objectIDs + + +
    +

    the NSManagedObjectIDs of the objects to delete

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + delete(_:_:) + +
    +
    +
    +
    +
    +
    +

    Deletes the specified NSManagedObjects or CoreStoreObjects represented by series of ObjectRepresentations.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public override func delete<O>(_ object: O?, _ objects: O?...) where O : ObjectRepresentation
    @@ -1181,65 +1371,7 @@
    -

    the NSManagedObject or CoreStoreObject to be deleted

    -
    - - - - -
    - - -
  • -
  • -
    - - - - delete(_:_:_:) - -
    -
    -
    -
    -
    -
    -

    Deletes the specified DynamicObjects.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public override func delete<D>(_ object1: D?, _ object2: D?, _ objects: D?...) where D : DynamicObject
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - @@ -1251,7 +1383,7 @@ @@ -1264,9 +1396,9 @@
  • @@ -1274,14 +1406,14 @@
    -

    Deletes the specified DynamicObjects.

    +

    Deletes the specified NSManagedObjects or CoreStoreObjects represented by an ObjectRepresenation.

    Declaration

    Swift

    -
    public override func delete<S>(_ objects: S) where S : Sequence, S.Element : DynamicObject
    +
    public override func delete<S>(_ objects: S) where S : Sequence, S.Element : ObjectRepresentation
    @@ -1297,7 +1429,7 @@
  • @@ -1309,50 +1441,15 @@ -
    - - -
    - -

    CustomDebugStringConvertible

    -
    +
    + +

    CustomDebugStringConvertible +

    +
    • @@ -1389,9 +1486,8 @@
    - diff --git a/docs/Classes/BaseDataTransaction.html b/docs/Classes/BaseDataTransaction.html index 10644a0..d708630 100644 --- a/docs/Classes/BaseDataTransaction.html +++ b/docs/Classes/BaseDataTransaction.html @@ -21,20 +21,20 @@

    - CoreStore Docs + CoreStore 9.1.0 Docs - (90% documented) + (91% documented)

    -

    +

    -

    +

    - + GitHub View on GitHub

    @@ -43,7 +43,7 @@ @@ -59,81 +59,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -170,6 +95,15 @@ + + + @@ -188,9 +122,27 @@ + + + + + + @@ -218,10 +170,10 @@ @@ -229,13 +181,7 @@ Enumerations
    - - object1 - - -
    -

    the DynamicObject to be deleted

    -
    -
    - - object2 - - -
    -

    another DynamicObject to be deleted

    +

    the ObjectRepresentation representing an NSManagedObject or CoreStoreObject to be deleted

    -

    other DynamicObjects to be deleted

    +

    other ObjectRepresentations representing NSManagedObjects or CoreStoreObjects to be deleted

    -

    the DynamicObjects to be deleted

    +

    the ObjectRepresenations representing NSManagedObjects or CoreStoreObjects to be deleted

    + + + + + + +
    + + objectIDs + + +
    +

    the NSManagedObjectIDs of the objects to delete

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + delete(_:_:) + +
    +
    +
    +
    +
    +
    +

    Deletes the specified NSManagedObjects or CoreStoreObjects represented by series of ObjectRepresentations.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func delete<O>(_ object: O?, _ objects: O?...) where O : ObjectRepresentation
    @@ -1130,65 +1318,7 @@
    -

    the NSManagedObject or CoreStoreObject to be deleted

    -
    - - - - -
    - - -
  • -
  • -
    - - - - delete(_:_:_:) - -
    -
    -
    -
    -
    -
    -

    Deletes the specified NSManagedObjects or CoreStoreObjects.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func delete<D>(_ object1: D?, _ object2: D?, _ objects: D?...) where D : DynamicObject
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - @@ -1200,7 +1330,7 @@ @@ -1213,9 +1343,9 @@
  • @@ -1223,14 +1353,14 @@
    -

    Deletes the specified NSManagedObjects or CoreStoreObjects.

    +

    Deletes the specified NSManagedObjects or CoreStoreObjects represented by an ObjectRepresenation.

    Declaration

    Swift

    -
    public func delete<S>(_ objects: S) where S : Sequence, S.Element : DynamicObject
    +
    public func delete<S>(_ objects: S) where S : Sequence, S.Element : ObjectRepresentation
    @@ -1246,7 +1376,7 @@
  • @@ -1289,17 +1419,69 @@
    - -

    Inspecting Pending Objects

    -
    +
    + +

    Inspecting Pending Objects +

    +
      +
    • + +
      +
      +
      +
      +
      +

      Returns true if the object has any property values changed. This method should not be called after the commit() method was called.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public func objectHasPersistentChangedValues<O>(_ object: O) -> Bool where O : DynamicObject
      + +
      +
      +
      +

      Parameters

      +
    - - object1 - - -
    -

    the NSManagedObject or CoreStoreObject to be deleted

    -
    -
    - - object2 - - -
    -

    another NSManagedObject or CoreStoreObject to be deleted

    +

    the ObjectRepresentation representing an NSManagedObject or CoreStoreObject to be deleted

    -

    other NSManagedObjects or CoreStoreObjects to be deleted

    +

    other ObjectRepresentations representing NSManagedObjects or CoreStoreObjects to be deleted

    -

    the NSManagedObjects or CoreStoreObjects to be deleted

    +

    the ObjectRepresenations representing NSManagedObjects or CoreStoreObjects to be deleted

    + + + + + + +
    + + object + + +
    +

    the DynamicObject instance

    +
    +
    +
    +
    +

    Return Value

    +

    true if the object has any property values changed.

    +
    +
    +
    +
  • @@ -1314,7 +1496,7 @@

    Declaration

    Swift

    -
    public func insertedObjects<D>(_ entity: D.Type) -> Set<D> where D : DynamicObject, D : Hashable
    +
    public func insertedObjects<O>(_ entity: O.Type) -> Set<O> where O : DynamicObject, O : Hashable
    @@ -1380,7 +1562,7 @@ - insertedObjectIDs(_:) + insertedObjectIDs(_:)
    @@ -1395,7 +1577,7 @@

    Declaration

    Swift

    -
    public func insertedObjectIDs<D>(_ entity: D.Type) -> Set<NSManagedObjectID> where D : DynamicObject
    +
    public func insertedObjectIDs<O>(_ entity: O.Type) -> Set<NSManagedObjectID> where O : DynamicObject
    @@ -1430,7 +1612,7 @@ - updatedObjects(_:) + updatedObjects(_:)
    @@ -1445,7 +1627,7 @@

    Declaration

    Swift

    -
    public func updatedObjects<D>(_ entity: D.Type) -> Set<D> where D : DynamicObject, D : Hashable
    +
    public func updatedObjects<O>(_ entity: O.Type) -> Set<O> where O : DynamicObject, O : Hashable
    @@ -1511,7 +1693,7 @@ - updatedObjectIDs(_:) + updatedObjectIDs(_:)
    @@ -1526,7 +1708,7 @@

    Declaration

    Swift

    -
    public func updatedObjectIDs<D>(_ entity: D.Type) -> Set<NSManagedObjectID> where D : DynamicObject
    +
    public func updatedObjectIDs<O>(_ entity: O.Type) -> Set<NSManagedObjectID> where O : DynamicObject
    @@ -1561,7 +1743,7 @@ - deletedObjects(_:) + deletedObjects(_:)
    @@ -1576,7 +1758,7 @@

    Declaration

    Swift

    -
    public func deletedObjects<D>(_ entity: D.Type) -> Set<D> where D : DynamicObject, D : Hashable
    +
    public func deletedObjects<O>(_ entity: O.Type) -> Set<O> where O : DynamicObject, O : Hashable
    @@ -1661,7 +1843,7 @@ - deletedObjectIDs(_:) + deletedObjectIDs(_:)
    @@ -1676,7 +1858,7 @@

    Declaration

    Swift

    -
    public func deletedObjectIDs<D>(_ entity: D.Type) -> Set<NSManagedObjectID> where D : DynamicObject
    +
    public func deletedObjectIDs<O>(_ entity: O.Type) -> Set<NSManagedObjectID> where O : DynamicObject
    @@ -1712,11 +1894,40 @@
    - -

    3rd Party Utilities

    -
    +
    + +

    3rd Party Utilities +

    +
      +
    • +
      + + + + sourceIdentifier + +
      +
      +
      +
      +
      +
      +

      An arbitrary value that identifies the source of this transaction. Callers of the transaction can provide this value through the DataStack.perform(...) methods.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public let sourceIdentifier: Any?
      + +
      +
      +
      +
      +
    • @@ -1760,9 +1971,11 @@
      - -

      BaseDataTransaction

      -
      +
      + +

      BaseDataTransaction +

      +
      @@ -1790,9 +2003,9 @@

      Declaration

      Swift

      -
      public func importObject<D: ImportableObject>(
      -    _ into: Into<D>,
      -    source: D.ImportSource) throws -> D?
      +
      public func importObject<O: ImportableObject>(
      +    _ into: Into<O>,
      +    source: O.ImportSource) throws -> O?
      @@ -1839,7 +2052,7 @@ - importObject(_:source:) + importObject(_:source:)
      @@ -1859,9 +2072,9 @@

      Declaration

      Swift

      -
      public func importObject<D: ImportableObject>(
      -    _ object: D,
      -    source: D.ImportSource) throws
      +
      public func importObject<O: ImportableObject>(
      +    _ object: O,
      +    source: O.ImportSource) throws
      @@ -1877,7 +2090,7 @@
      -

      the NSManagedObject to update

      +

      the ImportableObject to update

      @@ -1904,7 +2117,7 @@ - importObjects(_:sourceArray:) + importObjects(_:sourceArray:)
      @@ -1924,9 +2137,9 @@

      Declaration

      Swift

      -
      public func importObjects<D: ImportableObject, S: Sequence>(
      -    _ into: Into<D>,
      -    sourceArray: S) throws -> [D] where S.Iterator.Element == D.ImportSource
      +
      public func importObjects<O: ImportableObject, S: Sequence>(
      +    _ into: Into<O>,
      +    sourceArray: S) throws -> [O] where S.Iterator.Element == O.ImportSource
      @@ -1973,7 +2186,7 @@ - importUniqueObject(_:source:) + importUniqueObject(_:source:)
      @@ -1993,9 +2206,9 @@

      Declaration

      Swift

      -
      public func importUniqueObject<D: ImportableUniqueObject>(
      -    _ into: Into<D>,
      -    source: D.ImportSource) throws -> D?
      +
      public func importUniqueObject<O: ImportableUniqueObject>(
      +    _ into: Into<O>,
      +    source: O.ImportSource) throws -> O?
      @@ -2042,7 +2255,7 @@ - importUniqueObjects(_:sourceArray:preProcess:) + importUniqueObjects(_:sourceArray:preProcess:)
      @@ -2056,8 +2269,7 @@

      Warning

      If sourceArray contains multiple import sources with same ID, only the last ImportSource of the duplicates will be imported.

      -
      -
      +

      Throws

      an Error thrown from any of the ImportableUniqueObject methods

      @@ -2068,10 +2280,10 @@

      Declaration

      Swift

      -
      public func importUniqueObjects<D: ImportableUniqueObject, S: Sequence>(
      -    _ into: Into<D>,
      +                          
      public func importUniqueObjects<O: ImportableUniqueObject, S: Sequence>(
      +    _ into: Into<O>,
           sourceArray: S,
      -    preProcess: @escaping (_ mapping: [D.UniqueIDType: D.ImportSource]) throws -> [D.UniqueIDType: D.ImportSource] = { $0 }) throws -> [D] where S.Iterator.Element == D.ImportSource
      + preProcess: @escaping (_ mapping: [O.UniqueIDType: O.ImportSource]) throws -> [O.UniqueIDType: O.ImportSource] = { $0 }) throws -> [O] where S.Iterator.Element == O.ImportSource
      @@ -2131,9 +2343,11 @@
      - -

      DataTransaction

      -
      +
      + +

      DataTransaction +

      +
    • @@ -229,13 +181,7 @@ Enumerations