One Logo Pool Ball
SwiftData · IOS API REFERENCE

SchemaProperty

protocol · iOS 17.0+ · SDK 27.1

protocol SchemaProperty : Decodable, Encodable, Hashable

An interface for describing a property.

Members (4)

get · iOS 17.0+

isOptional

Swift declaration
var isOptional: Bool { get }
get · iOS 17.0+

isAttribute

Swift declaration
var isAttribute: Bool { get }
get · iOS 17.0+

isTransient

Swift declaration
var isTransient: Bool { get }
get · iOS 17.0+

isRelationship

Swift declaration
var isRelationship: Bool { get }

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftData types →