FieldStorableType

public protocol FieldStorableType

Values to be used for Field.Stored properties.

  • The NSAttributeType for this type

    Declaration

    Swift

    associatedtype FieldStoredNativeType
  • The NSAttributeType for this type. Used internally by CoreStore. Do not call directly.

    Declaration

    Swift

    static var cs_rawAttributeType: NSAttributeType { get }
  • Creates an instance of this type from raw native value. Used internally by CoreStore. Do not call directly.

    Declaration

    Swift

    @inline(__always)
    static func cs_fromFieldStoredNativeType(_ value: FieldStoredNativeType) -> Self
  • Creates FieldStoredNativeType value from this instance. Used internally by CoreStore. Do not call directly.

    Declaration

    Swift

    @inline(__always)
    func cs_toFieldStoredNativeType() -> Any?