FieldRelationshipType
public protocol FieldRelationshipType
Values to be used for Field.Relationship properties.
-
The destination object’s type
Declaration
Swift
associatedtype DestinationObjectType : CoreStoreObject -
The Objective-C native type synthesized by Core Data
Declaration
Swift
associatedtype NativeValueType : AnyObject -
The corresponding value for this field returned from
ObjectSnapshotproperties.Declaration
Swift
associatedtype SnapshotValueType -
The corresponding value for this field returned from
ObjectPublisherproperties.Declaration
Swift
associatedtype PublishedType -
Used internally by CoreStore. Do not call directly.
Declaration
Swift
static func cs_toReturnType(from value: NativeValueType?) -> Self -
Used internally by CoreStore. Do not call directly.
Declaration
Swift
static func cs_toPublishedType(from value: SnapshotValueType, in context: NSManagedObjectContext) -> PublishedType -
Used internally by CoreStore. Do not call directly.
Declaration
Swift
static func cs_toNativeType(from value: Self) -> NativeValueType? -
Used internally by CoreStore. Do not call directly.
Declaration
Swift
static func cs_toSnapshotType(from value: PublishedType) -> SnapshotValueType -
Used internally by CoreStore. Do not call directly.
Declaration
Swift
static func cs_valueForSnapshot(from objectIDs: [DestinationObjectType.ObjectID]) -> SnapshotValueType
View on GitHub
FieldRelationshipType Protocol Reference