descriptor
TypeScriptget descriptor(): FetchDescriptor<SDKHandle>Swift declarationlet descriptor: FetchDescriptor<ModelType>Write your model code declaratively to add managed persistence and efficient model fetching.
110 types
336 callable entries
104 skipped
76% entry coverage
Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
Array.PersistentElement
typealias · iOS 17.0+
BackingData
protocol · iOS 17.0+
DataStore
protocol · iOS 18.0+
DataStoreBatchDeleteRequest
struct · iOS 18.0+
DataStoreBatching
protocol · iOS 18.0+
DataStoreConfiguration
protocol · iOS 18.0+
DataStoreError
enum · iOS 18.0+
DataStoreFetchRequest
struct · iOS 18.0+
DataStoreFetchResult
struct · iOS 18.0+
DataStoreSaveChangesRequest
struct · iOS 18.0+
DataStoreSaveChangesResult
class · iOS 18.0+
DataStoreSnapshot
protocol · iOS 18.0+
DataStoreSnapshotCodingKey
enum · iOS 18.0+
DataStoreSnapshotValue
typealias · iOS 18.0+
DefaultHistoryDelete
struct · iOS 18.0+
DefaultHistoryDelete.ChangeIdentifier
typealias · iOS 18.0+
DefaultHistoryDelete.TransactionIdentifier
typealias · iOS 18.0+
DefaultHistoryInsert
struct · iOS 18.0+
DefaultHistoryInsert.ChangeIdentifier
typealias · iOS 18.0+
DefaultHistoryInsert.TransactionIdentifier
typealias · iOS 18.0+
DefaultHistoryToken
struct · iOS 18.0+
DefaultHistoryToken.ID
typealias · iOS 18.0+
DefaultHistoryToken.TokenType
typealias · iOS 18.0+
DefaultHistoryTransaction
struct · iOS 18.0+
DefaultHistoryTransaction.ID
typealias · iOS 18.0+
DefaultHistoryTransaction.TokenType
typealias · iOS 18.0+
DefaultHistoryTransaction.TransactionIdentifier
typealias · iOS 18.0+
DefaultHistoryUpdate
struct · iOS 18.0+
DefaultHistoryUpdate.ChangeIdentifier
typealias · iOS 18.0+
DefaultHistoryUpdate.PropertyUpdate
typealias · iOS 18.0+
DefaultHistoryUpdate.TransactionIdentifier
typealias · iOS 18.0+
DefaultSerialModelExecutor
class · iOS 17.0+
DefaultSnapshot
struct · iOS 18.0+
DefaultStore
class · iOS 18.0+
DefaultStore.Configuration
typealias · iOS 18.0+
DefaultStore.HistoryType
typealias · iOS 18.0+
DefaultStore.Snapshot
typealias · iOS 18.0+
DefaultStore.TokenType
typealias · iOS 18.0+
EditingState
struct · iOS 18.0+
EditingState.ID
typealias · iOS 18.0+
FetchDescriptor
struct · iOS 17.0+
FetchResultsCollection
struct · iOS 17.0+
FetchResultsCollection.Index
typealias · iOS 17.0+
FetchResultsCollection.Indices
typealias · iOS 17.0+
FetchResultsCollection.Iterator
typealias · iOS 17.0+
FetchResultsCollection.SubSequence
typealias · iOS 17.0+
HistoryChange
enum · iOS 18.0+
HistoryDelete
protocol · iOS 18.0+
HistoryDescriptor
struct · iOS 18.0+
HistoryInsert
protocol · iOS 18.0+
HistoryObserver
class · iOS 27.0+
HistoryProviding
protocol · iOS 18.0+
HistoryToken
protocol · iOS 18.0+
HistoryTombstone
struct · iOS 18.0+
HistoryTombstone.Element
typealias · iOS 18.0+
HistoryTombstone.Iterator
struct · iOS 18.0+
HistoryTombstone.Iterator.Element
typealias · iOS 18.0+
HistoryTransaction
protocol · iOS 18.0+
HistoryUpdate
protocol · iOS 18.0+
HistoryUpdate.PropertyUpdate
typealias · iOS 18.0+
MigrationStage
enum · iOS 17.0+
ModelActor
protocol · iOS 17.0+
ModelConfiguration
struct · iOS 17.0+
ModelConfiguration.CloudKitDatabase
struct · iOS 17.0+
ModelConfiguration.GroupContainer
struct · iOS 17.0+
ModelConfiguration.ID
typealias · iOS 17.0+
ModelConfiguration.Store
typealias · iOS 18.0+
ModelContainer
class · iOS 17.0+
ModelContext
class · iOS 17.0+
ModelContext.NotificationKey
enum · iOS 17.0+
ModelContext.NotificationKey.RawValue
typealias · iOS 17.0+
ModelExecutor
protocol · iOS 17.0+
Optional.PersistentElement
typealias · iOS 17.0+
PersistentIdentifier
struct · iOS 16.0+
PersistentIdentifier.ID
struct · iOS 16.0+
PersistentModel
protocol · iOS 17.0+
RelationshipCollection
protocol · iOS 17.0+
ResultsObserver
class · iOS 27.0+
ResultsSection
struct · iOS 27.0+
ResultsSection.ID
typealias · iOS 27.0+
ResultsSection.Index
typealias · iOS 27.0+
ResultsSection.Indices
typealias · iOS 27.0+
ResultsSection.Iterator
typealias · iOS 27.0+
ResultsSection.SubSequence
typealias · iOS 27.0+
Schema
class · iOS 17.0+
Schema.Attribute
class · iOS 17.0+
Schema.Attribute.Option
struct · iOS 17.0+
Schema.CompositeAttribute
class · iOS 17.0+
Schema.Entity
class · iOS 17.0+
Schema.Index
class · iOS 18.0+
Schema.Index.CodingKeys
enum · iOS 18.0+
Schema.Index.Types
enum · iOS 18.0+
Schema.PropertyMetadata
struct · iOS 17.0+
Schema.Relationship
class · iOS 17.0+
Schema.Relationship.DeleteRule
enum · iOS 17.0+
Schema.Relationship.DeleteRule.RawValue
typealias · iOS 17.0+
Schema.Relationship.Option
struct · iOS 17.0+
Schema.Unique
class · iOS 18.0+
Schema.Unique.CodingKeys
enum · iOS 18.0+
Schema.Version
struct · iOS 17.0+
SchemaMigrationPlan
protocol · iOS 17.0+
SchemaProperty
protocol · iOS 17.0+
SectionedResults
struct · iOS 27.0+
SectionedResults.Index
typealias · iOS 27.0+
SectionedResults.Indices
typealias · iOS 27.0+
SectionedResults.Iterator
typealias · iOS 27.0+
SectionedResults.SubSequence
typealias · iOS 27.0+
SerialModelExecutor
protocol · iOS 17.0+
SwiftDataError
struct · iOS 17.0+
VersionedSchema
protocol · iOS 17.0+
get descriptor(): FetchDescriptor<SDKHandle>Swift declarationlet descriptor: FetchDescriptor<ModelType>get fetchedSnapshots(): Array<DefaultSnapshot>Swift declarationlet fetchedSnapshots: [SnapshotType]get relatedSnapshots(): NativeMap<PersistentIdentifier, DefaultSnapshot>Swift declarationlet relatedSnapshots: [PersistentIdentifier : SnapshotType]get descriptor(): FetchDescriptor<SDKHandle>Swift declarationlet descriptor: FetchDescriptor<T>get editingState(): EditingStateSwift declarationlet editingState: EditingStateget historyToken(): (SDKHandle) | nullSwift declarationfinal let historyToken: (any HistoryToken)?get storeIdentifier(): stringSwift declarationfinal let storeIdentifier: Stringget remappedIdentifiers(): NativeMap<PersistentIdentifier, PersistentIdentifier>Swift declarationfinal let remappedIdentifiers: [PersistentIdentifier : PersistentIdentifier]get snapshotsToReregister(): NativeMap<PersistentIdentifier, DefaultSnapshot>Swift declarationfinal let snapshotsToReregister: [PersistentIdentifier : T]static initForRemappedIdentifiersSnapshotsToReregisterHistoryToken(storeIdentifier: string, remappedIdentifiers?: NativeMap<PersistentIdentifier, PersistentIdentifier>, snapshotsToReregister?: NativeMap<PersistentIdentifier, DefaultSnapshot>, historyToken?: (SDKHandle) | null): DataStoreSaveChangesResult<DefaultSnapshot>Swift declarationinit(for storeIdentifier: String, remappedIdentifiers: [PersistentIdentifier : PersistentIdentifier] = [:], snapshotsToReregister: [PersistentIdentifier : T] = [:], historyToken: (any HistoryToken)?)static initForRemappedIdentifiersSnapshotsToReregister(storeIdentifier: string, remappedIdentifiers?: NativeMap<PersistentIdentifier, PersistentIdentifier>, snapshotsToReregister?: NativeMap<PersistentIdentifier, DefaultSnapshot>): DataStoreSaveChangesResult<DefaultSnapshot>Swift declarationinit(for storeIdentifier: String, remappedIdentifiers: [PersistentIdentifier : PersistentIdentifier] = [:], snapshotsToReregister: [PersistentIdentifier : T] = [:])get editingState(): EditingStateSwift declarationlet editingState: EditingStateget includeSubclasses(): booleanSwift declarationlet includeSubclasses: Boolget predicate(): (_Foundation_Predicate<SDKHandle>) | nullSwift declarationlet predicate: Predicate<T>?get editingState(): EditingStateSwift declarationlet editingState: EditingStateget deleted(): Array<DefaultSnapshot>Swift declarationlet deleted: [SnapshotType]get updated(): Array<DefaultSnapshot>Swift declarationlet updated: [SnapshotType]get inserted(): Array<DefaultSnapshot>Swift declarationlet inserted: [SnapshotType]get startIndex(): numberSwift declarationvar startIndex: Int { get }The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.
get id(): numberSwift declarationvar id: SectionTitle { get }The unique identifier for the section, which is its ``title``.
get title(): numberSwift declarationlet title: SectionTitleThe identifier of the section. This is the common value shared by all elements in this section, as determined by the `sectionBy` key path provided at creation.
get endIndex(): numberSwift declarationvar endIndex: Int { get }The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.
get fetchLimit(): (number) | nullSwift declarationvar fetchLimit: Int?set fetchLimit(value: (number) | null)Swift declarationvar fetchLimit: Int?get fetchOffset(): (number) | nullSwift declarationvar fetchOffset: Int?set fetchOffset(value: (number) | null)Swift declarationvar fetchOffset: Int?get includePendingChanges(): booleanSwift declarationvar includePendingChanges: Boolset includePendingChanges(value: boolean)Swift declarationvar includePendingChanges: Boolget sortBy(): Array<_Foundation_SortDescriptor<SDKHandle>>Swift declarationvar sortBy: [SortDescriptor<T>]set sortBy(value: Array<_Foundation_SortDescriptor<SDKHandle>>)Swift declarationvar sortBy: [SortDescriptor<T>]get predicate(): (_Foundation_Predicate<SDKHandle>) | nullSwift declarationvar predicate: Predicate<T>?set predicate(value: (_Foundation_Predicate<SDKHandle>) | null)Swift declarationvar predicate: Predicate<T>?get modelContext(): ModelContextSwift declarationfinal let modelContext: ModelContextThe model context from which models are fetched. This context is set at initialization and determines the data store and change-tracking scope for the observer.
get fetchDescriptor(): FetchDescriptor<SDKHandle>Swift declarationfinal var fetchDescriptor: FetchDescriptor<Element> { get }The fetch descriptor used to query the model context. This descriptor defines the complete fetch criteria including predicate, sort descriptors, and other fetch options. It is configured at initialization and can be indirectly modified through the ``filterBy`` and ``sortBy`` computed properties.
get debugDescription(): stringSwift declarationfinal var debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get sortBy(): Array<_Foundation_SortDescriptor<SDKHandle>>Swift declarationfinal var sortBy: [SortDescriptor<Element>] { get set }The sort descriptors used to order the results. Setting this property updates the underlying ``fetchDescriptor``'s sort descriptors and immediately refetches on the calling actor. When sectioning is active, the section's sort descriptor is automatically re-prepended if not already the first descriptor. A `SortDescriptor` by `persistentModelID` is appended automatically if not already present to ensure stable ordering for difference computation.
set sortBy(value: Array<_Foundation_SortDescriptor<SDKHandle>>)Swift declarationfinal var sortBy: [SortDescriptor<Element>] { get set }The sort descriptors used to order the results. Setting this property updates the underlying ``fetchDescriptor``'s sort descriptors and immediately refetches on the calling actor. When sectioning is active, the section's sort descriptor is automatically re-prepended if not already the first descriptor. A `SortDescriptor` by `persistentModelID` is appended automatically if not already present to ensure stable ordering for difference computation.
get results(): FetchResultsCollection<SDKHandle>Swift declarationfinal var results: FetchResultsCollection<Element> { get set }The current collection of fetched models matching the fetch criteria. This property is updated automatically when relevant changes occur in the model context. As an `@Observable` property, SwiftUI views that read this value will automatically refresh when the results change.
set results(value: FetchResultsCollection<SDKHandle>)Swift declarationfinal var results: FetchResultsCollection<Element> { get set }The current collection of fetched models matching the fetch criteria. This property is updated automatically when relevant changes occur in the model context. As an `@Observable` property, SwiftUI views that read this value will automatically refresh when the results change.
get filterBy(): (_Foundation_Predicate<SDKHandle>) | nullSwift declarationfinal var filterBy: Predicate<Element>? { get set }The predicate used to filter which models are included in the results. Setting this property updates the underlying ``fetchDescriptor``'s predicate and immediately refetches on the calling actor — results are synchronously up to date before the setter returns. Set to `nil` to remove filtering and include all models of this type.
set filterBy(value: (_Foundation_Predicate<SDKHandle>) | null)Swift declarationfinal var filterBy: Predicate<Element>? { get set }The predicate used to filter which models are included in the results. Setting this property updates the underlying ``fetchDescriptor``'s predicate and immediately refetches on the calling actor — results are synchronously up to date before the setter returns. Set to `nil` to remove filtering and include all models of this type.
get sections(): (SectionedResults<SDKHandle, number>) | nullSwift declarationfinal var sections: SectionedResults<Element, SectionTitle>? { get set }The sections computed from the current results, grouped by ``sectionBy``. Returns `nil` if this observer was created without a `sectionBy` key path (i.e. `SectionTitle == Never`). When sectioning is enabled, returns a ``SectionedResults`` of sections ordered by their first appearance in the sorted results. The `sectionBy` key path is automatically prepended as the first sort descriptor at initialization, and re-prepended if ``sortBy`` is mutated, ensuring results are always contiguous within each section.
set sections(value: (SectionedResults<SDKHandle, number>) | null)Swift declarationfinal var sections: SectionedResults<Element, SectionTitle>? { get set }The sections computed from the current results, grouped by ``sectionBy``. Returns `nil` if this observer was created without a `sectionBy` key path (i.e. `SectionTitle == Never`). When sectioning is enabled, returns a ``SectionedResults`` of sections ordered by their first appearance in the sorted results. The `sectionBy` key path is automatically prepended as the first sort descriptor at initialization, and re-prepended if ``sortBy`` is mutated, ensuring results are always contiguous within each section.
makeIterator(): HistoryTombstone_Iterator<SDKHandle>Swift declarationfunc makeIterator() -> HistoryTombstone<Model>.IteratorReturns an iterator over the elements of this sequence.
next(): (unknown) | nullSwift declarationmutating func next() -> Any?Advances to the next element and returns it, or `nil` if no next element exists. Repeatedly calling this method returns, in order, all the elements of the underlying sequence. As soon as the sequence has run out of elements, all subsequent calls return `nil`. You must not call this method if any other copy of this iterator has been advanced with a call to its `next()` method. The following example shows how an iterator can be used explicitly to emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and then call the iterator's `next()` method until it returns `nil`. let numbers = [2, 3, 5, 7] var numbersIterator = numbers.makeIterator() while let num = numbersIterator.next() { print(num) } // Prints "2" // Prints "3" // Prints "5" // Prints "7" - Returns: The next element in the underlying sequence, if a next element exists; otherwise, `nil`.
get startIndex(): numberSwift declarationvar startIndex: Int { get }The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.
subscriptSectionTitle(title: number): (ResultsSection<SDKHandle, number>) | nullSwift declarationsubscript(sectionTitle title: SectionTitle) -> ResultsSection<Element, SectionTitle>? { get }Returns the section with the given title, or `nil` if no such section exists. - Complexity: O(1)
get sectionTitles(): Array<number>Swift declarationvar sectionTitles: [SectionTitle] { get }The section titles in order.
index(title: number): (number) | nullSwift declarationfunc index(ofSectionTitled title: SectionTitle) -> Int?Returns the ordered index of the section with the given title, or `nil` if not found. - Complexity: O(1)
contains(title: number): booleanSwift declarationfunc contains(sectionTitle title: SectionTitle) -> BoolReturns whether a section with the given title exists in the collection. - Complexity: O(1)
get endIndex(): numberSwift declarationvar endIndex: Int { get }The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.
subscript(position: number): ResultsSection<SDKHandle, number>Swift declarationsubscript(position: Int) -> ResultsSection<Element, SectionTitle> { get }Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)
get fetchLimit(): numberSwift declarationvar fetchLimit: UInt64set fetchLimit(value: number)Swift declarationvar fetchLimit: UInt64get sortBy(): Array<_Foundation_SortDescriptor<DefaultHistoryTransaction>>Swift declarationvar sortBy: [SortDescriptor<TransactionType>]set sortBy(value: Array<_Foundation_SortDescriptor<DefaultHistoryTransaction>>)Swift declarationvar sortBy: [SortDescriptor<TransactionType>]get predicate(): (_Foundation_Predicate<DefaultHistoryTransaction>) | nullSwift declarationvar predicate: Predicate<TransactionType>?set predicate(value: (_Foundation_Predicate<DefaultHistoryTransaction>) | null)Swift declarationvar predicate: Predicate<TransactionType>?static initPredicateSortBy(predicate?: (_Foundation_Predicate<DefaultHistoryTransaction>) | null, sortBy?: Array<_Foundation_SortDescriptor<DefaultHistoryTransaction>>): HistoryDescriptor<DefaultHistoryTransaction>Swift declarationinit(predicate: Predicate<TransactionType>? = nil, sortBy: [SortDescriptor<TransactionType>] = [])static initPredicate(predicate?: (_Foundation_Predicate<DefaultHistoryTransaction>) | null): HistoryDescriptor<DefaultHistoryTransaction>Swift declarationinit(predicate: Predicate<TransactionType>? = nil)get changeIdentifier(): numberSwift declarationlet changeIdentifier: DefaultHistoryDelete<Model>.ChangeIdentifierget transactionIdentifier(): numberSwift declarationlet transactionIdentifier: DefaultHistoryDelete<Model>.TransactionIdentifierget changedPersistentIdentifier(): PersistentIdentifierSwift declarationlet changedPersistentIdentifier: PersistentIdentifierget tombstone(): HistoryTombstone<SDKHandle>Swift declarationlet tombstone: HistoryTombstone<Model>get changeIdentifier(): numberSwift declarationlet changeIdentifier: DefaultHistoryInsert<Model>.ChangeIdentifierget transactionIdentifier(): numberSwift declarationlet transactionIdentifier: DefaultHistoryInsert<Model>.TransactionIdentifierget changedPersistentIdentifier(): PersistentIdentifierSwift declarationlet changedPersistentIdentifier: PersistentIdentifierget changeIdentifier(): numberSwift declarationlet changeIdentifier: DefaultHistoryUpdate<Model>.ChangeIdentifierget updatedAttributes(): Array<(SDKHandle) & (SDKHandle)>Swift declarationlet updatedAttributes: [any PartialKeyPath<Model> & Sendable]get transactionIdentifier(): numberSwift declarationlet transactionIdentifier: DefaultHistoryUpdate<Model>.TransactionIdentifierget changedPersistentIdentifier(): PersistentIdentifierSwift declarationlet changedPersistentIdentifier: PersistentIdentifierget startIndex(): numberSwift declarationvar startIndex: Int { get }The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.
get endIndex(): numberSwift declarationvar endIndex: Int { get }The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.
subscript(position: number): unknownSwift declarationsubscript(position: Int) -> Element { get }Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)
getStringValue($self: Schema_Index_CodingKeys): stringSwift declarationvar stringValue: String { get }The string to use in a named collection (e.g. a string-keyed dictionary).
getIntValue($self: Schema_Index_CodingKeys): (number) | nullSwift declarationvar intValue: Int? { get }The value to use in an integer-indexed collection (e.g. an int-keyed dictionary).
get originalName(): stringSwift declarationfinal var originalName: String { get set }set originalName(value: string)Swift declarationfinal var originalName: String { get set }get debugDescription(): stringSwift declarationfinal var debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get name(): stringSwift declarationfinal var name: String { get set }set name(value: string)Swift declarationfinal var name: String { get set }get indices(): Array<Schema_Index_Types<SDKHandle, SDKHandle>>Swift declarationfinal let indices: [Schema.Index<T>.Types<T>]get isUnique(): booleanSwift declarationfinal var isUnique: Bool { get }get isUnique(): booleanSwift declarationfinal var isUnique: Bool { get }getStringValue($self: Schema_Unique_CodingKeys): stringSwift declarationvar stringValue: String { get }The string to use in a named collection (e.g. a string-keyed dictionary).
getIntValue($self: Schema_Unique_CodingKeys): (number) | nullSwift declarationvar intValue: Int? { get }The value to use in an integer-indexed collection (e.g. an int-keyed dictionary).
get originalName(): stringSwift declarationfinal var originalName: String { get set }set originalName(value: string)Swift declarationfinal var originalName: String { get set }get debugDescription(): stringSwift declarationfinal var debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get name(): stringSwift declarationfinal var name: String { get set }set name(value: string)Swift declarationfinal var name: String { get set }104 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ModelConfiguration.init(for:isStoredInMemoryOnly:)
Passing a Swift type itself is not supported.
DefaultStore.fetch(_:)
This declaration needs Swift generic type arguments. (no canonical witness for T)
DefaultStore.fetchCount(_:)
This declaration needs Swift generic type arguments. (no canonical witness for T)
DefaultStore.fetchIdentifiers(_:)
This declaration needs Swift generic type arguments. (no canonical witness for T)
DefaultStore.delete(_:)
This declaration needs Swift generic type arguments. (no canonical witness for T)
DefaultStore.historyType
Passing a Swift type itself is not supported.
ModelActor.modelContext
The iOS SDK compiler rejected this binding: actor-isolated property 'modelContext' can not be referenced from a nonisolated context
DefaultSerialModelExecutor.enqueue(_:)
The iOS SDK compiler rejected this binding: instance method 'arg' requires that 'ExecutorJob' conform to 'Copyable'
ModelActor.subscript(_:as:)
Passing a Swift type itself is not supported.
ModelContainer.migrationPlan
Passing a Swift type itself is not supported.
ModelContainer.init(for:migrationPlan:configurations:)
Passing a Swift type itself is not supported.
ModelContainer.init(for:migrationPlan:configurations:)
A variable number of Swift arguments is not supported.
ModelContainer.init(for:configurations:)
Passing a Swift type itself is not supported.
ResultsSection.subscript(_:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.sectionBy
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.element(at:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.indexPath(for:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(fetchDescriptor:modelContext:isolation:)
The containing type needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(filterBy:sortBy:modelContext:isolation:)
The containing type needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(fetchDescriptor:modelContainer:isolation:)
The containing type needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(filterBy:sortBy:modelContainer:isolation:)
The containing type needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(fetchDescriptor:sectionBy:modelContext:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(filterBy:sortBy:sectionBy:modelContext:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(fetchDescriptor:sectionBy:modelContainer:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(filterBy:sortBy:sectionBy:modelContainer:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(fetchDescriptor:sectionBy:modelContext:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(filterBy:sortBy:sectionBy:modelContext:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(fetchDescriptor:sectionBy:modelContainer:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
ResultsObserver.init(filterBy:sortBy:sectionBy:modelContainer:isolation:)
This declaration needs Swift generic type arguments. (no canonical witness for Element)
DataStoreFetchResult.init(descriptor:fetchedSnapshots:relatedSnapshots:)
The containing type needs Swift generic type arguments. (no canonical witness for ModelType)