API Differences in SwiftData in macOS 26.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in SwiftData in the macOS 26.0 SDK.

Table of Contents

Functions & Methods

BackingData
public func _generateCurrentClassBackingData<CurrentClass>() -> any SwiftData.BackingData<CurrentClass> where CurrentClass : SwiftData.PersistentModel
BackingData
public func _superClassBackingData<SuperClass>(of givenType: any SwiftData.PersistentModel.Type) -> any SwiftData.BackingData<SuperClass> where SuperClass : SwiftData.PersistentModel
CompositeAttribute
public static func == (lhs: SwiftData.Schema.CompositeAttribute, rhs: SwiftData.Schema.CompositeAttribute) -> Swift.Bool
FetchDescriptor
public static func == (lhs: SwiftData.FetchDescriptor<T>, rhs: SwiftData.FetchDescriptor<T>) -> Swift.Bool

Properties & Constants

HistoryDescriptor
public var sortBy: [Foundation.SortDescriptor<TransactionType>]

Associatedtypes

PersistentModel
associatedtype Root : SwiftData.PersistentModel = Self

Conformances

FetchDescriptor
Swift.Equatable

Initializers

HistoryDescriptor
public init(predicate: Foundation.Predicate<TransactionType>? = nil, sortBy: [Foundation.SortDescriptor<TransactionType>] = [])
Schema
convenience public init(_ types: any SwiftData.PersistentModel.Type..., version: SwiftData.Schema.Version = Version(1, 0, 0))