CloudKit Changes for Swift
CloudKit
Modified CKAccountStatus [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified CKApplicationPermissionStatus [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified CKAsset
Protocols | |
---|---|
From | AnyObject, CKRecordValue, NSObjectProtocol |
To | CKRecordValue |
Modified CKContainer
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKDatabase
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKDatabaseOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKDiscoverAllContactsOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKDiscoveredUserInfo
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKDiscoverUserInfosOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKErrorCode [enum]
Declaration | Protocols | |
---|---|---|
From | enum CKErrorCode : Int { case InternalError case PartialFailure case NetworkUnavailable case NetworkFailure case BadContainer case ServiceUnavailable case RequestRateLimited case MissingEntitlement case NotAuthenticated case PermissionFailure case UnknownItem case InvalidArguments case ResultsTruncated case ServerRecordChanged case ServerRejectedRequest case AssetFileNotFound case AssetFileModified case IncompatibleVersion case ConstraintViolation case OperationCancelled case ChangeTokenExpired case BatchRequestFailed case ZoneBusy case BadDatabase case QuotaExceeded case ZoneNotFound case LimitExceeded case UserDeletedZone } extension CKErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError { } extension CKErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError { } | Equatable, ErrorType, Hashable, RawRepresentable |
To | enum CKErrorCode : Int { case InternalError case PartialFailure case NetworkUnavailable case NetworkFailure case BadContainer case ServiceUnavailable case RequestRateLimited case MissingEntitlement case NotAuthenticated case PermissionFailure case UnknownItem case InvalidArguments case ResultsTruncated case ServerRecordChanged case ServerRejectedRequest case AssetFileNotFound case AssetFileModified case IncompatibleVersion case ConstraintViolation case OperationCancelled case ChangeTokenExpired case BatchRequestFailed case ZoneBusy case BadDatabase case QuotaExceeded case ZoneNotFound case LimitExceeded case UserDeletedZone } extension CKErrorCode : _BridgedNSError { } extension CKErrorCode : _BridgedNSError { } | -- |
Modified CKFetchNotificationChangesOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKFetchRecordChangesOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKFetchRecordsOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKFetchRecordZonesOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKFetchSubscriptionsOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKLocationSortDescriptor
Declaration | Protocols | |
---|---|---|
From | class CKLocationSortDescriptor : NSSortDescriptor { convenience init() init(key key: String, relativeLocation relativeLocation: CLLocation) init(coder aDecoder: NSCoder) @NSCopying var relativeLocation: CLLocation { get } } | AnyObject, NSCoding, NSSecureCoding |
To | class CKLocationSortDescriptor : NSSortDescriptor, NSSecureCoding { convenience init() init(key key: String, relativeLocation relativeLocation: CLLocation) init(coder aDecoder: NSCoder) @NSCopying var relativeLocation: CLLocation { get } } | NSSecureCoding |
Modified CKMarkNotificationsReadOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKModifyBadgeOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKModifyRecordsOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKModifyRecordZonesOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKModifySubscriptionsOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKNotification
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKNotificationID
Declaration | Protocols | |
---|---|---|
From | class CKNotificationID : NSObject, NSCopying, NSSecureCoding, NSCoding { } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKNotificationID : NSObject, NSCopying, NSSecureCoding { } | NSCopying, NSSecureCoding |
Modified CKNotificationInfo
Declaration | Protocols | |
---|---|---|
From | class CKNotificationInfo : NSObject, NSSecureCoding, NSCoding, NSCopying { var alertBody: String? var alertLocalizationKey: String? var alertLocalizationArgs: [String]? var alertActionLocalizationKey: String? var alertLaunchImage: String? var soundName: String? var desiredKeys: [String]? var shouldBadge: Bool var shouldSendContentAvailable: Bool var category: String? } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKNotificationInfo : NSObject, NSSecureCoding, NSCopying { var alertBody: String? var alertLocalizationKey: String? var alertLocalizationArgs: [String]? var alertActionLocalizationKey: String? var alertLaunchImage: String? var soundName: String? var desiredKeys: [String]? var shouldBadge: Bool var shouldSendContentAvailable: Bool var category: String? } | NSCopying, NSSecureCoding |
Modified CKNotificationType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified CKOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKQuery
Declaration | Protocols | |
---|---|---|
From | class CKQuery : NSObject, NSSecureCoding, NSCoding, NSCopying { convenience init() init(coder aDecoder: NSCoder) init(recordType recordType: String, predicate predicate: NSPredicate) var recordType: String { get } @NSCopying var predicate: NSPredicate { get } var sortDescriptors: [NSSortDescriptor]? } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKQuery : NSObject, NSSecureCoding, NSCopying { convenience init() init(coder aDecoder: NSCoder) init(recordType recordType: String, predicate predicate: NSPredicate) var recordType: String { get } @NSCopying var predicate: NSPredicate { get } var sortDescriptors: [NSSortDescriptor]? } | NSCopying, NSSecureCoding |
Modified CKQueryCursor
Declaration | Protocols | |
---|---|---|
From | class CKQueryCursor : NSObject, NSCopying, NSSecureCoding, NSCoding { init() } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKQueryCursor : NSObject, NSCopying, NSSecureCoding { init() } | NSCopying, NSSecureCoding |
Modified CKQueryNotification
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKQueryNotificationReason [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified CKQueryOperation
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKRecord
Declaration | Protocols | |
---|---|---|
From | class CKRecord : NSObject, NSSecureCoding, NSCoding, NSCopying { init() init(recordType recordType: String) init(recordType recordType: String, recordID recordID: CKRecordID) init(recordType recordType: String, zoneID zoneID: CKRecordZoneID) var recordType: String { get } @NSCopying var recordID: CKRecordID { get } var recordChangeTag: String? { get } @NSCopying var creatorUserRecordID: CKRecordID? { get } @NSCopying var creationDate: NSDate? { get } @NSCopying var lastModifiedUserRecordID: CKRecordID? { get } @NSCopying var modificationDate: NSDate? { get } func objectForKey(_ key: String) -> CKRecordValue? func setObject(_ object: CKRecordValue?, forKey key: String) func allKeys() -> [String] func allTokens() -> [String] subscript (_ key: String) -> CKRecordValue? func objectForKeyedSubscript(_ key: String) -> CKRecordValue? func setObject(_ object: CKRecordValue?, forKeyedSubscript key: String) func changedKeys() -> [String] func encodeSystemFieldsWithCoder(_ coder: NSCoder) } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKRecord : NSObject, NSSecureCoding, NSCopying { init() init(recordType recordType: String) init(recordType recordType: String, recordID recordID: CKRecordID) init(recordType recordType: String, zoneID zoneID: CKRecordZoneID) var recordType: String { get } @NSCopying var recordID: CKRecordID { get } var recordChangeTag: String? { get } @NSCopying var creatorUserRecordID: CKRecordID? { get } @NSCopying var creationDate: NSDate? { get } @NSCopying var lastModifiedUserRecordID: CKRecordID? { get } @NSCopying var modificationDate: NSDate? { get } func objectForKey(_ key: String) -> CKRecordValue? func setObject(_ object: CKRecordValue?, forKey key: String) func allKeys() -> [String] func allTokens() -> [String] subscript (_ key: String) -> CKRecordValue? func objectForKeyedSubscript(_ key: String) -> CKRecordValue? func setObject(_ object: CKRecordValue?, forKeyedSubscript key: String) func changedKeys() -> [String] func encodeSystemFieldsWithCoder(_ coder: NSCoder) } | NSCopying, NSSecureCoding |
Modified CKRecordID
Declaration | Protocols | |
---|---|---|
From | class CKRecordID : NSObject, NSSecureCoding, NSCoding, NSCopying { convenience init() convenience init(recordName recordName: String) init(recordName recordName: String, zoneID zoneID: CKRecordZoneID) var recordName: String { get } var zoneID: CKRecordZoneID { get } } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKRecordID : NSObject, NSSecureCoding, NSCopying { convenience init() convenience init(recordName recordName: String) init(recordName recordName: String, zoneID zoneID: CKRecordZoneID) var recordName: String { get } var zoneID: CKRecordZoneID { get } } | NSCopying, NSSecureCoding |
Modified CKRecordSavePolicy [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified CKRecordZone
Declaration | Protocols | |
---|---|---|
From | class CKRecordZone : NSObject, NSSecureCoding, NSCoding, NSCopying { class func defaultRecordZone() -> CKRecordZone init() init(zoneName zoneName: String) init(zoneID zoneID: CKRecordZoneID) var zoneID: CKRecordZoneID { get } var capabilities: CKRecordZoneCapabilities { get } } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKRecordZone : NSObject, NSSecureCoding, NSCopying { class func defaultRecordZone() -> CKRecordZone init() init(zoneName zoneName: String) init(zoneID zoneID: CKRecordZoneID) var zoneID: CKRecordZoneID { get } var capabilities: CKRecordZoneCapabilities { get } } | NSCopying, NSSecureCoding |
Modified CKRecordZoneID
Declaration | Protocols | |
---|---|---|
From | class CKRecordZoneID : NSObject, NSSecureCoding, NSCoding, NSCopying { convenience init() init(zoneName zoneName: String, ownerName ownerName: String) var zoneName: String { get } var ownerName: String { get } } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKRecordZoneID : NSObject, NSSecureCoding, NSCopying { convenience init() init(zoneName zoneName: String, ownerName ownerName: String) var zoneName: String { get } var ownerName: String { get } } | NSCopying, NSSecureCoding |
Modified CKRecordZoneNotification
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified CKReference
Declaration | Protocols | |
---|---|---|
From | class CKReference : NSObject, NSSecureCoding, NSCoding, NSCopying { convenience init() init(recordID recordID: CKRecordID, action action: CKReferenceAction) convenience init(record record: CKRecord, action action: CKReferenceAction) var referenceAction: CKReferenceAction { get } @NSCopying var recordID: CKRecordID { get } } extension CKReference : CKRecordValue { } | AnyObject, CKRecordValue, NSCoding, NSCopying, NSObjectProtocol, NSSecureCoding |
To | class CKReference : NSObject, NSSecureCoding, NSCopying { convenience init() init(recordID recordID: CKRecordID, action action: CKReferenceAction) convenience init(record record: CKRecord, action action: CKReferenceAction) var referenceAction: CKReferenceAction { get } @NSCopying var recordID: CKRecordID { get } } extension CKReference : CKRecordValue { } | CKRecordValue, NSCopying, NSSecureCoding |
Modified CKReferenceAction [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified CKServerChangeToken
Declaration | Protocols | |
---|---|---|
From | class CKServerChangeToken : NSObject, NSCopying, NSSecureCoding, NSCoding { init() } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKServerChangeToken : NSObject, NSCopying, NSSecureCoding { init() } | NSCopying, NSSecureCoding |
Modified CKSubscription
Declaration | Protocols | |
---|---|---|
From | class CKSubscription : NSObject, NSSecureCoding, NSCoding, NSCopying { convenience init() init(coder aDecoder: NSCoder) convenience init(recordType recordType: String, predicate predicate: NSPredicate, options subscriptionOptions: CKSubscriptionOptions) init(recordType recordType: String, predicate predicate: NSPredicate, subscriptionID subscriptionID: String, options subscriptionOptions: CKSubscriptionOptions) convenience init(zoneID zoneID: CKRecordZoneID, options subscriptionOptions: CKSubscriptionOptions) init(zoneID zoneID: CKRecordZoneID, subscriptionID subscriptionID: String, options subscriptionOptions: CKSubscriptionOptions) var subscriptionID: String { get } var subscriptionType: CKSubscriptionType { get } var recordType: String? { get } @NSCopying var predicate: NSPredicate? { get } var subscriptionOptions: CKSubscriptionOptions { get } @NSCopying var notificationInfo: CKNotificationInfo? @NSCopying var zoneID: CKRecordZoneID? } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class CKSubscription : NSObject, NSSecureCoding, NSCopying { convenience init() init(coder aDecoder: NSCoder) convenience init(recordType recordType: String, predicate predicate: NSPredicate, options subscriptionOptions: CKSubscriptionOptions) init(recordType recordType: String, predicate predicate: NSPredicate, subscriptionID subscriptionID: String, options subscriptionOptions: CKSubscriptionOptions) convenience init(zoneID zoneID: CKRecordZoneID, options subscriptionOptions: CKSubscriptionOptions) init(zoneID zoneID: CKRecordZoneID, subscriptionID subscriptionID: String, options subscriptionOptions: CKSubscriptionOptions) var subscriptionID: String { get } var subscriptionType: CKSubscriptionType { get } var recordType: String? { get } @NSCopying var predicate: NSPredicate? { get } var subscriptionOptions: CKSubscriptionOptions { get } @NSCopying var notificationInfo: CKNotificationInfo? @NSCopying var zoneID: CKRecordZoneID? } | NSCopying, NSSecureCoding |
Modified CKSubscriptionType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |