{"Typealiases.html#/s:9CoreStore22XcodeDataModelFileNamea":{"name":"XcodeDataModelFileName","abstract":"
A String that pertains to the name of an *.xcdatamodeld file (without the file extension).
An Optional<String> that pertains to the name of a Configuration
which particular groups of entities may belong to. When nil, pertains to the default configuration which includes all entities.
An String that pertains to the name of a versioned *.xcdatamodeld file (without the file extension). Model version strings don’t necessarily have to be numeric or ordered in any way. The migration sequence will always be decided by (or the lack of) the MigrationChain.
An String that pertains to an Entity name.
An String that pertains to a dynamically-accessable class name (usable with NSClassFromString(…)).
An String that pertains to a attribute keyPaths.
The MigrationResult indicates the result of a migration."},"Typealiases.html#/s:9CoreStore11SetupResulta":{"name":"SetupResult","abstract":"
The SetupResult indicates the result of an asynchronous initialization of a persistent store."},"Structs/SectionMonitorChainBuilder.html#/s:9CoreStore25SectionMonitorBuilderTypeP4fromAA4FromVy06ObjectF0QzGvp":{"name":"from","parent_name":"SectionMonitorChainBuilder"},"Structs/SectionMonitorChainBuilder.html#/s:9CoreStore25SectionMonitorBuilderTypeP9sectionByAA0cH0Vy06ObjectF0QzGvp":{"name":"sectionBy","parent_name":"SectionMonitorChainBuilder"},"Structs/SectionMonitorChainBuilder.html#/s:9CoreStore25SectionMonitorBuilderTypeP12fetchClausesSayAA11FetchClause_pGvp":{"name":"fetchClauses","parent_name":"SectionMonitorChainBuilder"},"Structs/SectionMonitorChainBuilder.html#/s:9CoreStore26SectionMonitorChainBuilderV5whereyACyxGAA5WhereVyxGF":{"name":"where(_:)","abstract":"
Adds a Where clause to the SectionMonitorChainBuilder
Adds a Where clause to the SectionMonitorChainBuilder
Adds a Where clause to the SectionMonitorChainBuilder
Adds an OrderBy clause to the SectionMonitorChainBuilder
Adds an OrderBy clause to the SectionMonitorChainBuilder
Adds an OrderBy clause to the SectionMonitorChainBuilder
Adds a Tweak clause to the SectionMonitorChainBuilder with a closure where the NSFetchRequest may be configured
Appends a QueryClause to the SectionMonitorChainBuilder
Appends a series of QueryClauses to the SectionMonitorChainBuilder
Adds a Where clause to the SectionMonitorChainBuilder
Adds a Where clause to the QueryChainBuilder
Adds a Where clause to the QueryChainBuilder
Adds a Where clause to the QueryChainBuilder
Adds an OrderBy clause to the QueryChainBuilder
Adds an OrderBy clause to the QueryChainBuilder
Adds an OrderBy clause to the QueryChainBuild
Adds a Tweak clause to the QueryChainBuilder with a closure where the NSFetchRequest may be configured
Adds a GroupBy clause to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Appends a QueryClause to the QueryChainBuilder
Appends a series of QueryClauses to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Adds a Where clause to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Adds a GroupBy clause to the QueryChainBuilder
Adds a Where clause to the FetchChainBuilder
Adds a Where clause to the FetchChainBuilder
Adds a Where clause to the FetchChainBuilder
Adds an OrderBy clause to the FetchChainBuilder
Adds an OrderBy clause to the FetchChainBuilder
Adds an OrderBy clause to the FetchChainBuilder
Adds a Tweak clause to the FetchChainBuilder with a closure where the NSFetchRequest may be configured
Appends a FetchClause to the FetchChainBuilder
Appends a series of FetchClauses to the FetchChainBuilder
The value type for the dictionary initializer, which is UInt64
The Data hash for each entity name.
Initializes a VersionLock with the version hash for each entity name.
Currently supports SingleTarget and CollectionTarget.
Creates a Where.Expression clause for COUNT
Creates a Where.Expression clause for ANY
Creates a Where.Expression clause for ALL
Creates a Where.Expression clause for NONE
Creates a Where.Expression clause for COUNT
Creates a Where.Expression clause for ANY
Creates a Where.Expression clause for ALL
Creates a Where.Expression clause for NONE
Combines two Where predicates together using AND operator
Combines two Where predicates together using OR operator
Inverts the predicate of a Where clause using NOT operator
Combines two Where predicates together using AND operator.
Combines two Where predicates together using AND operator.
Combines two Where predicates together using OR operator.
Combines two Where predicates together using OR operator.
Initializes a Where clause with a predicate that always evaluates to true
Initializes a Where clause with an existing Where clause.
Initializes a Where clause with a predicate that always evaluates to the specified boolean value
Initializes a Where clause with a predicate using the specified string format and arguments
Initializes a Where clause with a predicate using the specified string format and arguments
Initializes a Where clause that compares equality to nil
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Type-safe keyPath chain usable in query/fetch expressions.
","parent_name":"Where"},"Structs/Where.html#/s:9CoreStore5WhereV12SingleTargetO":{"name":"SingleTarget","abstract":"Used only for Where.Expression type constraints. Specifies that this Where.Expression type pertains to an attribute property expression.
Used only for Where.Expression type constraints. Specifies that this Where.Expression type pertains to a to-many relationship expression.
Initializes a Where clause that compares equality to nil
Initializes a Where clause that compares equality to nil
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Initializes a Where clause that compares equality to nil
Initializes a Where clause that compares equality to nil
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares equality
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Initializes a Where clause that compares membership
Initializes a Where clause from a closure
Initializes a Select clause with a list of SelectTerms
Initializes a Select clause with a list of SelectTerms
Initializes a Select that queries for NSManagedObjectID results
Initializes a Select that queries the value of an attribute pertained by a keyPath
Initializes a Select that queries the value of an attribute pertained by a keyPath
Initializes a Select that queries the value of an attribute pertained by a keyPath
Initializes a Select that queries the value of an attribute pertained by a keyPath
Initializes a Select that queries the value of an attribute pertained by a keyPath
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Initializes a SectionBy clause with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Returns a the actual CoreStoreObject instance for the receiver.
Returns the value for the property identified by a given key.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV8setValue_3foryqd___AA0F9ContainerO8RequiredCyx_qd__GxXEtAA23ImportableAttributeTypeRd__lF":{"name":"setValue(_:for:)","abstract":"Sets the property of the receiver specified by a given key to a given value.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV14primitiveValue3forqd__AA0F9ContainerO8RequiredCyx_qd__GxXE_tAA23ImportableAttributeTypeRd__lF":{"name":"primitiveValue(for:)","abstract":"Returns the value for the specified property from the managed object’s private internal storage.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV17setPrimitiveValue_3foryqd___AA0G9ContainerO8RequiredCyx_qd__GxXEtAA23ImportableAttributeTypeRd__lF":{"name":"setPrimitiveValue(_:for:)","abstract":"Sets in the object’s private internal storage the value of a given property.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV5value3forqd__SgAA14ValueContainerO8OptionalCyx_qd__GxXE_tAA23ImportableAttributeTypeRd__lF":{"name":"value(for:)","abstract":"Returns the value for the property identified by a given key.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV8setValue_3foryqd__Sg_AA0F9ContainerO8OptionalCyx_qd__GxXEtAA23ImportableAttributeTypeRd__lF":{"name":"setValue(_:for:)","abstract":"Sets the property of the receiver specified by a given key to a given value.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV14primitiveValue3forqd__SgAA0F9ContainerO8OptionalCyx_qd__GxXE_tAA23ImportableAttributeTypeRd__lF":{"name":"primitiveValue(for:)","abstract":"Returns the value for the specified property from the managed object’s private internal storage.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV17setPrimitiveValue_3foryqd__Sg_AA0G9ContainerO8OptionalCyx_qd__GxXEtAA23ImportableAttributeTypeRd__lF":{"name":"setPrimitiveValue(_:for:)","abstract":"Sets in the object’s private internal storage the value of a given property.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV5value3forqd__AA22TransformableContainerO8RequiredCyx_qd__GxXE_tSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"value(for:)","abstract":"Returns the value for the property identified by a given key.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV8setValue_3foryqd___AA22TransformableContainerO8RequiredCyx_qd__GxXEtSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"setValue(_:for:)","abstract":"Sets the property of the receiver specified by a given key to a given value.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV14primitiveValue3forqd__AA22TransformableContainerO8RequiredCyx_qd__GxXE_tSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"primitiveValue(for:)","abstract":"Returns the value for the specified property from the managed object’s private internal storage.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV17setPrimitiveValue_3foryqd___AA22TransformableContainerO8RequiredCyx_qd__GxXEtSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"setPrimitiveValue(_:for:)","abstract":"Sets in the object’s private internal storage the value of a given property.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV5value3forqd__SgAA22TransformableContainerO8OptionalCyx_qd__GxXE_tSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"value(for:)","abstract":"Returns the value for the property identified by a given key.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV8setValue_3foryqd__Sg_AA22TransformableContainerO8OptionalCyx_qd__GxXEtSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"setValue(_:for:)","abstract":"Sets the property of the receiver specified by a given key to a given value.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV14primitiveValue3forqd__SgAA22TransformableContainerO8OptionalCyx_qd__GxXE_tSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"primitiveValue(for:)","abstract":"Returns the value for the specified property from the managed object’s private internal storage.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:9CoreStore13PartialObjectV17setPrimitiveValue_3foryqd__Sg_AA22TransformableContainerO8OptionalCyx_qd__GxXEtSo8NSCodingRd__So9NSCopyingRd__lF":{"name":"setPrimitiveValue(_:for:)","abstract":"Sets in the object’s private internal storage the value of a given property.
","parent_name":"PartialObject"},"Structs/PartialObject.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"PartialObject"},"Structs/OrderBy/SortKey.html#/s:9CoreStore7OrderByV7SortKeyV9ascendingyAEyx_GSSFZ":{"name":"ascending(_:)","abstract":"Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in descending order
Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in descending order
Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in descending order
Indicates that the KeyPathString should be sorted in descending order
Indicates that the KeyPathString should be sorted in descending order
Indicates that the KeyPathString should be sorted in descending order
Indicates that the KeyPathString should be sorted in ascending order
Indicates that the KeyPathString should be sorted in descending order
Combines two OrderBy sort descriptors together
Combines two OrderBy sort descriptors together and stores the result to the left operand
Initializes a OrderBy clause with an empty list of sort descriptors
Initializes a OrderBy clause with a single sort descriptor
Initializes a OrderBy clause with a list of sort descriptors
Initializes a OrderBy clause with a series of SortKeys
Initializes a OrderBy clause with a series of SortKeys
The SortKey is passed to the OrderBy clause to indicate the sort keys and their sort direction.
Initializes the MigrationChain with empty values, which instructs the DataStack to use the .xcdatamodel’s current version as the final version, and to disable progressive migrations.
Initializes the MigrationChain with a single model version, which instructs the DataStack to use the the specified version as the final version, and to disable progressive migrations.
Initializes the MigrationChain with a linear order of versions, which becomes the order of the DataStack‘s progressive migrations.
Initializes the MigrationChain with a version tree, which becomes the order of the DataStack‘s progressive migrations.
Initializes the MigrationChain with a version tree, which becomes the order of the DataStack‘s progressive migrations.
Tells the DataStack that the store should not be migrated or recreated, and should simply fail on model mismatch
Tells the DataStack to delete and recreate the store on model mismatch, otherwise exceptions will be thrown on failure instead
Tells the DataStack to prevent progressive migrations for the store
Tells the DataStack to allow lightweight migration for the store when added synchronously
The associated NSManagedObject or CoreStoreObject entity class
The NSPersistentStore configuration name to associate objects from.","parent_name":"Into"},"Structs/Into.html#/s:9CoreStore4IntoVACyxGycfc":{"name":"init()","abstract":"
Initializes an Into clause.
Initializes an Into clause with the specified entity type. This is useful for querying a subclass while binding the generic type with a base class.
Initializes an Into clause with the specified configuration.
Initializes an Into clause with the specified entity type and configuration. This is useful for querying a subclass while binding the generic type with a base class.
Initializes a GroupBy clause with an empty list of key path strings
Initializes a GroupBy clause with a list of key path strings
Initializes a GroupBy clause with a list of key path strings
Initializes a GroupBy clause with a key path
Initializes a GroupBy clause with a key path
Initializes a GroupBy clause with a key path
Initializes a GroupBy clause with a key path
Initializes a GroupBy clause with a key path
The associated NSManagedObject or CoreStoreObject entity class
The NSPersistentStore configuration names to associate objects from.","parent_name":"From"},"Structs/From.html#/s:9CoreStore4FromVACyxGycfc":{"name":"init()","abstract":"
Initializes a From clause.
Initializes a From clause with the specified entity type.
Initializes a From clause with the specified configurations.
Initializes a From clause with the specified configurations.
Initializes a From clause with the specified configurations.
Initializes a From clause with the specified configurations.
Creates a FetchChainBuilder that starts with the specified Where clause
Creates a FetchChainBuilder with a predicate using the specified string format and arguments
Creates a FetchChainBuilder with a predicate using the specified string format and arguments
Creates a FetchChainBuilder that starts with the specified OrderBy clause.
Creates a FetchChainBuilder with a series of SortKeys
Creates a FetchChainBuilder with a series of SortKeys
Creates a FetchChainBuilder with a closure where the NSFetchRequest may be configured
Creates a FetchChainBuilder and immediately appending a FetchClause
Creates a FetchChainBuilder and immediately appending a series of FetchClauses
Creates a QueryChainBuilder that starts with the specified Select clause
Creates a QueryChainBuilder that starts with a Select clause created from the specified SelectTerms
Creates a QueryChainBuilder that starts with a Select clause created from the specified SelectTerms
Creates a SectionMonitorChainBuilder that starts with the SectionBy to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Creates a QueryChainBuilder that starts with a Select clause created from the specified key path
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Creates a FetchChainBuilder that starts with the specified Where clause
Creates a QueryChainBuilder that starts with a Select clause created from the specified key path
Creates a QueryChainBuilder that starts with a Select clause created from the specified key path
Creates a QueryChainBuilder that starts with a Select clause created from the specified key path
Creates a QueryChainBuilder that starts with a Select clause created from the specified key path
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Creates a SectionMonitorChainBuilder with the key path to use to group ListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Tells the DataStack that the store should not be migrated or recreated, and should simply fail on model mismatch
Tells the DataStack to delete and recreate the local store from the cloud store on model mismatch, otherwise exceptions will be thrown on failure instead
Tells the DataStack to allow lightweight migration for the store when added synchronously
The block to customize the NSFetchRequest
Initializes a Tweak clause with a closure where the NSFetchRequest may be configured.
The Tweak clause allows fine-tuning the NSFetchRequest for a fetch or query."},"Structs/CloudStorageOptions.html":{"name":"CloudStorageOptions","abstract":"
The CloudStorageOptions provides settings that tells the DataStack how to setup the persistent store for LocalStorage implementers.
A From clause specifies the source entity and source persistent store for fetch and query methods. A common usage is to just indicate the entity:
The GroupBy clause specifies that the result of a query be grouped accoording to the specified key path.
An Into clause contains the destination entity and destination persistent store for a create(...) method. A common usage is to just indicate the entity:
The LocalStorageOptions provides settings that tells the DataStack how to setup the persistent store for LocalStorage implementers.
A MigrationChain indicates the sequence of model versions to be used as the order for progressive migrations. This is typically passed to the SchemaHistory or the DataStack initializer and will be applied to all stores added to the DataStack with addStorage(...) and its variants.
The OrderBy clause specifies the sort order for results for a fetch or a query.
A PartialObject is only used when overriding getters and setters for CoreStoreObject properties. Custom getters and setters are implemented as a closure that overrides
the default property getter/setter. The closure receives a PartialObject<O>, which acts as a fast, type-safe KVC interface for CoreStoreObject. The reason a CoreStoreObject instance is not passed directly is because the Core Data runtime is not aware of CoreStoreObject properties’ static typing, and so loading those info everytime KVO invokes this accessor method incurs a heavy performance hit (especially in KVO-heavy operations such as ListMonitor observing.) When accessing the property value from PartialObject<O>, make sure to use PartialObject<O>.persistentValue(for:) instead of PartialObject<O>.value(for:), which would unintentionally execute the same closure again recursively.
The SectionBy clause indicates the key path to use to group the ListMonitor objects into sections. An optional closure can also be provided to transform the value into an appropriate section name:
The Select clause indicates the attribute / aggregate value to be queried. The generic type is a SelectResultType, and will be used as the return type for the query.
The Where clause specifies the conditions for a fetch or a query.
The VersionLock contains the version hashes for entities. This is then passed to the CoreStoreSchema, which contains all entities for the store. An assertion will be raised if any Entity doesn’t match the version hash.
The fetch builder type used for fetches. A FetchChainBuilder is created from a From clause.
The fetch builder type used for a queries. A QueryChainBuilder is created from a From clause and then a select(...) chain.
The fetch builder type used for a sectioned ListMonitor. A SectionMonitorChainBuilder is created from a From clause and then a sectionBy(...) chain.
The DynamicObject type associated with the clause
Combines two Where predicates together using AND operator.
Combines two Where predicates together using AND operator.
Combines two Where predicates together using OR operator.
Combines two Where predicates together using OR operator.
The NSPredicate for the fetch or query
Initializes a Where clause with an NSPredicate
The NSURL that points to the store file
Options that tell the DataStack how to setup the persistent store
The options dictionary for the specified CloudStorageOptions
Called by the DataStack to perform actual deletion of the store file from disk. Do not call directly! The sourceModel argument is a hint for the existing store’s model version. Implementers can use the sourceModel to perform necessary store operations. (Cloud stores for example, can set the NSPersistentStoreRemoveUbiquitousMetadataOption option before deleting)
The NSURL that points to the store file
An array of SchemaMappingProviders that provide the complete mapping models for custom migrations.
Options that tell the DataStack how to setup the persistent store
The options dictionary for the specified LocalStorageOptions
Called by the DataStack to perform checkpoint operations on the storage. (SQLite stores for example, can convert the database’s WAL journaling mode to DELETE to force a checkpoint)
Called by the DataStack to perform actual deletion of the store file from disk. Do not call directly! The sourceModel argument is a hint for the existing store’s model version. Implementers can use the sourceModel to perform necessary store operations. (SQLite stores for example, can convert WAL journaling mode to DELETE before deleting)
The string identifier for the NSPersistentStore‘s type property. This is the same string CoreStore will use to create the NSPersistentStore from the NSPersistentStoreCoordinator’s addPersistentStoreWithType(...) method.
The configuration name in the model file
","parent_name":"StorageInterface"},"Protocols/StorageInterface.html#/s:9CoreStore16StorageInterfaceP12storeOptionsSDys11AnyHashableVypGSgvp":{"name":"storeOptions","abstract":"The options dictionary for the NSPersistentStore
Do not call directly. Used by the DataStack internally.
Do not call directly. Used by the DataStack internally.
The DynamicObject type associated with the clause
The SelectResultType type associated with the clause
The SelectTerms for the query
The DynamicObject type for the ListMonitor
The From clause specifies the source entity and source persistent store for the ListMonitor
The SectionBy clause to be used for the ListMonitor
The FetchClauses to be used for the ListMonitor
Do not call directly.
","parent_name":"SchemaMappingProvider"},"Protocols/QueryableSource.html#/s:9CoreStore15QueryableSourceP10queryValueyqd_0_SgAA4FromVyqd__G_AA6SelectVyqd__qd_0_GAA11QueryClause_pdtKAA13DynamicObjectRd__AA0C13AttributeTypeRd_0_r0_lF":{"name":"queryValue(_:_:_:)","abstract":"Queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a property value or aggregate as specified by the QueryChainableBuilderType built from a chain of clauses.
Queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values or as specified by the QueryChainableBuilderType built from a chain of clauses.
The internal NSManagedObjectContext managed by this QueryableSource. Using this context directly should typically be avoided, and is provided by CoreStore only for extremely specialized cases.
The CoreDataNativeType for this type when used in Select clauses.
The NSAttributeType for this type when used in Select clauses.
Creates an instance of this type from its QueryableNativeType value.
Creates QueryableNativeType value from this instance.
The DynamicObject type for the query
The SelectResultType type for the query
The From clause specifies the source entity and source persistent store for the query
The Select clause to be used for the query
The QueryClauses to be used for the query
The DynamicObject type associated with the clause
The NSSortDescriptor array for the fetch or query
The DynamicObject type for the observed object
Handles processing just before a change to the observed object occurs. (Optional)","parent_name":"ObjectObserver"},"Protocols/ObjectObserver.html#/s:9CoreStore14ObjectObserverP13objectMonitor_09didUpdateC021changedPersistentKeysyAA0cF0Cy0C10EntityTypeQzG_AJShySSGtF":{"name":"objectMonitor(_:didUpdateObject:changedPersistentKeys:)","abstract":"
Handles processing right after a change to the observed object occurs. (Optional)","parent_name":"ObjectObserver"},"Protocols/ObjectObserver.html#/s:9CoreStore14ObjectObserverP13objectMonitor_09didDeleteC0yAA0cF0Cy0C10EntityTypeQzG_AItF":{"name":"objectMonitor(_:didDeleteObject:)","abstract":"
Handles processing right after object is deleted. (Optional)","parent_name":"ObjectObserver"},"Protocols/ListSectionObserver.html#/s:9CoreStore19ListSectionObserverP11listMonitor_09didInsertD002toD5IndexyAA0cG0Cy0C10EntityTypeQzG_So016NSFetchedResultsD4Info_pSitF":{"name":"listMonitor(_:didInsertSection:toSectionIndex:)","abstract":"
Notifies that a section was inserted at the specified index. (Optional)","parent_name":"ListSectionObserver"},"Protocols/ListSectionObserver.html#/s:9CoreStore19ListSectionObserverP11listMonitor_09didDeleteD004fromD5IndexyAA0cG0Cy0C10EntityTypeQzG_So016NSFetchedResultsD4Info_pSitF":{"name":"listMonitor(_:didDeleteSection:fromSectionIndex:)","abstract":"
Notifies that a section was inserted at the specified index. (Optional)","parent_name":"ListSectionObserver"},"Protocols/ListObjectObserver.html#/s:9CoreStore18ListObjectObserverP11listMonitor_09didInsertD011toIndexPathyAA0cG0Cy0C10EntityTypeQzG_AJ10Foundation0kL0VtF":{"name":"listMonitor(_:didInsertObject:toIndexPath:)","abstract":"
Notifies that an object was inserted to the specified NSIndexPath in the list. (Optional)","parent_name":"ListObjectObserver"},"Protocols/ListObjectObserver.html#/s:9CoreStore18ListObjectObserverP11listMonitor_09didDeleteD013fromIndexPathyAA0cG0Cy0C10EntityTypeQzG_AJ10Foundation0kL0VtF":{"name":"listMonitor(_:didDeleteObject:fromIndexPath:)","abstract":"
Notifies that an object was deleted from the specified NSIndexPath in the list. (Optional)","parent_name":"ListObjectObserver"},"Protocols/ListObjectObserver.html#/s:9CoreStore18ListObjectObserverP11listMonitor_09didUpdateD011atIndexPathyAA0cG0Cy0C10EntityTypeQzG_AJ10Foundation0kL0VtF":{"name":"listMonitor(_:didUpdateObject:atIndexPath:)","abstract":"
Notifies that an object at the specified NSIndexPath was updated. (Optional)","parent_name":"ListObjectObserver"},"Protocols/ListObjectObserver.html#/s:9CoreStore18ListObjectObserverP11listMonitor_07didMoveD013fromIndexPath02tokL0yAA0cG0Cy0C10EntityTypeQzG_AK10Foundation0kL0VAOtF":{"name":"listMonitor(_:didMoveObject:fromIndexPath:toIndexPath:)","abstract":"
Notifies that an object’s index changed. (Optional)","parent_name":"ListObjectObserver"},"Protocols/ListObserver.html#/s:9CoreStore12ListObserverP0C10EntityTypeQa":{"name":"ListEntityType","abstract":"
The NSManagedObject type for the observed list
Handles processing just before a change to the observed list occurs. (Optional)","parent_name":"ListObserver"},"Protocols/ListObserver.html#/s:9CoreStore12ListObserverP20listMonitorDidChangeyyAA0cF0Cy0C10EntityTypeQzGF":{"name":"listMonitorDidChange(_:)","abstract":"
Handles processing right after a change to the observed list occurs. (Required)
","parent_name":"ListObserver"},"Protocols/ListObserver.html#/s:9CoreStore12ListObserverP22listMonitorWillRefetchyyAA0cF0Cy0C10EntityTypeQzGF":{"name":"listMonitorWillRefetch(_:)","abstract":"This method is broadcast from within the ListMonitor‘s refetch(...) method to let observers prepare for the internal NSFetchedResultsController’s pending change to its predicate, sort descriptors, etc. (Optional)
After the ListMonitor‘s refetch(...) method is called, this method is broadcast after the NSFetchedResultsController’s last controllerDidChangeContent(_:) notification completes. (Required)
The data type for the entity’s unique ID attribute
","parent_name":"ImportableUniqueObject"},"Protocols/ImportableUniqueObject.html#/s:9CoreStore22ImportableUniqueObjectP15uniqueIDKeyPathSSvpZ":{"name":"uniqueIDKeyPath","abstract":"The keyPath to the entity’s unique ID attribute
","parent_name":"ImportableUniqueObject"},"Protocols/ImportableUniqueObject.html#/s:9CoreStore22ImportableUniqueObjectP13uniqueIDValue0D6IDTypeQzvp":{"name":"uniqueIDValue","abstract":"The object’s unique ID value. The default implementation returns the value of the attribute pertained to by uniqueIDKeyPath
Return true if an object should be created from source. Return false to ignore and skip source. The default implementation returns the value returned by the shouldUpdate(from:in:) implementation.
Return true if an object should be updated from source. Return false to ignore and skip source. The default implementation returns true.
Return the unique ID as extracted from source. This method is called before shouldInsert(from:in:) or shouldUpdate(from:in:). Return nil to skip importing from source. Note that throwing from this method will cause subsequent imports that are part of the same importUniqueObjects(:sourceArray:) call to be cancelled.
Implements the actual importing of data from source. This method is called just after the object is created and assigned its unique ID as returned from uniqueID(from:in:). Implementers should pull values from source and assign them to the receiver’s attributes. Note that throwing from this method will cause subsequent imports that are part of the same importUniqueObjects(:sourceArray:) call to be cancelled. The default implementation simply calls update(from:in:).
Implements the actual importing of data from source. This method is called just after the existing object is fetched using its unique ID. Implementers should pull values from source and assign them to the receiver’s attributes. Note that throwing from this method will cause subsequent imports that are part of the same importUniqueObjects(:sourceArray:) call to be cancelled.
The data type for the import source. This is most commonly an json type, NSDictionary, or another external source such as NSUserDefaults.
Return true if an object should be created from source. Return false to ignore and skip source. The default implementation returns true.
Implements the actual importing of data from source. Implementers should pull values from source and assign them to the receiver’s attributes. Note that throwing from this method will cause subsequent imports that are part of the same importObjects(:sourceArray:) call to be cancelled.
The DynamicObject type associated with the clause
The list of key path strings to group results with
","parent_name":"GroupByClause"},"Protocols/FetchableSource.html#/s:9CoreStore15FetchableSourceP13fetchExistingyqd__Sgqd__AA13DynamicObjectRd__lF":{"name":"fetchExisting(_:)","abstract":"Fetches the DynamicObject instance in the FetchableSource‘s context from a reference created from another managed object context.
Fetches the DynamicObject instance in the FetchableSource‘s context from an NSManagedObjectID.
Fetches the DynamicObject instances in the FetchableSource‘s context from references created from another managed object context.
Fetches the DynamicObject instances in the FetchableSource‘s context from a list of NSManagedObjectID.
Fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
The internal NSManagedObjectContext managed by this FetchableSource. Using this context directly should typically be avoided, and is provided by CoreStore only for extremely specialized cases.
The DynamicObject type for the fetch
The From clause specifies the source entity and source persistent store for the fetch
The FetchClauses to be used for the fetch
The version string for this model schema.
","parent_name":"DynamicSchema"},"Protocols/DynamicSchema.html#/s:9CoreStore13DynamicSchemaP8rawModelSo015NSManagedObjectF0CyF":{"name":"rawModel()","abstract":"Do not call this directly. The NSManagedObjectModel for this schema may be created lazily and using this method directly may affect the integrity of the model.
Prints the DynamicSchema as their corresponding CoreStoreObject Swift declarations. This is useful for converting current XcodeDataModelSchema-based models into the new CoreStoreSchema framework. Additional adjustments may need to be done to the generated source code; for example: Transformable concrete types need to be provided, as well as default values.
The DynamicObject type
","parent_name":"DynamicKeyPath"},"Protocols/DynamicKeyPath.html#/s:9CoreStore14DynamicKeyPathP9ValueTypeQa":{"name":"ValueType","abstract":"The Value type
","parent_name":"DynamicKeyPath"},"Protocols/DynamicObject.html#/s:9CoreStore13DynamicObjectP14cs_forceCreate17entityDescription4into8assignToxSo08NSEntityI0C_So09NSManagedD7ContextCSo012NSPersistentB0CtFZ":{"name":"cs_forceCreate(entityDescription:into:assignTo:)","abstract":"Used internally by CoreStore. Do not call directly.
","parent_name":"DynamicObject"},"Protocols/DynamicObject.html#/s:9CoreStore13DynamicObjectP10cs_fromRaw6objectxSo09NSManagedD0C_tFZ":{"name":"cs_fromRaw(object:)","abstract":"Used internally by CoreStore. Do not call directly.
","parent_name":"DynamicObject"},"Protocols/DynamicObject.html#/s:9CoreStore13DynamicObjectP10cs_matches6objectSbSo09NSManagedD0C_tFZ":{"name":"cs_matches(object:)","abstract":"Used internally by CoreStore. Do not call directly.
","parent_name":"DynamicObject"},"Protocols/DynamicObject.html#/s:9CoreStore13DynamicObjectP5cs_idSo09NSManagedD2IDCyF":{"name":"cs_id()","abstract":"Used internally by CoreStore. Do not call directly.
","parent_name":"DynamicObject"},"Protocols/DynamicObject.html#/s:9CoreStore13DynamicObjectP8cs_toRawSo09NSManagedD0CyF":{"name":"cs_toRaw()","abstract":"Used internally by CoreStore. Do not call directly.
","parent_name":"DynamicObject"},"Protocols/DynamicObject.html#/s:9CoreStore13DynamicObjectPA2A0abD0CRbzrlE07partialD0AA07PartialD0VyxGyF":{"name":"partialObject()","abstract":"Returns the PartialObject instance for the object, which acts as a fast, type-safe KVC interface for CoreStoreObject.
The containing type for relationships. Relationships can be any CoreStoreObject subclass.
The containing type for transformable properties. Transformable properties support types that conforms to NSCoding & NSCopying.
The containing type for value propertiess. Value properties support any type that conforms to ImportableAttributeType.
invalidate() will be called automatically when an CoreStoreObjectKeyValueObservation is deinited.
Handles log messages sent by the CoreStore framework.
Handles errors sent by the CoreStore framework.
Handles assertions made throughout the CoreStore framework.
Handles fatal errors made throughout the CoreStore framework. The app wil terminate after this method is called.
The corresponding Objective-C type
","parent_name":"CoreStoreSwiftType"},"Protocols/CoreStoreSwiftType.html#/s:9CoreStore0aB9SwiftTypeP18bridgeToObjectiveC0G5CTypeQzvp":{"name":"bridgeToObjectiveC","abstract":"The bridged Objective-C instance
","parent_name":"CoreStoreSwiftType"},"Protocols/CoreStoreObjectiveCType.html#/s:9CoreStore0aB14ObjectiveCTypeP9SwiftTypeQa":{"name":"SwiftType","abstract":"The corresponding Swift type
","parent_name":"CoreStoreObjectiveCType"},"Protocols/CoreStoreObjectiveCType.html#/s:9CoreStore0aB14ObjectiveCTypeP13bridgeToSwift0G4TypeQzvp":{"name":"bridgeToSwift","abstract":"The bridged Swift instance
","parent_name":"CoreStoreObjectiveCType"},"Protocols/CoreStoreObjectiveCType.html#/s:9CoreStore0aB14ObjectiveCTypePyx9SwiftTypeQzcfc":{"name":"init(_:)","abstract":"Initializes this instance with the Swift instance to bridge from
","parent_name":"CoreStoreObjectiveCType"},"Protocols/CSLocalStorage.html#/c:@M@CoreStore@objc(pl)CSLocalStorage(py)fileURL":{"name":"fileURL","abstract":"The NSURL that points to the store file
An array of SchemaMappingProviders that provides the complete mapping models for custom migrations. This is currently only supported for Swift code.
Options that tell the CSDataStack how to setup the persistent store
Called by the CSDataStack to perform actual deletion of the store file from disk. Do not call directly! The sourceModel argument is a hint for the existing store’s model version. Implementers can use the sourceModel to perform necessary store operations. (SQLite stores for example, can convert WAL journaling mode to DELETE before deleting)
The string identifier for the NSPersistentStore‘s type property. This is the same string CoreStore will use to create the NSPersistentStore from the NSPersistentStoreCoordinator’s addPersistentStoreWithType(...) method.
The configuration name in the model file
","parent_name":"CSStorageInterface"},"Protocols/CSStorageInterface.html#/c:@M@CoreStore@objc(pl)CSStorageInterface(py)storeOptions":{"name":"storeOptions","abstract":"The options dictionary for the NSPersistentStore
Handles processing just before a change to the observed object occurs
Handles processing right after a change to the observed object occurs
Handles processing right after object is deleted
Notifies that a section was inserted at the specified index
","parent_name":"CSListSectionObserver"},"Protocols/CSListSectionObserver.html#/c:@M@CoreStore@objc(pl)CSListSectionObserver(im)listMonitor:didDeleteSection:fromSectionIndex:":{"name":"listMonitor(_:didDeleteSection:fromSectionIndex:)","abstract":"Notifies that a section was inserted at the specified index
","parent_name":"CSListSectionObserver"},"Protocols/CSListObjectObserver.html#/c:@M@CoreStore@objc(pl)CSListObjectObserver(im)listMonitor:didInsertObject:toIndexPath:":{"name":"listMonitor(_:didInsertObject:toIndexPath:)","abstract":"Notifies that an object was inserted to the specified NSIndexPath in the list
Notifies that an object was deleted from the specified NSIndexPath in the list
Notifies that an object at the specified NSIndexPath was updated
Notifies that an object’s index changed
","parent_name":"CSListObjectObserver"},"Protocols/CSListObserver.html#/c:@M@CoreStore@objc(pl)CSListObserver(im)listMonitorWillChange:":{"name":"listMonitorWillChange(_:)","abstract":"Handles processing just before a change to the observed list occurs
","parent_name":"CSListObserver"},"Protocols/CSListObserver.html#/c:@M@CoreStore@objc(pl)CSListObserver(im)listMonitorDidChange:":{"name":"listMonitorDidChange(_:)","abstract":"Handles processing right after a change to the observed list occurs
","parent_name":"CSListObserver"},"Protocols/CSListObserver.html#/c:@M@CoreStore@objc(pl)CSListObserver(im)listMonitorWillRefetch:":{"name":"listMonitorWillRefetch(_:)","abstract":"This method is broadcast from within the CSListMonitor‘s -refetchWithFetchClauses: method to let observers prepare for the internal NSFetchedResultsController’s pending change to its predicate, sort descriptors, etc. Note that the actual refetch will happen after the NSFetchedResultsController’s last -controllerDidChangeContent: notification completes.
After the CSListMonitor‘s -refetchWithFetchClauses: method is called, this method is broadcast after the NSFetchedResultsController’s last -controllerDidChangeContent: notification completes.
The version string for this model schema.
","parent_name":"CSDynamicSchema"},"Protocols/CSDynamicSchema.html#/c:@M@CoreStore@objc(pl)CSDynamicSchema(im)rawModel":{"name":"rawModel()","abstract":"Do not call this directly. The NSManagedObjectModel for this schema may be created lazily and using this method directly may affect the integrity of the model.
The CSFetchClause implement clauses used to configure NSFetchRequests.
The CSQueryClause implement clauses used to configure NSFetchRequests.
The CSDeleteClause implement clauses used to configure NSFetchRequests.
The CSDynamicSchema serves as the Objective-C bridging type for DynamicSchema.
Implement the CSListObserver protocol to observe changes to a list of NSManagedObjects. CSListObservers may register themselves to a CSListMonitor‘s -addListObserver: method:
Implement the CSListObjectObserver protocol to observe detailed changes to a list’s object. CSListObjectObservers may register themselves to a CSListMonitor‘s -addListObjectObserver(_:) method:
Implement the CSListSectionObserver protocol to observe changes to a list’s section info. CSListSectionObservers may register themselves to a CSListMonitor‘s -addListSectionObserver: method:
Implement the CSObjectObserver protocol to observe changes to a single NSManagedObject instance. CSObjectObservers may register themselves to a CSObjectMonitor‘s -addObjectObserver: method:
The CSStorageInterface serves as the Objective-C bridging type for StorageInterface.
The CSLocalStorage serves as the Objective-C bridging type for LocalStorage.
Objective-C Foundation types that are natively supported by Core Data managed attributes all conform to CoreDataNativeType.
CoreStoreObjectiveCTypes are Objective-C accessible classes that represent CoreStore’s Swift types.
CoreStoreSwiftTypes are CoreStore’s Swift types that are bridgeable to Objective-C.
Custom loggers should implement the CoreStoreLogger protocol and pass its instance to CoreStore.logger. Calls to log(...), assert(...), and abort(...) are not tied to a specific queue/thread, so it is the implementer’s job to handle thread-safety.
Observation token for CoreStoreObject properties. Make sure to retain this instance to keep observing notifications.
All CoreStore’s utilities are designed around DynamicObject instances. NSManagedObject and CoreStoreObject instances all conform to DynamicObject.
Used only for utility methods.
"},"Protocols/DynamicSchema.html":{"name":"DynamicSchema","abstract":"DynamicSchema are types that provide NSManagedObjectModel instances for a single model version. CoreStore currently supports the following concrete types:
Utility protocol for FetchChainBuilder. Used in fetch methods that support chained fetch builders.
Encapsulates containers which manages an internal NSManagedObjectContext, such as DataStacks and transactions, that can be used for fetching objects. CoreStore provides implementations for this protocol and should be used as a read-only abstraction.
Abstracts the GroupBy clause for protocol utilities.
Types supported by CoreStore as NSManagedObject and CoreStoreObject property types."},"Protocols/ImportableObject.html":{"name":"ImportableObject","abstract":"
NSManagedObject and CoreStoreObject subclasses that conform to the ImportableObject protocol can be imported from a specified ImportSource. This allows transactions to create and insert instances this way:
NSManagedObject subclasses that conform to the ImportableUniqueObject protocol can be imported from a specified ImportSource. This allows transactions to either update existing objects or create new instances this way:
Used only for utility methods. Types allowed as Value generic type to KeyPath utilities.
Used only for utility methods. Types allowed as Value generic type to KeyPath utilities.
Used only for utility methods. Types allowed as Value generic type to KeyPath utilities.
Used only for utility methods. Types allowed as Value generic type to KeyPath utilities.
Used only for utility methods. Types allowed as Value generic type to KeyPath utilities.
Implement the ListObserver protocol to observe changes to a list of NSManagedObjects. ListObservers may register themselves to a ListMonitor‘s addObserver(_:) method:
Implement the ListObjectObserver protocol to observe detailed changes to a list’s object. ListObjectObservers may register themselves to a ListMonitor‘s addObserver(_:) method:
Implement the ListSectionObserver protocol to observe changes to a list’s section info. ListSectionObservers may register themselves to a ListMonitor‘s addObserver(_:) method:
Implement the ObjectObserver protocol to observe changes to a single DynamicObject instance. ObjectObservers may register themselves to a ObjectMonitor‘s addObserver(_:) method:
Abstracts the OrderBy clause for protocol utilities.
Utility protocol for QueryChainBuilder. Used in fetch methods that support chained query builders.
Types supported by CoreStore for querying, especially as generic type for Select clauses."},"Protocols/QueryableSource.html":{"name":"QueryableSource","abstract":"
Encapsulates containers which manages an internal NSManagedObjectContext, such as DataStacks and transactions, that can be used for querying values. CoreStore provides implementations for this protocol and should be used as a read-only abstraction.
The SchemaMappingProvider provides migration mapping information between two DynamicSchema versions.
Utility protocol for SectionMonitorChainBuilder. Used in methods that support chained fetch builders.
The SelectResultType protocol is implemented by return types supported by the Select clause.
The SelectAttributesResultType protocol is implemented by return types supported by the queryAttributes(...) methods.
Abstracts the Select clause for protocol utilities.
The StorageInterface represents the data store managed (or to be managed) by the DataStack. When added to the DataStack, the StorageInterface serves as the interface for the NSPersistentStore. This may be a database file, an in-memory store, etc.
The LocalStorage represents StorageInterfaces that are backed by local files.
The CloudStorage represents StorageInterfaces that are synchronized from a cloud-based store.
The FetchClause implement clauses used to configure NSFetchRequests.
The QueryClause implement clauses used to configure NSFetchRequests.
The DeleteClause implement clauses used to configure NSFetchRequests.
Type-erased Where clause for protocol utilities.
Used only for Where.Expression type constraints. Currently supports SingleTarget and CollectionTarget.
Abstracts the Where clause for protocol utilities. Typically used only for utility method generic constraints.
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Creates a Where clause by comparing if a property is less than a value
Creates a Where clause by comparing if a property is greater than a value
Creates a Where clause by comparing if a property is less than or equal to a value
Creates a Where clause by comparing if a property is greater than or equal to a value
Creates a Where clause by comparing if a property is less than a value
Creates a Where clause by comparing if a property is greater than a value
Creates a Where clause by comparing if a property is less than or equal to a value
Creates a Where clause by comparing if a property is greater than or equal to a value
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains a value of a property
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains a value of a property
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains a value of a property
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains a value of a property
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Creates a Where clause by comparing if a property is less than a value
Creates a Where clause by comparing if a property is greater than a value
Creates a Where clause by comparing if a property is less than or equal to a value
Creates a Where clause by comparing if a property is greater than or equal to a value
Creates a Where clause by comparing if a property is less than a value
Creates a Where clause by comparing if a property is greater than a value
Creates a Where clause by comparing if a property is less than or equal to a value
Creates a Where clause by comparing if a property is greater than or equal to a value
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains a value of a property
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Connects multiple DynamicKeyPaths to create a type-safe chain usable in query/fetch expressions
Creates a Where clause by comparing if an expression is equal to a value
Creates a Where clause by comparing if an expression is not equal to a value
Creates a Where clause by checking if a sequence contains a value
Creates a Where clause by comparing if an expression is less than a value
Creates a Where clause by comparing if an expression is less than or equal to a value
Creates a Where clause by comparing if an expression is greater than a value
Creates a Where clause by comparing if an expression is greater than or equal to a value
Creates a Where clause by comparing if an expression is equal to a value
Creates a Where clause by comparing if an expression is equal to a value
Creates a Where clause by comparing if an expression is equal to a value
Creates a Where clause by comparing if an expression is equal to a value
Creates a Where clause by checking if a sequence contains a value
Creates a Where clause by comparing if an expression is less than a value
Creates a Where clause by comparing if an expression is less than or equal to a value
Creates a Where clause by comparing if an expression is greater than a value
Creates a Where clause by comparing if an expression is greater than or equal to a value
Sets a closure that the Progress calls whenever its fractionCompleted changes. You can use this instead of setting up KVO.
Sets a closure that the NSProgress calls whenever its fractionCompleted changes. You can use this instead of setting up KVO.
Combines multiple OrderBy predicates together
Combines multiple Where predicates together using AND operator
Combines multiple Where predicates together using OR operator
Creates an instance of this type from its QueryableNativeType value.
Creates QueryableNativeType value from this instance.
Exposes a FetchableSource that can fetch sibling objects of this NSManagedObject instance. This may be the DataStack, a BaseDataTransaction, the NSManagedObjectContext itself, or nil if the obejct’s parent is already deallocated.
Exposes a QueryableSource that can query attributes and aggregate values. This may be the DataStack, a BaseDataTransaction, the NSManagedObjectContext itself, or nil if the obejct’s parent is already deallocated.
Provides a convenience wrapper for accessing primitiveValue(forKey:) with proper calls to willAccessValue(forKey:) and didAccessValue(forKey:). This is useful when implementing accessor methods for transient attributes.
Provides a convenience wrapper for accessing primitiveValue(forKey:) with proper calls to willAccessValue(forKey:) and didAccessValue(forKey:). This is useful when implementing accessor methods for transient attributes.
Provides a convenience wrapper for accessing primitiveValue(forKey:) with proper calls to willAccessValue(forKey:) and didAccessValue(forKey:). This is useful when implementing accessor methods for transient attributes.
Provides a convenience wrapper for setting setPrimitiveValue(_:forKey:) with proper calls to willChangeValue(forKey:) and didChangeValue(forKey:). This is useful when implementing mutator methods for transient attributes.
Provides a convenience wrapper for setting setPrimitiveValue(_:forKey:) with proper calls to willChangeValue(forKey:) and didChangeValue(forKey:).
Provides a convenience wrapper for setting setPrimitiveValue(_:forKey:) with proper calls to willChangeValue(forKey:) and didChangeValue(forKey:). This is useful when implementing mutator methods for transient attributes.
Re-faults the object to use the latest values from the persistent store
","parent_name":"NSManagedObject"},"Extensions/NSManagedObject.html#/s:So15NSManagedObjectC9CoreStoreE15refreshAndMergeyyF":{"name":"refreshAndMerge()","abstract":"Re-faults the object to use the latest values from the persistent store and merges previously pending changes back
","parent_name":"NSManagedObject"},"Extensions/NSManagedObject.html#/c:@CM@CoreStore@@objc(cs)NSManagedObject(im)cs_accessValueForKVCKey:":{"name":"cs_accessValueForKVCKey(_:)","abstract":"Provides a convenience wrapper for accessing -primitiveValueForKey: with proper calls to -willAccessValueForKey: and -didAccessValueForKey:. This is useful when implementing accessor methods for transient attributes.
Provides a convenience wrapper for setting -setPrimitiveValue: with proper calls to -willChangeValueForKey: and -didChangeValueForKey:. This is useful when implementing mutator methods for transient attributes.
Re-faults the object to use the latest values from the persistent store
","parent_name":"NSManagedObject"},"Extensions/NSManagedObject.html#/s:So15NSManagedObjectC9CoreStoreE18cs_refreshAndMergeyyF":{"name":"cs_refreshAndMerge()","abstract":"Re-faults the object to use the latest values from the persistent store and merges previously pending changes back
","parent_name":"NSManagedObject"},"Extensions/NSManagedObject.html#/s:So15NSManagedObjectC9CoreStoreE21unsafeDataTransactionAC06UnsafefG0CSgvp":{"name":"unsafeDataTransaction","abstract":"Returns this object’s parent UnsafeDataTransaction instance if it was created from one. Returns nil if the parent transaction is either an AsynchronousDataTransaction or a SynchronousDataTransaction, or if the object is not managed by CoreStore.
Creates a Where.Expression clause for COUNT
Creates a Where.Expression clause for COUNT
Extracts the keyPath string from the property.
","parent_name":"KeyPathString"},"Extensions/KeyPathString.html#/s:SS9CoreStoreE7keyPathSSs03KeyD0Cyxq_G_tcAA0aB6ObjectCRbzAA07DynamiceD0R_r0_lufc":{"name":"init(keyPath:)","abstract":"Extracts the keyPath string from the property.
","parent_name":"KeyPathString"},"Extensions/KeyPathString.html#/s:SS9CoreStoreE7keyPathSSAA5WhereV10ExpressionVyx_q_q0_G_tcAA13DynamicObjectRzAA0eF5TraitR_r1_lufc":{"name":"init(keyPath:)","abstract":"Extracts the keyPath string from the property.
","parent_name":"KeyPathString"},"Extensions/Selector.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Selector"},"Extensions/Result.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Result"},"Extensions/NSDeleteRule.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"NSDeleteRule"},"Extensions/NSAttributeType.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"NSAttributeType"},"Extensions/NSAttributeType.html":{"name":"NSAttributeType"},"Extensions/NSDeleteRule.html":{"name":"NSDeleteRule"},"Extensions/Result.html":{"name":"Result"},"Extensions/Selector.html":{"name":"Selector"},"Extensions/KeyPathString.html":{"name":"KeyPathString"},"Extensions/KeyPath.html":{"name":"KeyPath"},"Extensions/NSManagedObject.html":{"name":"NSManagedObject"},"Extensions/RawRepresentable.html":{"name":"RawRepresentable"},"Extensions/NSManagedObjectContext.html":{"name":"NSManagedObjectContext"},"Extensions/Sequence.html":{"name":"Sequence"},"Extensions/Progress.html":{"name":"Progress"},"Extensions/Bool.html":{"name":"Bool"},"Extensions/CGFloat.html":{"name":"CGFloat"},"Extensions/Data.html":{"name":"Data"},"Extensions/Date.html":{"name":"Date"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/Int.html":{"name":"Int"},"Extensions/Int8.html":{"name":"Int8"},"Extensions/Int16.html":{"name":"Int16"},"Extensions/Int32.html":{"name":"Int32"},"Extensions/Int64.html":{"name":"Int64"},"Extensions/NSData.html":{"name":"NSData"},"Extensions/NSDate.html":{"name":"NSDate"},"Extensions/NSManagedObjectID.html":{"name":"NSManagedObjectID"},"Extensions/NSNull.html":{"name":"NSNull"},"Extensions/NSNumber.html":{"name":"NSNumber"},"Extensions/NSString.html":{"name":"NSString"},"Extensions/NSURL.html":{"name":"NSURL"},"Extensions/NSUUID.html":{"name":"NSUUID"},"Extensions/String.html":{"name":"String"},"Extensions/URL.html":{"name":"URL"},"Extensions/UUID.html":{"name":"UUID"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC_10deleteRule8minCount03maxK019versionHashModifier18renamingIdentifier18affectedByKeyPathsAEyx_qd__GSS_AC06DeleteI0Oyx_GS2iSSSgyXAAPyXAShySSGyXAtcfc":{"name":"init(_:deleteRule:minCount:maxCount:versionHashModifier:renamingIdentifier:affectedByKeyPaths:)","abstract":"Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
The relationship unordered objects.
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC7observe7options13changeHandlerAA0aB25ObjectKeyValueObservation_pSo05NSKeyN16ObservingOptionsV_yx_AA0ablG4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
The number of elements in the set.
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC7isEmptySbvp":{"name":"isEmpty","abstract":"A Boolean value indicating whether the range contains no elements.
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:ST8IteratorQa":{"name":"Iterator","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:ST12makeIterator0B0QzyF":{"name":"makeIterator()","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC2zeoiyyAEyx_qd__G_qd0__t7ElementQyd0__Rsd__STRd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a sequence of objects to the relationship. The operation
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a sequence of objects to the relationship. The operation
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC2zeoiyyAEyx_qd__G_AC0eF7OrderedCyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a sequence of objects to the relationship. The operation
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC3zeeoiySbAEyx_qd__G_Shyqd__GtFZ":{"name":".==(_:_:)","abstract":"Compares the if the relationship’s objects and a set of objects have the same elements.
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC3zeeoiySbShyqd__G_AEyx_qd__GtFZ":{"name":".==(_:_:)","abstract":"Compares if a set of objects and a relationship’s objects have the same elements.
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyUnordered.html#/s:9CoreStore21RelationshipContainerO15ToManyUnorderedC3zeeoiySbAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".==(_:_:)","abstract":"Compares if a relationship’s objects and another relationship’s objects have the same elements.
","parent_name":"ToManyUnordered"},"Enums/RelationshipContainer/ToManyOrdered.html#/s:9CoreStore21RelationshipContainerO13ToManyOrderedC_8minCount03maxI010deleteRule19versionHashModifier18renamingIdentifier18affectedByKeyPathsAEyx_qd__GSS_S2iAC06DeleteL0Oyx_GSSSgyXAAPyXAShySSGyXAtcfc":{"name":"init(_:minCount:maxCount:deleteRule:versionHashModifier:renamingIdentifier:affectedByKeyPaths:)","abstract":"Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
The relationship ordered objects.
","parent_name":"ToManyOrdered"},"Enums/RelationshipContainer/ToManyOrdered.html#/s:9CoreStore21RelationshipContainerO13ToManyOrderedC7observe7options13changeHandlerAA0aB25ObjectKeyValueObservation_pSo05NSKeyN16ObservingOptionsV_yx_AA0ablG4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
Assigns a sequence of objects to the relationship. The operation
","parent_name":"ToManyOrdered"},"Enums/RelationshipContainer/ToManyOrdered.html#/s:9CoreStore21RelationshipContainerO13ToManyOrderedC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a sequence of objects to the relationship. The operation
","parent_name":"ToManyOrdered"},"Enums/RelationshipContainer/ToManyOrdered.html#/s:9CoreStore21RelationshipContainerO13ToManyOrderedC3zeeoiySbAEyx_qd__G_qd0__t7ElementQyd0__Rsd__SlRd0__lFZ":{"name":".==(_:_:)","abstract":"Compares equality between a relationship’s objects and a collection of objects
","parent_name":"ToManyOrdered"},"Enums/RelationshipContainer/ToManyOrdered.html#/s:9CoreStore21RelationshipContainerO13ToManyOrderedC3zeeoiySbqd0___AEyx_qd__Gt7ElementQyd0__Rsd__SlRd0__lFZ":{"name":".==(_:_:)","abstract":"Compares equality between a collection of objects and a relationship’s objects
","parent_name":"ToManyOrdered"},"Enums/RelationshipContainer/ToManyOrdered.html#/s:9CoreStore21RelationshipContainerO13ToManyOrderedC3zeeoiySbAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".==(_:_:)","abstract":"Compares equality between a relationship’s objects and a collection of objects
","parent_name":"ToManyOrdered"},"Enums/RelationshipContainer/ToOne.html#/s:9CoreStore21RelationshipContainerO5ToOneC_10deleteRule19versionHashModifier18renamingIdentifier18affectedByKeyPathsAEyx_qd__GSS_AC06DeleteH0Oyx_GSSSgyXAANyXAShySSGyXAtcfc":{"name":"init(_:deleteRule:versionHashModifier:renamingIdentifier:affectedByKeyPaths:)","abstract":"Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
Initializes the metadata for the relationship. All relationships require an inverse
, so updates to to this object’s relationship are also reflected on its destination object. Make sure to declare this relationship’s inverse relationship on its destination object. Due to Swift’s compiler limitation, only one of the relationship and its inverse can declare an inverse: argument.
The relationship destination object.
","parent_name":"ToOne"},"Enums/RelationshipContainer/ToOne.html#/s:9CoreStore21RelationshipContainerO5ToOneC7observe7options13changeHandlerAA0aB25ObjectKeyValueObservation_pSo05NSKeyM16ObservingOptionsV_yx_AA0abkK4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Assigns an object to the relationship. The operation
","parent_name":"ToOne"},"Enums/RelationshipContainer/ToOne.html#/s:9CoreStore21RelationshipContainerO5ToOneC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns an object from another relationship. The operation
","parent_name":"ToOne"},"Enums/RelationshipContainer/ToOne.html#/s:9CoreStore21RelationshipContainerO5ToOneC3zeeoiySbAEyx_qd__G_qd__SgtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a relationship’s object and another object
","parent_name":"ToOne"},"Enums/RelationshipContainer/ToOne.html#/s:9CoreStore21RelationshipContainerO5ToOneC3zeeoiySbqd__Sg_AEyx_qd__GtFZ":{"name":".==(_:_:)","abstract":"Compares equality between an object and a relationship’s object
","parent_name":"ToOne"},"Enums/RelationshipContainer/ToOne.html#/s:9CoreStore21RelationshipContainerO5ToOneC3zeeoiySbAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".==(_:_:)","abstract":"Compares equality between a relationship’s object and another relationship’s object
","parent_name":"ToOne"},"Enums/RelationshipContainer/ToOne.html":{"name":"ToOne","abstract":"The containing type for to-one relationships. Any CoreStoreObject subclass can be a destination type. Inverse relationships should be declared from the destination type as well, using the inverse: argument for the relationship.
The containing type for to-many ordered relationships. Any CoreStoreObject subclass can be a destination type. Inverse relationships should be declared from the destination type as well, using the inverse: argument for the relationship.
The containing type for to-many unordered relationships. Any CoreStoreObject subclass can be a destination type. Inverse relationships should be declared from the destination type as well, using the inverse: argument for the relationship.
Initializes the metadata for the property.
","parent_name":"Optional"},"Enums/TransformableContainer/Optional.html#/s:9CoreStore22TransformableContainerO8OptionalC5valueqd__Sgvp":{"name":"value","abstract":"The property value.
","parent_name":"Optional"},"Enums/TransformableContainer/Optional.html#/s:9CoreStore22TransformableContainerO8OptionalC7observe7options13changeHandlerAA0aB25ObjectKeyValueObservation_pSo05NSKeyL16ObservingOptionsV_yx_AA0abjC4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
Assigns an optional transformable value to the property. The operation
","parent_name":"Optional"},"Enums/TransformableContainer/Optional.html#/s:9CoreStore22TransformableContainerO8OptionalC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns an optional transformable value from another property. The operation
","parent_name":"Optional"},"Enums/TransformableContainer/Optional.html#/s:9CoreStore22TransformableContainerO8OptionalC2zeoiyyAEyx_qd__G_AC8RequiredCyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a transformable value from another property. The operation
","parent_name":"Optional"},"Enums/TransformableContainer/Required.html#/s:9CoreStore22TransformableContainerO8RequiredC_7initial11isTransient31allowsExternalBinaryDataStorage19versionHashModifier18renamingIdentifier12customGetter0S6Setter18affectedByKeyPathsAEyx_qd__GSS_qd__yXAS2bSSSgyXAAOyXAqd__AA13PartialObjectVyxGcSgyAR_qd__tcSgShySSGyXAtcfc":{"name":"init(_:initial:isTransient:allowsExternalBinaryDataStorage:versionHashModifier:renamingIdentifier:customGetter:customSetter:affectedByKeyPaths:)","abstract":"Initializes the metadata for the property.
","parent_name":"Required"},"Enums/TransformableContainer/Required.html#/s:9CoreStore22TransformableContainerO8RequiredC5valueqd__vp":{"name":"value","abstract":"The property value.
","parent_name":"Required"},"Enums/TransformableContainer/Required.html#/s:9CoreStore22TransformableContainerO8RequiredC7observe7options13changeHandlerAA0aB25ObjectKeyValueObservation_pSo05NSKeyL16ObservingOptionsV_yx_AA0abjC4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
Assigns a transformable value to the property. The operation
","parent_name":"Required"},"Enums/TransformableContainer/Required.html#/s:9CoreStore22TransformableContainerO8RequiredC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a transformable value from another property. The operation
","parent_name":"Required"},"Enums/TransformableContainer/Required.html":{"name":"Required","abstract":"The containing type for transformable properties. Any type that conforms to NSCoding & NSCopying are supported.
The containing type for optional transformable properties. Any type that conforms to NSCoding & NSCopying are supported.
Initializes the metadata for the property.
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC5valueqd__Sgvp":{"name":"value","abstract":"The property value.
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC7observe7options13changeHandlerAA0ab9ObjectKeyC11Observation_pSo05NSKeyC16ObservingOptionsV_yx_AA0abjC4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by comparing if a property is less than a value
Creates a Where clause by comparing if a property is greater than a value
Creates a Where clause by comparing if a property is less than or equal to a value
Creates a Where clause by comparing if a property is greater than or equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Assigns an optional value to the property. The operation
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns an optional value from another property. The operation
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC2zeoiyyAEyx_qd__G_AC8RequiredCyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a value from another property. The operation
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC3zeeoiySbAEyx_qd__G_qd__SgtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another value
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC3zeeoiySbqd__Sg_AEyx_qd__GtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another property’s value
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC3zeeoiySbAEyx_qd__G_AGtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another property’s value
","parent_name":"Optional"},"Enums/ValueContainer/Optional.html#/s:9CoreStore14ValueContainerO8OptionalC3zeeoiySbAEyx_qd__G_AC8RequiredCyx_qd__GtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another property’s value
","parent_name":"Optional"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC_7initial11isTransient19versionHashModifier18renamingIdentifier12customGetter0N6Setter18affectedByKeyPathsAEyx_qd__GSS_qd__yXASbSSSgyXAANyXAqd__AA13PartialObjectVyxGcSgyAQ_qd__tcSgShySSGyXAtcfc":{"name":"init(_:initial:isTransient:versionHashModifier:renamingIdentifier:customGetter:customSetter:affectedByKeyPaths:)","abstract":"Initializes the metadata for the property.
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC5valueqd__vp":{"name":"value","abstract":"The property value.
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC7observe7options13changeHandlerAA0ab9ObjectKeyC11Observation_pSo05NSKeyC16ObservingOptionsV_yx_AA0abjC4DiffCyqd__GtctF":{"name":"observe(options:changeHandler:)","abstract":"Observes changes in the receiver value. When the returned CoreStoreObjectKeyValueObservation is deinited or invalidated, it will stop observing.
Creates a Where clause by comparing if a property is equal to a value
Creates a Where clause by comparing if a property is not equal to a value
Creates a Where clause by comparing if a property is less than a value
Creates a Where clause by comparing if a property is greater than a value
Creates a Where clause by comparing if a property is less than or equal to a value
Creates a Where clause by comparing if a property is greater than or equal to a value
Creates a Where clause by checking if a sequence contains the value of a property
Assigns a value to the property. The operation
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC2zeoiyyAEyx_qd__G_AEyqd0___qd__GtAA0aB6ObjectCRbd0__lFZ":{"name":".=(_:_:)","abstract":"Assigns a value from another property. The operation
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC3zeeoiySbAEyx_qd__G_qd__SgtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another value
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC3zeeoiySbqd__Sg_AEyx_qd__GtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a value and a property’s value
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC3zeeoiySbAEyx_qd__G_AGtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another property’s value
","parent_name":"Required"},"Enums/ValueContainer/Required.html#/s:9CoreStore14ValueContainerO8RequiredC3zeeoiySbAEyx_qd__G_AC8OptionalCyx_qd__GtFZ":{"name":".==(_:_:)","abstract":"Compares equality between a property’s value and another property’s value
","parent_name":"Required"},"Enums/ValueContainer/Required.html":{"name":"Required","abstract":"The containing type for required value properties. Any type that conforms to ImportableAttributeType are supported.
The containing type for optional value properties. Any type that conforms to ImportableAttributeType are supported.
A failure occured because of an unknown error.
","parent_name":"CoreStoreErrorCode"},"Enums/CoreStoreErrorCode.html#/s:9CoreStore0aB9ErrorCodeO27differentStorageExistsAtURLyA2CmF":{"name":"differentStorageExistsAtURL","abstract":"The NSPersistentStore could note be initialized because another store existed at the specified NSURL.
An NSMappingModel could not be found for a specific source and destination model versions.
Progressive migrations are disabled for a store, but an NSMappingModel could not be found for a specific source and destination model versions.
The LocalStorage was configured with .allowSynchronousLightweightMigration, but the model can only be migrated asynchronously.
An internal SDK call failed with the specified NSError
userInfo key.
The transaction was terminated by a user-thrown Error specified by Error
userInfo key.
The transaction was cancelled by the user.
","parent_name":"CoreStoreErrorCode"},"Enums/CoreStoreErrorCode.html#/s:9CoreStore0aB9ErrorCodeO010persistentB8NotFoundyA2CmF":{"name":"persistentStoreNotFound","abstract":"Attempted to perform a fetch but could not find any related persistent store.
","parent_name":"CoreStoreErrorCode"},"Enums/CoreStore.html#/s:9CoreStoreAAO12defaultStackAA04DataD0CvpZ":{"name":"defaultStack","abstract":"The default DataStack instance to be used. If defaultStack is not set before the first time accessed, a default-configured DataStack will be created.
The CoreStoreLogger instance to be used. The default logger is an instance of a DefaultLogger.
Asynchronously adds a StorageInterface to the defaultStack. Migrations are also initiated by default.
Asynchronously adds a LocalStorage to the defaultStack. Migrations are also initiated by default.
Asynchronously adds a CloudStorage to the defaultStack. Migrations are also initiated by default.
Migrates a local storage to match the defaultStack‘s managed object model version. This method does NOT add the migrated store to the data stack.
Checks the migration steps required for the storage to match the defaultStack‘s managed object model version.
Using the defaultStack, creates an ObjectMonitor for the specified DynamicObject. Multiple ObjectObservers may then register themselves to be notified when changes are made to the DynamicObject.
Using the defaultStack, creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Using the defaultStack, creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a list of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Using the defaultStack, asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Using the defaultStack, asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Using the defaultStack, creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Using the defaultStack, creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified SectionMonitorBuilderType built from a chain of clauses.
Using the defaultStack, asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Using the defaultStack, asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified SectionMonitorBuilderType built from a chain of clauses.
Using the defaultStack, fetches the DynamicObject instance in the DataStack‘s context from a reference created from a transaction or from a different managed object context.
Using the defaultStack, fetches the DynamicObject instance in the DataStack‘s context from an NSManagedObjectID.
Using the defaultStack, fetches the DynamicObject instances in the DataStack‘s context from references created from a transaction or from a different managed object context.
Using the defaultStack, fetches the DynamicObject instances in the DataStack‘s context from a list of NSManagedObjectID.
Using the defaultStack, fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Using the defaultStack, fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Using the defaultStack, fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Using the defaultStack, fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Using the defaultStack, fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Using the defaultStack, fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Using the defaultStack, fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Using the defaultStack, fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Using the defaultStack, fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Using the defaultStack, fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Using the defaultStack, queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Using the defaultStack, queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a property value or aggregate as specified by the QueryChainableBuilderType built from a chain of clauses.
Using the defaultStack, queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Using the defaultStack, queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values or as specified by the QueryChainableBuilderType built from a chain of clauses.
Returns the defaultStack‘s model version. The version string is the same as the name of a version-specific .xcdatamodeld file or CoreStoreSchema.
Returns the entity name-to-class type mapping from the defaultStack‘s model.
Returns the entity name-to-class type mapping from the defaultStack‘s model.
Returns the NSEntityDescription for the specified NSManagedObject subclass from defaultStack‘s model.
Returns the NSEntityDescription for the specified CoreStoreObject subclass from defaultStack‘s model.
Creates an SQLiteStore with default parameters and adds it to the defaultStack. This method blocks until completion.
Adds a StorageInterface to the defaultStack and blocks until completion.
Adds a LocalStorage to the defaultStack and blocks until completion.
Adds a CloudStorage to the defaultStack and blocks until completion.
Using the defaultStack, performs a transaction asynchronously where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. The changes are commited automatically after the task closure returns. On success, the value returned from closure will be the wrapped as .success(T) in the completion‘s Result<T>. Any errors thrown from inside the task will be reported as .failure(CoreStoreError). To cancel/rollback changes, call try transaction.cancel(), which throws a CoreStoreError.userCancelled.
Using the defaultStack, performs a transaction asynchronously where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. The changes are commited automatically after the task closure returns. On success, the value returned from closure will be the argument of the success closure. Any errors thrown from inside the task will be wrapped in a CoreStoreError and reported in the failure closure. To cancel/rollback changes, call try transaction.cancel(), which throws a CoreStoreError.userCancelled.
Using the defaultStack, performs a transaction synchronously where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. The changes are commited automatically after the task closure returns. On success, the value returned from closure will be the return value of perform(synchronous:). Any errors thrown from inside the task will be thrown from perform(synchronous:). To cancel/rollback changes, call try transaction.cancel(), which throws a CoreStoreError.userCancelled.
Using the defaultStack, begins a non-contiguous transaction where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Refreshes all registered objects NSManagedObjects or CoreStoreObjects in the defaultStack.
Provides a SelectTerm to a Select clause for querying an entity attribute. A shorter way to do the same is to assign from the string keypath directly:
Provides a SelectTerm to a Select clause for querying the average value of an attribute.
Provides a SelectTerm to a Select clause for a count query.
Provides a SelectTerm to a Select clause for querying the maximum value for an attribute.
Provides a SelectTerm to a Select clause for querying the minimum value for an attribute.
Provides a SelectTerm to a Select clause for querying the sum value for an attribute.
Provides a SelectTerm to a Select clause for querying the NSManagedObjectID.
Provides a SelectTerm to a Select clause for querying an entity attribute.
Provides a SelectTerm to a Select clause for querying the average value of an attribute.
Provides a SelectTerm to a Select clause for a count query.
Provides a SelectTerm to a Select clause for querying the maximum value for an attribute.
Provides a SelectTerm to a Select clause for querying the minimum value for an attribute.
Provides a SelectTerm to a Select clause for querying the sum value for an attribute.
Provides a SelectTerm to a Select clause for querying an entity attribute.
Provides a SelectTerm to a Select clause for querying an entity attribute.
Provides a SelectTerm to a Select clause for querying an entity attribute.
Provides a SelectTerm to a Select clause for querying an entity attribute.
Provides a SelectTerm to a Select clause for querying the average value of an attribute.
Provides a SelectTerm to a Select clause for querying the average value of an attribute.
Provides a SelectTerm to a Select clause for querying the average value of an attribute.
Provides a SelectTerm to a Select clause for querying the average value of an attribute.
Provides a SelectTerm to a Select clause for a count query.
Provides a SelectTerm to a Select clause for a count query.
Provides a SelectTerm to a Select clause for a count query.
Provides a SelectTerm to a Select clause for a count query.
Provides a SelectTerm to a Select clause for querying the maximum value for an attribute.
Provides a SelectTerm to a Select clause for querying the maximum value for an attribute.
Provides a SelectTerm to a Select clause for querying the maximum value for an attribute.
Provides a SelectTerm to a Select clause for querying the maximum value for an attribute.
Provides a SelectTerm to a Select clause for querying the minimum value for an attribute.
Provides a SelectTerm to a Select clause for querying the minimum value for an attribute.
Provides a SelectTerm to a Select clause for querying the minimum value for an attribute.
Provides a SelectTerm to a Select clause for querying the minimum value for an attribute.
Provides a SelectTerm to a Select clause for querying the sum value for an attribute.
Provides a SelectTerm to a Select clause for querying the sum value for an attribute.
Provides a SelectTerm to a Select clause for querying the sum value for an attribute.
Provides a SelectTerm to a Select clause for querying the sum value for an attribute.
Tells the DataStack that the store should not be migrated or recreated, and should simply fail on model mismatch
Tells the DataStack to delete and recreate the store on model mismatch, otherwise exceptions will be thrown on failure instead
Tells the DataStack to prevent progressive migrations for the store
Tells the DataStack to allow lightweight migration for the store when added synchronously
Indicates that the persistent store matches the latest model version and no migration is needed
","parent_name":"MigrationType"},"Enums/MigrationType.html#/s:9CoreStore13MigrationTypeO11lightweightyACSS_SStcACmF":{"name":"lightweight(sourceVersion:destinationVersion:)","abstract":"Indicates that the persistent store does not match the latest model version but Core Data can infer the mapping model, so a lightweight migration is needed
","parent_name":"MigrationType"},"Enums/MigrationType.html#/s:9CoreStore13MigrationTypeO11heavyweightyACSS_SStcACmF":{"name":"heavyweight(sourceVersion:destinationVersion:)","abstract":"Indicates that the persistent store does not match the latest model version and Core Data could not infer a mapping model, so a custom migration is needed
","parent_name":"MigrationType"},"Enums/MigrationType.html#/s:9CoreStore13MigrationTypeO13sourceVersionSSvp":{"name":"sourceVersion","abstract":"Returns the source model version for the migration type. If no migration is required, sourceVersion will be equal to the destinationVersion.
Returns the destination model version for the migration type. If no migration is required, destinationVersion will be equal to the sourceVersion.
Returns true if the MigrationType is a lightweight migration. Used as syntactic sugar.
Returns true if the MigrationType is a heavyweight migration. Used as syntactic sugar.
Returns true if the MigrationType is either a lightweight or a heavyweight migration. Returns false if no migrations specified.
A failure occured because of an unknown error.
","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:9CoreStore0aB5ErrorO27differentStorageExistsAtURLyAC10Foundation0H0V_tcACmF":{"name":"differentStorageExistsAtURL(existingPersistentStoreURL:)","abstract":"The NSPersistentStore could not be initialized because another store existed at the specified NSURL.
An NSMappingModel could not be found for a specific source and destination model versions.
Progressive migrations are disabled for a store, but an NSMappingModel could not be found for a specific source and destination model versions.
The LocalStorage was configured with .allowSynchronousLightweightMigration, but the model can only be migrated asynchronously.
An internal SDK call failed with the specified NSError.
The transaction was terminated by a user-thrown Error.
The transaction was cancelled by the user.
","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:9CoreStore0aB5ErrorO010persistentB8NotFoundyAcA13DynamicObject_pXp_tcACmF":{"name":"persistentStoreNotFound(entity:)","abstract":"Attempted to perform a fetch but could not find any related persistent store.
","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:10Foundation13CustomNSErrorP11errorDomainSSvpZ":{"name":"errorDomain","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:10Foundation13CustomNSErrorP9errorCodeSivp":{"name":"errorCode","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:10Foundation13CustomNSErrorP13errorUserInfoSDySSypGvp":{"name":"errorUserInfo","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:9CoreStore0aB9SwiftTypeP18bridgeToObjectiveC0G5CTypeQzvp":{"name":"bridgeToObjectiveC","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:10Foundation26_ObjectiveCBridgeableErrorP15_bridgedNSErrorxSgSo0F0Ch_tcfc":{"name":"init(_bridgedNSError:)","parent_name":"CoreStoreError"},"Enums/CoreStoreError.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"CoreStoreError"},"Enums/CSErrorCode.html#/c:@M@CoreStore@E@CSErrorCode@CSErrorCodeUnknownError":{"name":"unknownError","abstract":"A failure occured because of an unknown error.
","parent_name":"CSErrorCode"},"Enums/CSErrorCode.html#/c:@M@CoreStore@E@CSErrorCode@CSErrorCodeDifferentStorageExistsAtURL":{"name":"differentStorageExistsAtURL","abstract":"The NSPersistentStore could note be initialized because another store existed at the specified NSURL.
An NSMappingModel could not be found for a specific source and destination model versions.
Progressive migrations are disabled for a store, but an NSMappingModel could not be found for a specific source and destination model versions.
An internal SDK call failed with the specified NSError
userInfo key.
The transaction was terminated by a user-thrown error with the specified Error
userInfo key.
The transaction was cancelled by the user.
","parent_name":"CSErrorCode"},"Enums/CSErrorCode.html":{"name":"CSErrorCode","abstract":"The NSError error codes for CSError.Domain.
All errors thrown from CoreStore are expressed in CoreStoreError enum values.
The MigrationType specifies the type of migration required for a store.
The CSLocalStorageOptions provides settings that tells the CSDataStack how to setup the persistent store for CSLocalStorage implementers.
The SelectTerm is passed to the Select clause to indicate the attributes/aggregate keys to be queried.
CoreStore is the main entry point for all other APIs.
The NSError error codes for CoreStoreErrorDomain.
The LogLevel indicates the severity of a log message.
The containing type for value properties. Use the DynamicObject.Value typealias instead for shorter syntax.
The containing type for transformable properties. Use the DynamicObject.Transformable typealias instead for shorter syntax.
The containing type for relationships. Use the DynamicObject.Relationship typealias instead for shorter syntax.
The NSError error domain string for CSError.
The source model version for the mapping.
","parent_name":"XcodeSchemaMappingProvider"},"Classes/XcodeSchemaMappingProvider.html#/s:9CoreStore26XcodeSchemaMappingProviderC18destinationVersionSSvp":{"name":"destinationVersion","abstract":"The destination model version for the mapping.
","parent_name":"XcodeSchemaMappingProvider"},"Classes/XcodeSchemaMappingProvider.html#/s:9CoreStore26XcodeSchemaMappingProviderC18mappingModelBundleSo8NSBundleCvp":{"name":"mappingModelBundle","abstract":"The Bundle that contains the xcmappingmodel file.
Creates an XcodeSchemaMappingProvider
Allows external libraries to store custom data. App code should rarely have a need for this.
","parent_name":"UserInfo"},"Classes/UserInfo.html#/s:9CoreStore8UserInfoC_8lazyInitypSV_ypyXEtcip":{"name":"subscript(_:lazyInit:)","abstract":"Allows external libraries to store custom data in the DataStack. App code should rarely have a need for this.
Do not use directly.
","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:9CoreStore13DynamicEntityC10entityNameSSvp":{"name":"entityName","abstract":"Do not use directly.
","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:9CoreStore13DynamicEntityC10isAbstractSbvp":{"name":"isAbstract","abstract":"Do not use directly.
","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:9CoreStore13DynamicEntityC19versionHashModifierSSSgvp":{"name":"versionHashModifier","abstract":"Do not use directly.
","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:9CoreStore13DynamicEntityC7indexesSaySaySSGGvp":{"name":"indexes","abstract":"Do not use directly.
","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:9CoreStore13DynamicEntityC17uniqueConstraintsSaySaySSGGvp":{"name":"uniqueConstraints","abstract":"Do not use directly.
","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"DynamicEntity"},"Classes/DynamicEntity.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"DynamicEntity"},"Classes/DefaultLogger.html#/s:9CoreStore13DefaultLoggerCACycfc":{"name":"init()","abstract":"Creates a DefaultLogger.
Handles log messages sent by the CoreStore framework.
Handles errors sent by the CoreStore framework.
Handles assertions made throughout the CoreStore framework.
Handles fatal errors made throughout the CoreStore framework.
Accesses or mutates the property value via its keyPath.
","parent_name":"UnsafeDestinationObject"},"Classes/CustomSchemaMappingProvider/UnsafeDestinationObject.html#/s:9CoreStore27CustomSchemaMappingProviderC23UnsafeDestinationObjectCyypSgSo22NSAttributeDescriptionCcip":{"name":"subscript(_:)","abstract":"Accesses or mutates the property value via its NSAttributeDescription, which can be accessed from the enumerateAttributes(_:) method.
Enumerates the all NSAttributeDescriptions. The attribute argument can be used as the subscript key to access and mutate the property. The sourceAttribute can be used to access properties from the source UnsafeSourceObject.
Accesses the property value via its keyPath.
","parent_name":"UnsafeSourceObject"},"Classes/CustomSchemaMappingProvider/UnsafeSourceObject.html#/s:9CoreStore27CustomSchemaMappingProviderC18UnsafeSourceObjectCyypSgSo22NSAttributeDescriptionCcip":{"name":"subscript(_:)","abstract":"Accesses the property value via its NSAttributeDescription, which can be accessed from the enumerateAttributes(_:) method.
Enumerates the all NSAttributeDescriptions. The attribute argument can be used as the subscript key to access the property.
The sourceEntity is meant to be removed from the source DynamicSchema and should not be migrated to the destination DynamicSchema.
The destinationEntity is newly added to the destination DynamicSchema and has no mapping from the source DynamicSchema.
The DynamicSchemas entity has no changes and can be copied directly from sourceEntity to destinationEntity.
The DynamicSchemas entity needs transformations from sourceEntity to destinationEntity. The transformer closure will be used to apply the changes. The CustomMapping.inferredTransformation method can be used directly as the transformer if the changes can be inferred (i.e. lightweight).
The closure type for CustomMapping.transformEntity.
The CustomMapping.inferredTransformation method can be used directly as the transformer if the changes can be inferred (i.e. lightweight).
The source model version for the mapping.
","parent_name":"CustomSchemaMappingProvider"},"Classes/CustomSchemaMappingProvider.html#/s:9CoreStore27CustomSchemaMappingProviderC18destinationVersionSSvp":{"name":"destinationVersion","abstract":"The destination model version for the mapping.
","parent_name":"CustomSchemaMappingProvider"},"Classes/CustomSchemaMappingProvider.html#/s:9CoreStore27CustomSchemaMappingProviderC4from2to14entityMappingsACSS_SSShyAC0cE0OGtcfc":{"name":"init(from:to:entityMappings:)","abstract":"Creates a CustomSchemaMappingProvider
Provides the type of mapping for an entity. Mappings of entities with no CustomMapping provided will be automatically calculated if possible. Any conflicts or ambiguity will raise an assertion.
The read-only proxy object used for the source object in a mapping’s Transformer closure. Properties can be accessed either by keyPath string or by NSAttributeDescription.
The read-write proxy object used for the destination object that can be created in a mapping’s Transformer closure. Properties can be accessed and mutated either through keyPath string or by NSAttributeDescription.
Indicates the kind of change. See the comments for NSObject.observeValue(forKeyPath:of:change:context:) for more information.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
indexes will be nil unless the observed KeyPath refers to an ordered to-many property
‘isPrior’ will be true if this change observation is being sent before the change happens, due to .prior being passed to observe()
Indicates the kind of change. See the comments for NSObject.observeValue(forKeyPath:of:change:context:) for more information.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
‘isPrior’ will be true if this change observation is being sent before the change happens, due to .prior being passed to observe()
Indicates the kind of change. See the comments for NSObject.observeValue(forKeyPath:of:change:context:) for more information.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
‘isPrior’ will be true if this change observation is being sent before the change happens, due to .prior being passed to observe()
Indicates the kind of change. See the comments for NSObject.observeValue(forKeyPath:of:change:context:) for more information.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). In general, get the most up to date value by accessing it directly on the observed object instead.
‘isPrior’ will be true if this change observation is being sent before the change happens, due to .prior being passed to observe()
Indicates the kind of change. See the comments for NSObject.observeValue(forKeyPath:of:change:context:) for more information.
newValue and oldValue will only be non-nil if .new/.old is passed to observe(). newValue will be nil if isPrior is true.
newValue and oldValue will only be non-nil if .new/.old is passed to observe().
‘isPrior’ will be true if this change observation is being sent before the change happens, due to .prior being passed to observe()
The version string for the current model version. The DataStack will try to migrate all StorageInterfaces added to itself to this version, following the version steps provided by the migrationChain.
The schema for the current model version. The DataStack will try to migrate all StorageInterfaces added to itself to this version, following the version steps provided by the migrationChain.
The version string for the current model version. The DataStack will try to migrate all StorageInterfaces added to itself to this version, following the version steps provided by the migrationChain.
Convenience initializer for a SchemaHistory created from a single xcdatamodeld file.
Initializes a SchemaHistory with a list of DynamicSchema and a MigrationChain to describe the order of progressive migrations.
Initializes a SchemaHistory with a list of DynamicSchema and a MigrationChain to describe the order of progressive migrations.
The type for the object contained by the ObjectMonitor
Returns the DynamicObject instance being observed, or nil if the object was already deleted.
Returns true if the DynamicObject instance being observed still exists, or false if the object was already deleted.
Registers an ObjectObserver to be notified when changes to the receiver’s object are made.
Unregisters an ObjectObserver from receiving notifications for changes to the receiver’s object.
Allow external libraries to store custom data in the ObjectMonitor. App code should rarely have a need for this.
The type for the objects contained bye the ListMonitor
Returns the object at the given index within the first section. This subscript indexer is typically used for ListMonitors created with monitorList(_:).
Returns the object at the given index, or nil if out of bounds. This subscript indexer is typically used for ListMonitors created with monitorList(_:).
Returns the object at the given sectionIndex and itemIndex. This subscript indexer is typically used for ListMonitors created with monitorSectionedList(_:).
Returns the object at the given section and item index, or nil if out of bounds. This subscript indexer is typically used for ListMonitors created with monitorSectionedList(_:).
Returns the object at the given IndexPath. This subscript indexer is typically used for ListMonitors created with monitorSectionedList(_:).
Returns the object at the given IndexPath, or nil if out of bounds. This subscript indexer is typically used for ListMonitors created with monitorSectionedList(_:).
Checks if the ListMonitor has at least one section
Checks if the ListMonitor has at least one object in any section.
Checks if the ListMonitor has at least one object the specified section.
Returns the number of sections
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorC15numberOfObjectsSiyF":{"name":"numberOfObjects()","abstract":"Returns the number of objects in all sections
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorC15numberOfObjects2inS2i_tF":{"name":"numberOfObjects(in:)","abstract":"Returns the number of objects in the specified section
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorC15numberOfObjects8safelyInSiSgSi_tF":{"name":"numberOfObjects(safelyIn:)","abstract":"Returns the number of objects in the specified section, or nil if out of bounds.
Returns the NSFetchedResultsSectionInfo for the specified section
Returns the NSFetchedResultsSectionInfo for the specified section, or nil if out of bounds.
Returns the NSFetchedResultsSectionInfos for all sections
Returns the target section for a specified Section Index
title and index.
Returns the section index titles for all sections
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorC5index2ofSiSgx_tF":{"name":"index(of:)","abstract":"Returns the index of the DynamicObject if it exists in the ListMonitor‘s fetched objects, or nil if not found.
Returns the IndexPath of the DynamicObject if it exists in the ListMonitor‘s fetched objects, or nil if not found.
Registers a ListObserver to be notified when changes to the receiver’s list occur.
Registers a ListObjectObserver to be notified when changes to the receiver’s list occur.
Registers a ListSectionObserver to be notified when changes to the receiver’s list occur.
Unregisters a ListObserver from receiving notifications for changes to the receiver’s list.
Returns true if a call to refetch(...) was made to the ListMonitor and is currently waiting for the fetching to complete. Returns false otherwise.
Asks the ListMonitor to refetch its objects using the specified series of FetchClauses. Note that this method does not execute the fetch immediately; the actual fetching will happen after the NSFetchedResultsController‘s last controllerDidChangeContent(_:) notification completes.
Asks the ListMonitor to refetch its objects using the specified series of FetchClauses. Note that this method does not execute the fetch immediately; the actual fetching will happen after the NSFetchedResultsController‘s last controllerDidChangeContent(_:) notification completes.
Allow external libraries to store custom data in the ListMonitor. App code should rarely have a need for this.
Returns all objects in all sections
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorCAASo15NSManagedObjectCRbzrlE7objects2inSayxGSi_tF":{"name":"objects(in:)","abstract":"Returns all objects in the specified section
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorCAASo15NSManagedObjectCRbzrlE7objects8safelyInSayxGSgSi_tF":{"name":"objects(safelyIn:)","abstract":"Returns all objects in the specified section, or nil if out of bounds.
Returns all objects in all sections
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorCA2A0aB6ObjectCRbzrlE7objects2inSayxGSi_tF":{"name":"objects(in:)","abstract":"Returns all objects in the specified section
","parent_name":"ListMonitor"},"Classes/ListMonitor.html#/s:9CoreStore11ListMonitorCA2A0aB6ObjectCRbzrlE7objects8safelyInSayxGSgSi_tF":{"name":"objects(safelyIn:)","abstract":"Returns all objects in the specified section, or nil if out of bounds.
Initializes an Entity. Always provide a concrete generic type to Entity.
Initializes an Entity. Always provide a concrete generic type to Entity.
Initializes an Entity.
Initializes an Entity.
Initializes a CoreStoreSchema. Using this initializer only if the entities don’t need to be assigned to particular Configurations
. To use multiple configurations (for example, to separate entities in different StorageInterfaces), use the init(modelVersion:entitiesByConfiguration:versionLock:) initializer.
Initializes a CoreStoreSchema. Using this initializer if multiple Configurations
(for example, to separate entities in different StorageInterfaces) are needed. To add an entity only to the default configuration, assign an empty set to its configurations list. Note that regardless of the set configurations, all entities will be added to the default configuration.
Do not call this directly. This is exposed as public only as a required initializer.
","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore0aB6ObjectC6asMetaACyt_tcfc":{"name":"init(asMeta:)","abstract":"Do not call this directly. This is exposed as public only as a required initializer.
","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore0aB6ObjectC11fetchSourceAA09FetchableE0_pSgyF":{"name":"fetchSource()","abstract":"Exposes a FetchableSource that can fetch sibling objects of this CoreStoreObject instance. This may be the DataStack, a BaseDataTransaction, the NSManagedObjectContext itself, or nil if the obejct’s parent is already deallocated.
Exposes a QueryableSource that can query attributes and aggregate values. This may be the DataStack, a BaseDataTransaction, the NSManagedObjectContext itself, or nil if the obejct’s parent is already deallocated.
Re-faults the object to use the latest values from the persistent store
","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore0aB6ObjectC15refreshAndMergeyyF":{"name":"refreshAndMerge()","abstract":"Re-faults the object to use the latest values from the persistent store and merges previously pending changes back
","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore13DynamicObjectP14cs_forceCreate17entityDescription4into8assignToxSo08NSEntityI0C_So09NSManagedD7ContextCSo012NSPersistentB0CtFZ":{"name":"cs_forceCreate(entityDescription:into:assignTo:)","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore13DynamicObjectP10cs_fromRaw6objectxSo09NSManagedD0C_tFZ":{"name":"cs_fromRaw(object:)","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore13DynamicObjectP10cs_matches6objectSbSo09NSManagedD0C_tFZ":{"name":"cs_matches(object:)","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore13DynamicObjectP5cs_idSo09NSManagedD2IDCyF":{"name":"cs_id()","parent_name":"CoreStoreObject"},"Classes/CoreStoreObject.html#/s:9CoreStore13DynamicObjectP8cs_toRawSo09NSManagedD0CyF":{"name":"cs_toRaw()","parent_name":"CoreStoreObject"},"Classes/XcodeDataModelSchema.html#/s:9CoreStore20XcodeDataModelSchemaC4from9modelName6bundle14migrationChainSayACG03allF0_SS07currentE7VersiontSS_So8NSBundleCAA09MigrationL0VtFZ":{"name":"from(modelName:bundle:migrationChain:)","abstract":"Creates a XcodeDataModelSchema for each of the models declared in the specified (.xcdatamodeld) model file.
Initializes an XcodeDataModelSchema from an *.xcdatamodeld version name and its containing Bundle.
Initializes an XcodeDataModelSchema from an *.xcdatamodeld file URL.
Initializes an CSXcodeDataModelSchema from an *.xcdatamodeld file URL.
The internal NSPredicate instance for the Where clause
Initializes a CSWhere clause with a predicate that always evaluates to the specified boolean value
Initializes a CSWhere clause with a predicate using the specified string format and arguments
Initializes a CSWhere clause that compares equality
Initializes a CSWhere clause that compares membership
Initializes a CSWhere clause with an NSPredicate
Saves the transaction changes asynchronously. For an UnsafeDataTransaction, multiple commits are allowed, although it is the developer’s responsibility to ensure a reasonable leeway to prevent blocking the main thread.
Saves the transaction changes and waits for completion synchronously. For an UnsafeDataTransaction, multiple commits are allowed, although it is the developer’s responsibility to ensure a reasonable leeway to prevent blocking the main thread.
Rolls back the transaction.
","parent_name":"UnsafeDataTransaction"},"Classes/UnsafeDataTransaction.html#/s:9CoreStore21UnsafeDataTransactionC4undoyyF":{"name":"undo()","abstract":"Undo’s the last change made to the transaction.
","parent_name":"UnsafeDataTransaction"},"Classes/UnsafeDataTransaction.html#/s:9CoreStore21UnsafeDataTransactionC5flushyyF":{"name":"flush()","abstract":"Immediately flushes all pending changes to the transaction’s observers. This is useful in conjunction with ListMonitors and ObjectMonitors created from UnsafeDataTransactions used to manage temporary scratch
data.
Flushes all pending changes to the transaction’s observers at the end of the closure‘s execution. This is useful in conjunction with ListMonitors and ObjectMonitors created from UnsafeDataTransactions used to manage temporary scratch
data.
Redo’s the last undone change to the transaction.
","parent_name":"UnsafeDataTransaction"},"Classes/UnsafeDataTransaction.html#/s:9CoreStore21UnsafeDataTransactionC05beginC012supportsUndoACSb_tF":{"name":"beginUnsafe(supportsUndo:)","abstract":"Begins a child transaction where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Utility for creating an NSFetchedResultsController from the UnsafeDataTransaction. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Utility for creating an NSFetchedResultsController from the UnsafeDataTransaction. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Utility for creating an NSFetchedResultsController from the UnsafeDataTransaction. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Utility for creating an NSFetchedResultsController from the UnsafeDataTransaction. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Creates a ObjectMonitor for the specified DynamicObject. Multiple ObjectObservers may then register themselves to be notified when changes are made to the DynamicObject.
Creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified SectionMonitorBuilderType built from a chain of clauses.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified SectionMonitorBuilderType built from a chain of clauses.
Saves the transaction changes asynchronously. For a CSUnsafeDataTransaction, multiple commits are allowed, although it is the developer’s responsibility to ensure a reasonable leeway to prevent blocking the main thread.
Saves the transaction changes and waits for completion synchronously. For a CSUnsafeDataTransaction, multiple commits are allowed, although it is the developer’s responsibility to ensure a reasonable leeway to prevent blocking the main thread.
Rolls back the transaction.
","parent_name":"CSUnsafeDataTransaction"},"Classes/CSUnsafeDataTransaction.html#/c:@M@CoreStore@objc(cs)CSUnsafeDataTransaction(im)undo":{"name":"undo()","abstract":"Undo’s the last change made to the transaction.
","parent_name":"CSUnsafeDataTransaction"},"Classes/CSUnsafeDataTransaction.html#/c:@M@CoreStore@objc(cs)CSUnsafeDataTransaction(im)redo":{"name":"redo()","abstract":"Redo’s the last undone change to the transaction.
","parent_name":"CSUnsafeDataTransaction"},"Classes/CSUnsafeDataTransaction.html#/c:@M@CoreStore@objc(cs)CSUnsafeDataTransaction(im)flush":{"name":"flush()","abstract":"Immediately flushes all pending changes to the transaction’s observers. This is useful in conjunction with ListMonitors and ObjectMonitors created from UnsafeDataTransactions used to manage temporary scratch
data.
Flushes all pending changes to the transaction’s observers at the end of the closure‘s execution. This is useful in conjunction with ListMonitors and ObjectMonitors created from UnsafeDataTransactions used to manage temporary scratch
data.
Begins a child transaction where NSManagedObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Begins a child transaction where NSManagedObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Returns the NSManagedObjectContext for this unsafe transaction. Use only for cases where external frameworks need an NSManagedObjectContext instance to work with.
Initializes a UnsafeDataModelSchema from an NSManagedObjectModel.
Initializes a CSUnsafeDataModelSchema from an NSManagedObjectModel.
The block to customize the NSFetchRequest
Initializes a CSTweak clause with a closure where the NSFetchRequest may be configured.
Cancels a transaction by throwing CoreStoreError.userCancelled.
Creates a new NSManagedObject or CoreStoreObject with the specified entity type.
Returns an editable proxy of a specified NSManagedObject or CoreStoreObject.
Returns an editable proxy of the object with the specified NSManagedObjectID.
Deletes a specified NSManagedObject or CoreStoreObject.
Deletes the specified DynamicObjects.
Deletes the specified DynamicObjects.
Saves the transaction changes and waits for completion synchronously. This method should not be used after the -commitAndWaitWithError: method was already called once.
Creates a new NSManagedObject with the specified entity type.
Returns an editable proxy of a specified NSManagedObject. This method should not be used after the -commitAndWait method was already called once.
Returns an editable proxy of the object with the specified NSManagedObjectID. This method should not be used after the -commitAndWait method was already called once.
Deletes a specified NSManagedObject. This method should not be used after the -commitAndWait method was already called once.
Deletes the specified NSManagedObjects.
YES if adding the CSStorageInterface to the CSDataStack succeeded, NO otherwise.
YES if adding the CSStorageInterface to the CSDataStack failed, NO otherwise. When YES, the error property returns the actual NSError for the failure.
A CSStorageInterface instance if the commit operation for the transaction succeeded. Returns nil otherwise.
The NSError for a failed commit operation, or nil if the commit succeeded
If the result was a success, the success block is executed with the CSStorageInterface instance that was added to the CSDataStack. If the result was a failure, the failure block is executed with an NSError argument pertaining to the actual error.
If the result was a success, the success block is executed with a BOOL argument that indicates if there were any changes made. If the result was a failure, this method does nothing.
If the result was a failure, the failure block is executed with an NSError argument pertaining to the actual error. If the result was a success, this method does nothing.
Creates a CSSelect clause for querying NSNumber values.
Creates a CSSelect clause for querying NSDecimalNumber values.
Creates a CSSelect clause for querying NSString values.
Creates a CSSelect clause for querying NSDate values.
Creates a CSSelect clause for querying NSData values.
Creates a CSSelect clause for querying NSManagedObjectID values.
Creates a CSSelect clause for querying NSDictionary of an entity’s attribute keys and values.
Creates a CSSelect clause for querying NSDictionary of an entity’s attribute keys and values.
Provides a CSSelectTerm to a CSSelect clause for querying an entity attribute.
Provides a CSSelectTerm to a CSSelect clause for querying the average value of an attribute.
Provides a CSSelectTerm to a CSSelect clause for a count query.
Provides a CSSelectTerm to a CSSelect clause for querying the maximum value for an attribute.
Provides a CSSelectTerm to a CSSelect clause for querying the minimum value for an attribute.
Provides a CSSelectTerm to a CSSelect clause for querying the sum value for an attribute.
Provides a CSSelectTerm to a CSSelect clause for querying the NSManagedObjectID.
Initializes a CSSectionBy clause with the key path to use to group CSListMonitor objects into sections
Initializes a CSSectionBy clause with the key path to use to group CSListMonitor objects into sections, and a closure to transform the value for the key path to an appropriate section name
Initializes an SQLite store interface from the given SQLite file URL. When this instance is passed to the DataStack‘s addStorage() methods, a new SQLite file will be created if it does not exist.
Initializes an SQLite store interface from the given SQLite file name. When this instance is passed to the DataStack‘s addStorage() methods, a new SQLite file will be created if it does not exist.
Initializes an SQLiteStore with an all-default settings: a fileURL pointing to a
file in the Application Support/
directory (or the Caches/
directory on tvOS), a nil configuration pertaining to the Default
configuration, a migrationMappingProviders set to empty, and localStorageOptions set to .AllowProgresiveMigration.
Initializes an SQLite store interface from the given SQLite file name. When this instance is passed to the DataStack‘s addStorage() methods, a new SQLite file will be created if it does not exist.
Initializes an LegacySQLiteStore with an all-default settings: a fileURL pointing to a
file in the Application Support
directory (or the Caches
directory on tvOS), a nil configuration pertaining to the Default
configuration, a migrationMappingProviders set to empty, and localStorageOptions set to .AllowProgresiveMigration.
Queries the file size (in bytes) of the store, or nil if the file does not exist yet
The string identifier for the NSPersistentStore‘s type property. For SQLiteStores, this is always set to NSSQLiteStoreType.
The configuration name in the model file
","parent_name":"SQLiteStore"},"Classes/SQLiteStore.html#/s:9CoreStore06SQLiteB0C12storeOptionsSDys11AnyHashableVypGSgvp":{"name":"storeOptions","abstract":"The options dictionary for the NSPersistentStore. For SQLiteStores, this is always set to
Do not call directly. Used by the DataStack internally.
Do not call directly. Used by the DataStack internally.
The NSURL that points to the SQLite file
An array of SchemaMappingProviders that provides the complete mapping models for custom migrations.
Options that tell the DataStack how to setup the persistent store
The options dictionary for the specified LocalStorageOptions
Called by the DataStack to perform checkpoint operations on the storage. For SQLiteStore, this converts the database’s WAL journaling mode to DELETE to force a checkpoint.
Called by the DataStack to perform actual deletion of the store file from disk. Do not call directly! The sourceModel argument is a hint for the existing store’s model version. For SQLiteStore, this converts the database’s WAL journaling mode to DELETE before deleting the file.
Initializes an SQLite store interface from the given SQLite file URL. When this instance is passed to the CSDataStack‘s -addStorage*: methods, a new SQLite file will be created if it does not exist.
Initializes an SQLite store interface from the given SQLite file name. When this instance is passed to the CSDataStack‘s -addStorage*: methods, a new SQLite file will be created if it does not exist.
Initializes an CSSQLiteStore with an all-default settings: a fileURL pointing to a
file in the Application Support/
directory (or the Caches/
directory on tvOS), a nil configuration pertaining to the Default
configuration, and localStorageOptions set to [CSLocalStorageOptions none].
The NSURL that points to the SQLite file
An array of SchemaMappingProviders that provides the complete mapping models for custom migrations. This is currently only supported for Swift code.
Options that tell the CSDataStack how to setup the persistent store
The string identifier for the NSPersistentStore‘s type property. For CSSQLiteStores, this is always set to NSSQLiteStoreType.
The configuration name in the model file
","parent_name":"CSSQLiteStore"},"Classes/CSSQLiteStore.html#/c:@M@CoreStore@objc(cs)CSSQLiteStore(py)storeOptions":{"name":"storeOptions","abstract":"The options dictionary for the NSPersistentStore. For CSSQLiteStores, this is always set to
Called by the CSDataStack to perform actual deletion of the store file from disk. Do not call directly! The sourceModel argument is a hint for the existing store’s model version. For CSSQLiteStore, this converts the database’s WAL journaling mode to DELETE before deleting the file.
The list of sort descriptors
","parent_name":"CSOrderBy"},"Classes/CSOrderBy.html#/c:@M@CoreStore@objc(cs)CSOrderBy(im)initWithSortDescriptor:":{"name":"init(sortDescriptor:)","abstract":"Initializes a CSOrderBy clause with a single sort descriptor
Initializes a CSOrderBy clause with a list of sort descriptors
Returns the NSManagedObject instance being observed, or nil if the object was already deleted.
Returns YES if the NSManagedObject instance being observed still exists, or NO if the object was already deleted.
Registers a CSObjectObserver to be notified when changes to the receiver’s object are made.
Unregisters an CSObjectObserver from receiving notifications for changes to the receiver’s object.
Returns YES if the CSMigrationType‘s sourceVersion and destinationVersion do not match. Returns NO otherwise.
Returns the source model version for the migration type. If no migration is required, sourceVersion will be equal to the destinationVersion.
Returns the destination model version for the migration type. If no migration is required, destinationVersion will be equal to the sourceVersion.
Returns YES if the CSMigrationType is a lightweight migration. Used as syntactic sugar.
Returns YES if the CSMigrationType is a heavyweight migration. Used as syntactic sugar.
YES if the migration succeeded, NO otherwise
YES if the migration failed, NO otherwise
YES if the migration succeeded, NO otherwise
The NSError for a failed migration, or nil if the migration succeeded
If the result was a success, the success block is executed with an array of CSMigrationTypes that indicates the migration steps completed. If the result was a failure, the failure block is executed with an NSError argument pertaining to the actual error.
If the result was a success, the success block is executed with an array of CSMigrationTypes that indicates the migration steps completed. If the result was a failure, this method does nothing.
If the result was a failure, the failure block is executed with an NSError argument pertaining to the actual error. If the result was a success, this method does nothing.
Returns the object at the given index within the first section. This subscript indexer is typically used for CSListMonitors created without section groupings.
Returns the object at the given index, or nil if out of bounds. This indexer is typically used for CSListMonitors created without section groupings.
Returns the object at the given sectionIndex and itemIndex. This indexer is typically used for CSListMonitors created as sectioned lists.
Returns the object at the given section and item index, or nil if out of bounds. This indexer is typically used for CSListMonitors created as sectioned lists.
Returns the object at the given NSIndexPath. This subscript indexer is typically used for CSListMonitors created as sectioned lists.
Returns the object at the given NSIndexPath, or nil if out of bounds. This subscript indexer is typically used for CSListMonitors created as sectioned lists.
Checks if the CSListMonitor has at least one object in any section.
Checks if the CSListMonitor has at least one object the specified section.
Returns all objects in all sections
","parent_name":"CSListMonitor"},"Classes/CSListMonitor.html#/c:@M@CoreStore@objc(cs)CSListMonitor(im)objectsInSection:":{"name":"objectsInSection(_:)","abstract":"Returns all objects in the specified section
","parent_name":"CSListMonitor"},"Classes/CSListMonitor.html#/c:@M@CoreStore@objc(cs)CSListMonitor(im)objectsInSafeSectionWithSafeSectionIndex:":{"name":"objectsInSafeSection(safeSectionIndex:)","abstract":"Returns all objects in the specified section, or nil if out of bounds.
Returns the number of sections
","parent_name":"CSListMonitor"},"Classes/CSListMonitor.html#/c:@M@CoreStore@objc(cs)CSListMonitor(im)numberOfObjects":{"name":"numberOfObjects()","abstract":"Returns the number of objects in all sections
","parent_name":"CSListMonitor"},"Classes/CSListMonitor.html#/c:@M@CoreStore@objc(cs)CSListMonitor(im)numberOfObjectsInSection:":{"name":"numberOfObjectsInSection(_:)","abstract":"Returns the number of objects in the specified section
","parent_name":"CSListMonitor"},"Classes/CSListMonitor.html#/c:@M@CoreStore@objc(cs)CSListMonitor(im)numberOfObjectsInSafeSectionWithSafeSectionIndex:":{"name":"numberOfObjectsInSafeSection(safeSectionIndex:)","abstract":"Returns the number of objects in the specified section, or nil if out of bounds.
Returns the NSFetchedResultsSectionInfo for the specified section
Returns the NSFetchedResultsSectionInfo for the specified section, or nil if out of bounds.
Returns the NSFetchedResultsSectionInfos for all sections
Returns the target section for a specified Section Index
title and index.
Returns the section index titles for all sections
","parent_name":"CSListMonitor"},"Classes/CSListMonitor.html#/c:@M@CoreStore@objc(cs)CSListMonitor(im)indexOf:":{"name":"indexOf(_:)","abstract":"Returns the index of the NSManagedObject if it exists in the CSListMonitor‘s fetched objects, or nil if not found.
Returns the NSIndexPath of the NSManagedObject if it exists in the CSListMonitor‘s fetched objects, or nil if not found.
Registers a CSListObserver to be notified when changes to the receiver’s list occur.
Registers a CSListObjectObserver to be notified when changes to the receiver’s list occur.
Registers a CSListSectionObserver to be notified when changes to the receiver’s list occur.
Unregisters a CSListObserver from receiving notifications for changes to the receiver’s list.
Returns YES if a call to -refetch: was made to the CSListMonitor and is currently waiting for the fetching to complete. Returns NO otherwise.
Asks the CSListMonitor to refetch its objects using the specified series of CSFetchClauses. Note that this method does not execute the fetch immediately; the actual fetching will happen after the NSFetchedResultsController‘s last controllerDidChangeContent(_:) notification completes.
The associated NSManagedObject entity class
The NSPersistentStore configuration name to associate objects from.","parent_name":"CSInto"},"Classes/CSInto.html#/c:@M@CoreStore@objc(cs)CSInto(im)initWithEntityClass:":{"name":"init(entityClass:)","abstract":"
Initializes a CSInto clause with the specified entity class.
Initializes a CSInto clause with the specified configuration.
Initializes an InMemoryStore for the specified configuration
Initializes an InMemoryStore with the Default
configuration
The string identifier for the NSPersistentStore‘s type property. For InMemoryStores, this is always set to NSInMemoryStoreType.
The configuration name in the model file
","parent_name":"InMemoryStore"},"Classes/InMemoryStore.html#/s:9CoreStore08InMemoryB0C12storeOptionsSDys11AnyHashableVypGSgvp":{"name":"storeOptions","abstract":"The options dictionary for the NSPersistentStore. For InMemoryStores, this is always set to nil.
Do not call directly. Used by the DataStack internally.
Do not call directly. Used by the DataStack internally.
Initializes a CSInMemoryStore for the specified configuration
Initializes a CSInMemoryStore with the Default
configuration
The string identifier for the NSPersistentStore‘s type property. For CSInMemoryStores, this is always set to NSInMemoryStoreType.
The configuration name in the model file
","parent_name":"CSInMemoryStore"},"Classes/CSInMemoryStore.html#/c:@M@CoreStore@objc(cs)CSInMemoryStore(py)storeOptions":{"name":"storeOptions","abstract":"The options dictionary for the NSPersistentStore. For CSInMemoryStores, this is always set to nil.
The list of key path strings to group results with
","parent_name":"CSGroupBy"},"Classes/CSGroupBy.html#/c:@M@CoreStore@objc(cs)CSGroupBy(im)initWithKeyPath:":{"name":"init(keyPath:)","abstract":"Initializes a CSGroupBy clause with a key path string
Initializes a CSGroupBy clause with a list of key path strings
The associated NSManagedObject entity class
The NSPersistentStore configuration names to associate objects from.","parent_name":"CSFrom"},"Classes/CSFrom.html#/c:@M@CoreStore@objc(cs)CSFrom(im)initWithEntityClass:":{"name":"init(entityClass:)","abstract":"
Initializes a CSFrom clause with the specified entity class.
Initializes a CSFrom clause with the specified configurations.
Initializes a CSFrom clause with the specified configurations.
The NSError error domain for CSError.
Do not call directly!
","parent_name":"CSError"},"Classes/DataStack.html#/s:9CoreStore9DataStackC15applicationNameSSvpZ":{"name":"applicationName","abstract":"The resolved application name, used by the DataStack as the default Xcode model name (.xcdatamodel filename) if not explicitly provided.
Convenience initializer for DataStack that creates a SchemaHistory from the model with the specified modelName in the specified bundle.
Convenience initializer for DataStack that creates a SchemaHistory from a list of DynamicSchema versions.
Initializes a DataStack from a SchemaHistory instance.
Returns the DataStack‘s current model version. StorageInterfaces added to the stack will be migrated to this version.
Returns the DataStack‘s current model schema. StorageInterfaces added to the stack will be migrated to this version.
Returns the entity name-to-class type mapping from the DataStack‘s model.
Returns the entity name-to-class type mapping from the DataStack‘s model.
Returns the NSEntityDescription for the specified NSManagedObject subclass.
Returns the NSEntityDescription for the specified CoreStoreObject subclass.
Returns the NSManagedObjectID for the specified object URI if it exists in the persistent store.
Creates an SQLiteStore with default parameters and adds it to the stack. This method blocks until completion.
Adds a StorageInterface to the stack and blocks until completion.
Adds a LocalStorage to the stack and blocks until completion.
Adds a CloudStorage to the stack and blocks until completion.
Allow external libraries to store custom data in the DataStack. App code should rarely have a need for this.
Asynchronously adds a StorageInterface to the stack. Migrations are also initiated by default.
Asynchronously adds a LocalStorage to the stack. Migrations are also initiated by default.
Asynchronously adds a CloudStorage to the stack. Migrations are also initiated by default.
Migrates a local storage to match the DataStack‘s managed object model version. This method does NOT add the migrated store to the data stack.
Checks the migration steps required for the storage to match the DataStack‘s managed object model version.
Creates an ObjectMonitor for the specified DynamicObject. Multiple ObjectObservers may then register themselves to be notified when changes are made to the DynamicObject.
Creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a list of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a list of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified SectionMonitorBuilderType built from a chain of clauses.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Asynchronously creates a ListMonitor for a sectioned list of DynamicObjects that satisfy the specified SectionMonitorBuilderType built from a chain of clauses.
Fetches the DynamicObject instance in the DataStack‘s context from a reference created from a transaction or from a different managed object context.
Fetches the DynamicObject instance in the DataStack‘s context from an NSManagedObjectID.
Fetches the DynamicObject instances in the DataStack‘s context from references created from a transaction or from a different managed object context.
Fetches the DynamicObject instances in the DataStack‘s context from a list of NSManagedObjectID.
Fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a property value or aggregate as specified by the QueryChainableBuilderType built from a chain of clauses.
Queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values or as specified by the QueryChainableBuilderType built from a chain of clauses.
The internal NSManagedObjectContext managed by this instance. Using this context directly should typically be avoided, and is provided by CoreStore only for extremely specialized cases.
Performs a transaction asynchronously where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. The changes are commited automatically after the task closure returns. On success, the value returned from closure will be the wrapped as .success(T) in the completion‘s Result<T>. Any errors thrown from inside the task will be reported as .failure(CoreStoreError). To cancel/rollback changes, call try transaction.cancel(), which throws a CoreStoreError.userCancelled.
Performs a transaction asynchronously where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. The changes are commited automatically after the task closure returns. On success, the value returned from closure will be the argument of the success closure. Any errors thrown from inside the task will be wrapped in a CoreStoreError and reported in the failure closure. To cancel/rollback changes, call try transaction.cancel(), which throws a CoreStoreError.userCancelled.
Performs a transaction synchronously where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. The changes are commited automatically after the task closure returns. On success, the value returned from closure will be the return value of perform(synchronous:). Any errors thrown from inside the task will be thrown from perform(synchronous:). To cancel/rollback changes, call try transaction.cancel(), which throws a CoreStoreError.userCancelled.
Begins a non-contiguous transaction where NSManagedObject or CoreStoreObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Refreshes all registered objects NSManagedObjects or CoreStoreObjects in the DataStack.
Utility for creating an NSFetchedResultsController from the DataStack. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Utility for creating an NSFetchedResultsController from a DataStack. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Utility for creating an NSFetchedResultsController from the DataStack. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Utility for creating an NSFetchedResultsController from the DataStack. This is useful when an NSFetchedResultsController is preferred over the overhead of ListMonitors abstraction.
Initializes a CSDataStack with default settings. CoreStore searches for NSBundle and loads an NSManagedObjectModel from it. An assertion is raised if the model could not be found.
Initializes a CSDataStack from the model with the specified modelName in the specified bundle.
Returns the stack’s model version. The version string is the same as the name of the version-specific .xcdatamodeld file.
","parent_name":"CSDataStack"},"Classes/CSDataStack.html#/c:@M@CoreStore@objc(cs)CSDataStack(im)entityTypesByNameForType:":{"name":"entityTypesByNameForType(_:)","abstract":"Returns the entity name-to-class type mapping from the CSDataStack‘s model.
Returns the NSEntityDescription for the specified NSManagedObject subclass from stack’s model.
Creates an CSInMemoryStore with default parameters and adds it to the stack. This method blocks until completion.
Creates an CSSQLiteStore with default parameters and adds it to the stack. This method blocks until completion.
Adds a CSInMemoryStore to the stack and blocks until completion.
Adds a CSSQLiteStore to the stack and blocks until completion.
Asynchronously adds a CSInMemoryStore to the stack. Migrations are also initiated by default.
Asynchronously adds a CSSQLiteStore to the stack. Migrations are also initiated by default.
Migrates a CSSQLiteStore to match the CSDataStack‘s managed object model version. This method does NOT add the migrated store to the data stack.
Checks the migration steps required for the CSSQLiteStore to match the CSDataStack‘s managed object model version.
Creates a CSObjectMonitor for the specified NSManagedObject. Multiple ObjectObservers may then register themselves to be notified when changes are made to the NSManagedObject.
Creates a CSListMonitor for a list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list.
Asynchronously creates a CSListMonitor for a list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Creates a CSListMonitor for a sectioned list of NSManagedObjects that satisfy the specified fetch clauses. Multiple ListObservers may then register themselves to be notified when changes are made to the list.
Asynchronously creates a CSListMonitor for a sectioned list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Fetches the NSManagedObject instance in the transaction’s context from a reference created from a transaction or from a different managed object context.
Fetches the NSManagedObject instance in the transaction’s context from an NSManagedObjectID.
Fetches the NSManagedObject instances in the transaction’s context from references created from a transaction or from a different managed object context.
Fetches the NSManagedObject instances in the transaction’s context from a list of NSManagedObjectID.
Fetches the first NSManagedObject instance that satisfies the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches all NSManagedObject instances that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches the number of NSManagedObjects that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches the NSManagedObjectID for the first NSManagedObject that satisfies the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches the NSManagedObjectID for all NSManagedObjects that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Queries aggregate values as specified by the CSQueryClauses. Requires at least a CSSelect clause, and optional CSWhere, CSOrderBy, CSGroupBy, and CSTweak clauses.
Queries a dictionary of attribute values as specified by the CSQueryClauses. Requires at least a CSSelect clause, and optional CSWhere, CSOrderBy, CSGroupBy, and CSTweak clauses.
Begins a transaction asynchronously where NSManagedObject creates, updates, and deletes can be made.
Begins a transaction synchronously where NSManagedObject creates, updates, and deletes can be made.
Begins a child transaction where NSManagedObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Begins a child transaction where NSManagedObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Refreshes all registered objects NSManagedObjects in the DataStack.
The default CSDataStack instance to be used. If defaultStack is not set before the first time accessed, a default-configured CSDataStack will be created.
Asynchronously adds a CSInMemoryStore to the defaultStack. Migrations are also initiated by default.
Asynchronously adds a CSSQLiteStore to the defaultStack. Migrations are also initiated by default.
Migrates a CSSQLiteStore to match the defaultStack‘s managed object model version. This method does NOT add the migrated store to the data stack.
Checks the migration steps required for the CSSQLiteStore to match the defaultStack‘s managed object model version.
Using the defaultStack, creates an CSObjectMonitor for the specified NSManagedObject. Multiple CSObjectObservers may then register themselves to be notified when changes are made to the NSManagedObject.
Using the defaultStack, creates a CSListMonitor for a list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list.
Using the defaultStack, asynchronously creates a CSListMonitor for a list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Using the defaultStack, creates a CSListMonitor for a sectioned list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list.
Using the defaultStack, asynchronously creates a CSListMonitor for a sectioned list of NSManagedObjects that satisfy the specified fetch clauses. Multiple CSListObservers may then register themselves to be notified when changes are made to the list. Since NSFetchedResultsController greedily locks the persistent store on initial fetch, you may prefer this method instead of the synchronous counterpart to avoid deadlocks while background updates/saves are being executed.
Using the defaultStack, fetches the NSManagedObject instance in the transaction’s context from a reference created from a transaction or from a different managed object context.
Using the defaultStack, fetches the NSManagedObject instance in the transaction’s context from an NSManagedObjectID.
Using the defaultStack, fetches the NSManagedObject instances in the transaction’s context from references created from a transaction or from a different managed object context.
Using the defaultStack, fetches the NSManagedObject instances in the transaction’s context from a list of NSManagedObjectID.
Using the defaultStack, fetches the first NSManagedObject instance that satisfies the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Using the defaultStack, fetches all NSManagedObject instances that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Using the defaultStack, fetches the number of NSManagedObjects that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Using the defaultStack, fetches the NSManagedObjectID for the first NSManagedObject that satisfies the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Using the defaultStack, fetches the NSManagedObjectID for all NSManagedObjects that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Using the defaultStack, queries aggregate values as specified by the CSQueryClauses. Requires at least a CSSelect clause, and optional CSWhere, CSOrderBy, CSGroupBy, and CSTweak clauses.
Using the defaultStack, queries a dictionary of attribute values as specified by the CSQueryClauses. Requires at least a CSSelect clause, and optional CSWhere, CSOrderBy, CSGroupBy, and CSTweak clauses.
Returns the defaultStack‘s model version. The version string is the same as the name of the version-specific .xcdatamodeld file.
Returns the entity name-to-class type mapping from the defaultStack‘s model.
Returns the NSEntityDescription for the specified NSManagedObject subclass from defaultStack‘s model.
Creates an CSInMemoryStore with default parameters and adds it to the defaultStack. This method blocks until completion.
Creates an CSSQLiteStore with default parameters and adds it to the defaultStack. This method blocks until completion.
Adds a CSInMemoryStore to the defaultStack and blocks until completion.
Adds a CSSQLiteStore to the defaultStack and blocks until completion.
Using the defaultStack, begins a transaction asynchronously where NSManagedObject creates, updates, and deletes can be made.
Using the defaultStack, begins a transaction synchronously where NSManagedObject creates, updates, and deletes can be made.
Using the defaultStack, begins a child transaction where NSManagedObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Using the defaultStack, begins a child transaction where NSManagedObject creates, updates, and deletes can be made. This is useful for making temporary changes, such as partially filled forms.
Refreshes all registered objects NSManagedObjects in the defaultStack.
Indicates if the transaction has pending changes
","parent_name":"CSBaseDataTransaction"},"Classes/CSBaseDataTransaction.html#/c:@M@CoreStore@objc(cs)CSBaseDataTransaction(im)createInto:":{"name":"createInto(_:)","abstract":"Creates a new NSManagedObject with the specified entity type.
Returns an editable proxy of a specified NSManagedObject.
Returns an editable proxy of the object with the specified NSManagedObjectID.
Deletes a specified NSManagedObject.
Deletes the specified NSManagedObjects.
Refreshes all registered objects NSManagedObjects in the transaction.
Returns all pending NSManagedObjects of the specified type that were inserted to the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjectIDs that were inserted to the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjectIDs of the specified type that were inserted to the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjects of the specified type that were updated in the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjectIDs that were updated in the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjectIDs of the specified type that were updated in the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjects of the specified type that were deleted from the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjectIDs of the specified type that were deleted from the transaction. This method should not be called after the -commit*: method was called.
Returns all pending NSManagedObjectIDs of the specified type that were deleted from the transaction. This method should not be called after the -commit*: method was called.
Fetches the NSManagedObject instance in the transaction’s context from a reference created from a transaction or from a different managed object context.
Fetches the NSManagedObject instance in the transaction’s context from an NSManagedObjectID.
Fetches the NSManagedObject instances in the transaction’s context from references created from a transaction or from a different managed object context.
Fetches the NSManagedObject instances in the transaction’s context from a list of NSManagedObjectID.
Fetches the first NSManagedObject instance that satisfies the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches all NSManagedObject instances that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches the number of NSManagedObjects that satisfy the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Fetches the NSManagedObjectID for the first NSManagedObject that satisfies the specified CSFetchClauses. Accepts CSWhere, CSOrderBy, and CSTweak clauses.
Queries aggregate values as specified by the CSQueryClauses. Requires at least a CSSelect clause, and optional CSWhere, CSOrderBy, CSGroupBy, and CSTweak clauses.
Queries a dictionary of attribute values as specified by the CSQueryClauses. Requires at least a CSSelect clause, and optional CSWhere, CSOrderBy, CSGroupBy, and CSTweak clauses.
Saves the transaction changes. This method should not be used after the -commitWithCompletion: method was already called once.
Creates a new NSManagedObject with the specified entity type.
Returns an editable proxy of a specified NSManagedObject. This method should not be used after the -commitWithCompletion: method was already called once.
Returns an editable proxy of the object with the specified NSManagedObjectID. This method should not be used after the -commitWithCompletion: method was already called once.
Deletes a specified NSManagedObject. This method should not be used after the -commitWithCompletion: method was already called once.
Deletes the specified NSManagedObjects.
Indicates if the transaction has pending changes
","parent_name":"BaseDataTransaction"},"Classes/BaseDataTransaction.html#/s:9CoreStore19BaseDataTransactionC6createyxAA4IntoVyxGAA13DynamicObjectRzlF":{"name":"create(_:)","abstract":"Creates a new NSManagedObject or CoreStoreObject with the specified entity type.
Returns an editable proxy of a specified NSManagedObject or CoreStoreObject.
Returns an editable proxy of the object with the specified NSManagedObjectID.
Deletes a specified NSManagedObject or CoreStoreObject.
Deletes the specified NSManagedObjects or CoreStoreObjects.
Deletes the specified NSManagedObjects or CoreStoreObjects.
Refreshes all registered objects NSManagedObjects in the transaction.
Returns all pending DynamicObjects of the specified type that were inserted to the transaction. This method should not be called after the commit() method was called.
Returns all pending NSManagedObjectIDs that were inserted to the transaction. This method should not be called after the commit() method was called.
Returns all pending NSManagedObjectIDs of the specified type that were inserted to the transaction. This method should not be called after the commit() method was called.
Returns all pending DynamicObjects of the specified type that were updated in the transaction. This method should not be called after the commit() method was called.
Returns all pending NSManagedObjectIDs that were updated in the transaction. This method should not be called after the commit() method was called.
Returns all pending NSManagedObjectIDs of the specified type that were updated in the transaction. This method should not be called after the commit() method was called.
Returns all pending DynamicObjects of the specified type that were deleted from the transaction. This method should not be called after the commit() method was called.
Returns all pending NSManagedObjectIDs of the specified type that were deleted from the transaction. This method should not be called after the commit() method was called.
Returns all pending NSManagedObjectIDs of the specified type that were deleted from the transaction. This method should not be called after the commit() method was called.
Allow external libraries to store custom data in the transaction. App code should rarely have a need for this.
","parent_name":"BaseDataTransaction"},"Classes/BaseDataTransaction.html#/s:9CoreStore19BaseDataTransactionC12importObject_6sourcexSgAA4IntoVyxG_12ImportSourceQztKAA010ImportableG0RzlF":{"name":"importObject(_:source:)","abstract":"Creates an ImportableObject by importing from the specified import source.
Updates an existing ImportableObject by importing values from the specified import source.
Creates multiple ImportableObjects by importing from the specified array of import sources.
Updates an existing ImportableUniqueObject or creates a new instance by importing from the specified import source.
Updates existing ImportableUniqueObjects or creates them by importing from the specified array of import sources.","parent_name":"BaseDataTransaction"},"Classes/BaseDataTransaction.html#/s:9CoreStore19BaseDataTransactionC9deleteAllySiAA4FromVyxG_AA12DeleteClause_pdtKAA13DynamicObjectRzlF":{"name":"deleteAll(_:_:)","abstract":"
Deletes all DynamicObjects that satisfy the specified DeleteClauses. Accepts Where, OrderBy, and Tweak clauses.
Deletes all DynamicObjects that satisfy the specified DeleteClauses. Accepts Where, OrderBy, and Tweak clauses.
Deletes all DynamicObjects that satisfy the specified conditions.
Fetches the DynamicObject instance in the transaction’s context from a reference created from a transaction or from a different managed object context.
Fetches the DynamicObject instance in the transaction’s context from an NSManagedObjectID.
Fetches the DynamicObject instances in the transaction’s context from references created from a transaction or from a different managed object context.
Fetches the DynamicObject instances in the transaction’s context from a list of NSManagedObjectID.
Fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the first DynamicObject instance that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches all DynamicObject instances that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the number of DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for the first DynamicObject that satisfies the specified FetchChainableBuilderType built from a chain of clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchClauses. Accepts Where, OrderBy, and Tweak clauses.
Fetches the NSManagedObjectID for all DynamicObjects that satisfy the specified FetchChainableBuilderType built from a chain of clauses.
Queries aggregate values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries aggregate values or aggregates as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a property value or aggregate as specified by the QueryChainableBuilderType built from a chain of clauses.
Queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values as specified by the QueryClauses. Requires at least a Select clause, and optional Where, OrderBy, GroupBy, and Tweak clauses.
Queries a dictionary of attribute values or as specified by the QueryChainableBuilderType built from a chain of clauses.
The internal NSManagedObjectContext managed by this instance. Using this context directly should typically be avoided, and is provided by CoreStore only for extremely specialized cases.
Cancels a transaction by throwing CoreStoreError.userCancelled.
The Result contains the success or failure information for a completed transaction.","parent_name":"AsynchronousDataTransaction"},"Classes/AsynchronousDataTransaction.html#/s:9CoreStore27AsynchronousDataTransactionC6createyxAA4IntoVyxGAA13DynamicObjectRzlF":{"name":"create(_:)","abstract":"
Creates a new NSManagedObject or CoreStoreObject with the specified entity type.
Returns an editable proxy of a specified NSManagedObject or CoreStoreObject.
Returns an editable proxy of the object with the specified NSManagedObjectID.
Deletes a specified NSManagedObject or CoreStoreObject.
Deletes the specified DynamicObjects.
Deletes the specified DynamicObjects.
The AsynchronousDataTransaction 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.perform(asynchronous:...), or from CoreStore.perform(synchronous:...).
The BaseDataTransaction is an abstract interface for NSManagedObject creates, updates, and deletes. All BaseDataTransaction subclasses manage a private NSManagedObjectContext which are direct children of the NSPersistentStoreCoordinator‘s root NSManagedObjectContext. This means that all updates are saved first to the persistent store, and then propagated up to the read-only NSManagedObjectContext.
The CSAsynchronousDataTransaction serves as the Objective-C bridging type for AsynchronousDataTransaction.
The CSBaseDataTransaction serves as the Objective-C bridging type for BaseDataTransaction.
The CSCoreStore serves as the Objective-C bridging type for CoreStore.
The CSDataStack serves as the Objective-C bridging type for DataStack.
The DataStack encapsulates the data model for the Core Data stack. Each DataStack can have multiple data stores, usually specified as a Configuration
in the model editor. Behind the scenes, the DataStack manages its own NSPersistentStoreCoordinator, a root NSManagedObjectContext for disk saves, and a shared NSManagedObjectContext designed as a read-only model interface for NSManagedObjects.
All errors thrown from CoreStore are expressed in CSErrors.
The CSFrom serves as the Objective-C bridging type for From.
The CSGroupBy serves as the Objective-C bridging type for GroupBy.
The CSInMemoryStore serves as the Objective-C bridging type for InMemoryStore.
A storage interface that is backed only in memory.
"},"Classes/CSInto.html":{"name":"CSInto","abstract":"The CSInto serves as the Objective-C bridging type for Into<T>.
The CSListMonitor serves as the Objective-C bridging type for ListMonitor<T>.
The CSMigrationResult serves as the Objective-C bridging type for MigrationResult.
The CSMigrationType serves as the Objective-C bridging type for MigrationType.
The CSObjectMonitor serves as the Objective-C bridging type for ObjectMonitor<T>.
The CSOrderBy serves as the Objective-C bridging type for OrderBy.
The CSSQLiteStore serves as the Objective-C bridging type for SQLiteStore.
A storage interface that is backed by an SQLite database.
"},"Classes/CSSectionBy.html":{"name":"CSSectionBy","abstract":"The CSSectionBy serves as the Objective-C bridging type for SectionBy.
The CSSelectTerm serves as the Objective-C bridging type for SelectTerm.
The CSSelect serves as the Objective-C bridging type for Select.
The CSSetupResult serves as the Objective-C bridging type for SetupResult.
The CSSynchronousDataTransaction serves as the Objective-C bridging type for 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(_:), or from CoreStore.beginSynchronous(_:).
The CSTweak serves as the Objective-C bridging type for Tweak.
The CSUnsafeDataModelSchema serves as the Objective-C bridging type for UnsafeDataModelSchema.
The UnsafeDataModelSchema describes models loaded directly from an existing NSManagedObjectModel. It is not advisable to continue using this model as its metadata are not available to CoreStore.
The CSUnsafeDataTransaction serves as the Objective-C bridging type for 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.
The CSWhere serves as the Objective-C bridging type for Where.
The CSXcodeDataModelSchema serves as the Objective-C bridging type for XcodeDataModelSchema.
The XcodeDataModelSchema describes a model version declared in a single *.xcdatamodeld file.
The CoreStoreObject is an abstract class for creating CoreStore-managed objects that are more type-safe and more convenient than NSManagedObject subclasses. The model entities for CoreStoreObject subclasses are inferred from the Swift declaration themselves; no .xcdatamodeld files are needed. To declare persisted attributes and relationships for the CoreStoreObject subclass, declare properties of type Value.Required<T>, Value.Optional<T> for values, or Relationship.ToOne<T>, Relationship.ToManyOrdered<T>, Relationship.ToManyUnordered<T> for relationships.
The CoreStoreSchema describes models written for CoreStoreObject Swift class declarations for a particular model version. CoreStoreObject entities for a model version should be added to CoreStoreSchema instance.
The Entity<O> contains NSEntityDescription metadata for CoreStoreObject subclasses. Pass the Entity instances to CoreStoreSchema initializer.
The ListMonitor monitors changes to a list of DynamicObject instances. Observers that implement the ListObserver protocol may then register themselves to the ListMonitor‘s addObserver(_:) method:
The ObjectMonitor monitors changes to a single DynamicObject instance. Observers that implement the ObjectObserver protocol may then register themselves to the ObjectMonitor‘s addObserver(_:) method:
The SchemaHistory encapsulates multiple DynamicSchema across multiple model versions. It contains all model history and is used by the DataStack to
The object containing the changeset for an observed ValueContainer.Required and ValueContainer.Optional property.
The object containing the changeset for an observed TransformableContainer.Required or TransformableContainer.Optional property.
The object containing the changeset for an observed RelationshipContainer.ToOne property.
The object containing the changeset for an observed RelationshipContainer.ToManyUnordered property.
The object containing the changeset for an observed RelationshipContainer.Ordered property.
A SchemaMappingProvider that accepts custom mappings for some entities. Mappings of entities with no CustomMapping provided will be automatically calculated if possible.
The DefaultLogger is a basic implementation of the CoreStoreLogger protocol.
Use concrete instances of Entity<O> in API that accept DynamicEntity arguments.
A SchemaMappingProvider that tries to infer model migration between two DynamicSchema versions by searching all xcmappingmodels from Bundle.allBundles or by relying on lightweight migration if possible. Throws an error if lightweight migration is impossible for the two DynamicSchema. This mapping is automatically used as a fallback mapping provider, even if no mapping providers are explicitly declared in the StorageInterface.
The UserInfo class is provided by several CoreStore types such as DataStack, ListMonitor, ObjectMonitor and transactions to allow external libraries or user apps to store their own custom data.
A SchemaMappingProvider that tries to infer model migration between two DynamicSchema versions by loading an xcmappingmodel file from the specified Bundle. Throws CoreStoreError.mappingModelNotFound if the xcmappingmodel file cannot be found, or if the xcmappingmodel doesn’t resolve the source and destination DynamicSchema.
The following classes are available globally.
"},"Global Variables.html":{"name":"Global Variables","abstract":"The following global variables are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Functions.html":{"name":"Functions","abstract":"The following functions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}}