The table shows possible field types, as they appear in CloudKit Dashboard,
and their equivalent CloudKit framework classes.
Field Type
Class
Description
Asset
CKAsset
A large file that is associated with a record but stored separately
Bytes
NSData
A wrapper for byte buffers that is stored with the record
Date/Time
NSDate
A single point in time
Double
NSNumber
A double
Int(64)
NSNumber
An integer
Location
CLLocation
A geographical coordinate and altitude
Reference
CKReference
A relationship from one object to another
String
NSString
An immutable text string
List
NSArray
Arrays of any of the above field types