Optional
extension Optional: CoreStoreDebugStringConvertible
extension Optional: FieldOptionalType
extension Optional: FieldRelationshipType, FieldRelationshipToOneType where Wrapped: CoreStoreObject
extension Optional: FieldStorableType where Wrapped: FieldStorableType
extension Optional: AllowedObjectiveCKeyPathValue where Wrapped: AllowedOptionalObjectiveCKeyPathValue
extension Optional: AllowedObjectiveCAttributeKeyPathValue where Wrapped: AllowedObjectiveCAttributeKeyPathValue, Wrapped: AllowedOptionalObjectiveCKeyPathValue
extension Optional: AllowedOptionalObjectiveCKeyPathValue, AllowedObjectiveCRelationshipKeyPathValue where Wrapped: AllowedObjectiveCRelationshipKeyPathValue
extension Optional: AllowedObjectiveCToManyRelationshipKeyPathValue where Wrapped: AllowedObjectiveCToManyRelationshipKeyPathValue, Wrapped: AllowedObjectiveCRelationshipKeyPathValue
-
Declaration
Swift
@inlinable public var cs_wrappedValue: Wrapped? { get }
-
Declaration
Swift
public typealias DestinationObjectType = Wrapped -
Declaration
Swift
public typealias NativeValueType = NSManagedObject -
Declaration
Swift
public typealias SnapshotValueType = NSManagedObjectID? -
Declaration
Swift
public typealias PublishedType = ObjectPublisher<DestinationObjectType>? -
Declaration
Swift
public static func cs_toReturnType(from value: NativeValueType?) -> Optional<Wrapped> -
Declaration
Swift
public static func cs_toPublishedType(from value: SnapshotValueType, in context: NSManagedObjectContext) -> PublishedType -
Declaration
Swift
public static func cs_toNativeType(from value: `Self`) -> NativeValueType? -
Declaration
Swift
public static func cs_toSnapshotType(from value: PublishedType) -> SnapshotValueType -
Declaration
Swift
public static func cs_valueForSnapshot(from objectIDs: [DestinationObjectType.ObjectID]) -> SnapshotValueType
-
Declaration
Swift
public typealias FieldStoredNativeType = Wrapped.FieldStoredNativeType? -
Declaration
Swift
public static var cs_rawAttributeType: NSAttributeType { get } -
Declaration
Swift
@inline(__always) public static func cs_fromFieldStoredNativeType(_ value: FieldStoredNativeType) -> Optional<Wrapped> -
Declaration
Swift
@inline(__always) public func cs_toFieldStoredNativeType() -> Any?
-
Declaration
Swift
public typealias DestinationValueType = Wrapped.DestinationValueType
Available where Wrapped: AllowedObjectiveCAttributeKeyPathValue, Wrapped: AllowedOptionalObjectiveCKeyPathValue
-
Declaration
Swift
public typealias ReturnValueType = Optional
View on GitHub
Optional Extension Reference