QueryableAttributeType
public protocol QueryableAttributeType : SelectResultType, Hashable
Types supported by CoreStore for querying, especially as generic type for Select clauses.
Supported default types:
BoolCGFloatDataDateDoubleFloatIntInt8Int16Int32Int64NSDataNSDateNSDecimalNumberNSManagedObjectIDNSNullNSNumberNSStringNSURLNSUUIDStringURLUUID
In addition, RawRepresentable types whose RawValue already implements QueryableAttributeType only need to declare conformance to QueryableAttributeType.
-
The
CoreDataNativeTypefor this type when used inSelectclauses.Declaration
Swift
associatedtype QueryableNativeType -
The
NSAttributeTypefor this type when used inSelectclauses.Declaration
Swift
static var cs_rawAttributeType: NSAttributeType { get } -
Creates an instance of this type from its
QueryableNativeTypevalue.Declaration
Swift
@inline(__always) static func cs_fromQueryableNativeType(_ value: QueryableNativeType) -> Self? -
Creates
QueryableNativeTypevalue from this instance.Declaration
Swift
@inline(__always) func cs_toQueryableNativeType() -> QueryableNativeType
View on GitHub
QueryableAttributeType Protocol Reference