One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKRecordZone.ID

class · iOS 8.0+ · SDK 27.1

class ID

Members (6)

get · iOS 8.0+

ownerName

TypeScript
get ownerName(): string
Swift declaration
var ownerName: String { get }
get · iOS 8.0+

zoneName

TypeScript
get zoneName(): string
Swift declaration
var zoneName: String { get }
get · iOS 8.0+

defaultZoneName

TypeScript
static get defaultZoneName(): string
Swift declaration
static let defaultZoneName: String

The name of the default zone.

get · iOS 8.0+

default

TypeScript
static get default(): CKRecordZone_ID
Swift declaration
static let `default`: CKRecordZone.ID

The default zone ID.

init · iOS 8.0+ · Deprecated in iOS 10.0

init

TypeScript
static initZoneNameOwnerName(zoneName?: string, ownerName?: (string) | null): CKRecordZone_ID
Swift declaration
convenience init(zoneName: String = CKRecordZone.ID.defaultZoneName, ownerName: String? = CKOwnerDefaultName)
init · iOS 10.0+

init

TypeScript
static initZoneNameOwnerName33926(zoneName?: string, ownerName?: string): CKRecordZone_ID
Swift declaration
convenience init(zoneName: String = CKRecordZone.ID.defaultZoneName, ownerName: String = CKCurrentUserDefaultName)

Creates a record zone ID with the specified name and owner. - Parameters: - zoneName: The name that identifies the record zone. Zone names consist of up to 255 ASCII characters, and don't start with an underscore. To specify the default zone of the current database, use ``CKRecordZone/ID/defaultZoneName``. This parameter must not be `nil` or an empty string. - ownerName: The user who creates the record zone. To specify the current user, use ``CKCurrentUserDefaultName``. If you provide `nil` or an empty string for this parameter, the method throws an exception. - Returns: A new record zone ID.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CKRecordZone.ID.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All CloudKit types →