SwiftprotocolSwiftData
protocol SwiftData.BackingData
Members 24
- associatedtype
associatedtype Model - func
method descriptor for _applyAsBackingData(to: SwiftData.PersistentModel) -> Bool - func
_applyAsBackingData(to: SwiftData.PersistentModel) -> Bool - func
_generateCurrentClassBackingData<A where A1: SwiftData.PersistentModel>() -> any SwiftData.BackingData<Self.Model == A1> - func
_superClassBackingData<A where A1: SwiftData.PersistentModel>(of: SwiftData.PersistentModel.Type) -> any SwiftData.BackingData<Self.Model == A1> - func
method descriptor for _updateFromSlottedSnapshot(SwiftData._DataStoreSnapshotValueAccess) -> Bool - func
_updateFromSlottedSnapshot(SwiftData._DataStoreSnapshotValueAccess) -> Bool - func
method descriptor for _updateFromSnapshot(SwiftData.DataStoreSnapshot) -> Bool - func
_updateFromSnapshot(SwiftData.DataStoreSnapshot) -> Bool - func
method descriptor for getTransformableValue<A>(forKey: KeyPath<A.Model, A1>) -> A1 - func
method descriptor for getValue<A where A1: Decodable>(forKey: KeyPath<A.Model, A1>) -> A1 - func
method descriptor for getValue<A where A1: SwiftData.PersistentModel>(forKey: KeyPath<A.Model, A1>) -> A1 - func
method descriptor for getValue<A where A1: SwiftData.PersistentModel>(forKey: KeyPath<A.Model, A1?>) -> A1? - func
method descriptor for getValue<A, B where A1: SwiftData.RelationshipCollection, B1 == A1.PersistentElement>(forKey: KeyPath<A.Model, A1>) -> A1 - func
method descriptor for getValue<A, B where A1: Decodable, A1: SwiftData.RelationshipCollection, B1 == A1.RelationshipCollection.PersistentElement>(forKey: KeyPath<A.Model, A1>) -> A1 - func
method descriptor for setTransformableValue<A>(forKey: KeyPath<A.Model, A1>, to: A1) -> () - func
method descriptor for setValue<A where A1: Encodable>(forKey: KeyPath<A.Model, A1>, to: A1) -> () - func
method descriptor for setValue<A where A1: SwiftData.PersistentModel>(forKey: KeyPath<A.Model, A1>, to: A1) -> () - func
method descriptor for setValue<A where A1: SwiftData.PersistentModel>(forKey: KeyPath<A.Model, A1?>, to: A1?) -> () - func
method descriptor for setValue<A, B where A1: SwiftData.RelationshipCollection, B1 == A1.PersistentElement>(forKey: KeyPath<A.Model, A1>, to: A1) -> () - func
method descriptor for setValue<A, B where A1: Encodable, A1: SwiftData.RelationshipCollection, B1 == A1.RelationshipCollection.PersistentElement>(forKey: KeyPath<A.Model, A1>, to: A1) -> () - init
method descriptor for init(for: A.Model.Type) -> A - var
var metadata: Any { get } - var
var persistentModelID: SwiftData.PersistentIdentifier? { get set modify }
Header
protocol BackingData where Self.Model: SwiftData.PersistentModel { associatedtype Model init(for: Self.Model.Type) var metadata: Any { get } var persistentModelID: SwiftData.PersistentIdentifier? { get set } func getValue<A1>(forKey: Swift.KeyPath<Self.Model, A1>) -> A1 where A1: Swift.Decodable func getValue<A1>(forKey: Swift.KeyPath<Self.Model, A1>) -> A1 where A1: SwiftData.PersistentModel func getValue<A1>(forKey: Swift.KeyPath<Self.Model, A1?>) -> A1? where A1: SwiftData.PersistentModel func getValue<A1, B1>(forKey: Swift.KeyPath<Self.Model, A1>) -> A1 where A1: SwiftData.RelationshipCollection, B1 == A1.PersistentElement func getValue<A1, B1>(forKey: Swift.KeyPath<Self.Model, A1>) -> A1 where A1: Swift.Decodable, A1: SwiftData.RelationshipCollection, B1 == A1.PersistentElement func getTransformableValue<A1>(forKey: Swift.KeyPath<Self.Model, A1>) -> A1 func setValue<A1>(forKey: Swift.KeyPath<Self.Model, A1>, to: A1) where A1: Swift.Encodable func setValue<A1>(forKey: Swift.KeyPath<Self.Model, A1>, to: A1) where A1: SwiftData.PersistentModel func setValue<A1>(forKey: Swift.KeyPath<Self.Model, A1?>, to: A1?) where A1: SwiftData.PersistentModel func setValue<A1, B1>(forKey: Swift.KeyPath<Self.Model, A1>, to: A1) where A1: SwiftData.RelationshipCollection, B1 == A1.PersistentElement func setValue<A1, B1>(forKey: Swift.KeyPath<Self.Model, A1>, to: A1) where A1: Swift.Encodable, A1: SwiftData.RelationshipCollection, B1 == A1.PersistentElement func setTransformableValue<A1>(forKey: Swift.KeyPath<Self.Model, A1>, to: A1) func _updateFromSnapshot(_: any SwiftData.DataStoreSnapshot) -> Swift.Bool func _updateFromSlottedSnapshot(_: any SwiftData._DataStoreSnapshotValueAccess) -> Swift.Bool func _applyAsBackingData(to: any SwiftData.PersistentModel) -> Swift.Bool } extension SwiftData.BackingData { func _superClassBackingData<A1>(of: any SwiftData.PersistentModel.Type) -> any SwiftData.BackingData<A1> where A1: SwiftData.PersistentModel func _generateCurrentClassBackingData<A1>() -> any SwiftData.BackingData<A1> where A1: SwiftData.PersistentModel func _applyAsBackingData(to: any SwiftData.PersistentModel) -> Swift.Bool func _updateFromSnapshot(_: any SwiftData.DataStoreSnapshot) -> Swift.Bool func _updateFromSlottedSnapshot(_: any SwiftData._DataStoreSnapshotValueAccess) -> Swift.Bool }