Documentation Archive Developer
Search

CloudKit Changes

CloudKit

Removed CKApplicationPermissions.value
Removed CKRecordZoneCapabilities.value
Removed CKSubscriptionOptions.value
Added CKApplicationPermissions.init(rawValue: UInt)
Added CKRecordZoneCapabilities.init(rawValue: UInt)
Added CKSubscriptionOptions.init(rawValue: UInt)
Modified CKApplicationPermissions [struct]
Declaration
From
struct CKApplicationPermissions : RawOptionSetType {
    init(_ value: UInt)
    var value: UInt
    static var PermissionUserDiscoverability: CKApplicationPermissions { get }
}
To
struct CKApplicationPermissions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var PermissionUserDiscoverability: CKApplicationPermissions { get }
}

Modified CKApplicationPermissions.init(_: UInt)
Declaration
From
init(_ value: UInt)
To
init(_ rawValue: UInt)

Modified CKAsset.init(fileURL: NSURL!)
Declaration
From
init(fileURL fileURL: NSURL!)
To
init!(fileURL fileURL: NSURL!)

Modified CKContainer.init(identifier: String!)
Declaration
From
init(identifier containerIdentifier: String!) -> CKContainer
To
init!(identifier containerIdentifier: String!) -> CKContainer

Modified CKDiscoverAllContactsOperation.init()
Declaration
From
init()
To
init!()

Modified CKDiscoverUserInfosOperation.init()
Declaration
From
init()
To
init!()

Modified CKDiscoverUserInfosOperation.init(emailAddresses: [AnyObject]!, userRecordIDs:[AnyObject]!)
Declaration
From
convenience init(emailAddresses emailAddresses: [AnyObject]!, userRecordIDs userRecordIDs: [AnyObject]!)
To
convenience init!(emailAddresses emailAddresses: [AnyObject]!, userRecordIDs userRecordIDs: [AnyObject]!)

Modified CKFetchNotificationChangesOperation.init(previousServerChangeToken: CKServerChangeToken!)
Declaration
From
init(previousServerChangeToken previousServerChangeToken: CKServerChangeToken!)
To
init!(previousServerChangeToken previousServerChangeToken: CKServerChangeToken!)

Modified CKFetchRecordChangesOperation.init(recordZoneID: CKRecordZoneID!, previousServerChangeToken: CKServerChangeToken!)
Declaration
From
init(recordZoneID recordZoneID: CKRecordZoneID!, previousServerChangeToken previousServerChangeToken: CKServerChangeToken!)
To
init!(recordZoneID recordZoneID: CKRecordZoneID!, previousServerChangeToken previousServerChangeToken: CKServerChangeToken!)

Modified CKFetchRecordZonesOperation.init()
Declaration
From
init()
To
init!()

Modified CKFetchRecordZonesOperation.init(recordZoneIDs: [AnyObject]!)
Declaration
From
convenience init(recordZoneIDs zoneIDs: [AnyObject]!)
To
convenience init!(recordZoneIDs zoneIDs: [AnyObject]!)

Modified CKFetchRecordsOperation.init()
Declaration
From
init()
To
init!()

Modified CKFetchRecordsOperation.init(recordIDs: [AnyObject]!)
Declaration
From
convenience init(recordIDs recordIDs: [AnyObject]!)
To
convenience init!(recordIDs recordIDs: [AnyObject]!)

Modified CKFetchSubscriptionsOperation.init()
Declaration
From
init()
To
init!()

Modified CKFetchSubscriptionsOperation.init(subscriptionIDs: [AnyObject]!)
Declaration
From
convenience init(subscriptionIDs subscriptionIDs: [AnyObject]!)
To
convenience init!(subscriptionIDs subscriptionIDs: [AnyObject]!)

Modified CKLocationSortDescriptor.init(coder: NSCoder!)
Declaration
From
init(coder aDecoder: NSCoder!)
To
init!(coder aDecoder: NSCoder!)

Modified CKLocationSortDescriptor.init(key: String!, relativeLocation: CLLocation!)
Declaration
From
init(key key: String!, relativeLocation relativeLocation: CLLocation!)
To
init!(key key: String!, relativeLocation relativeLocation: CLLocation!)

Modified CKMarkNotificationsReadOperation.init(notificationIDsToMarkRead: [AnyObject]!)
Declaration
From
init(notificationIDsToMarkRead notificationIDs: [AnyObject]!)
To
init!(notificationIDsToMarkRead notificationIDs: [AnyObject]!)

Modified CKModifyBadgeOperation.init()
Declaration
From
init()
To
init!()

Modified CKModifyBadgeOperation.init(badgeValue: Int)
Declaration
From
convenience init(badgeValue badgeValue: Int)
To
convenience init!(badgeValue badgeValue: Int)

Modified CKModifyRecordZonesOperation.init()
Declaration
From
init()
To
init!()

Modified CKModifyRecordZonesOperation.init(recordZonesToSave: [AnyObject]!, recordZoneIDsToDelete:[AnyObject]!)
Declaration
From
convenience init(recordZonesToSave recordZonesToSave: [AnyObject]!, recordZoneIDsToDelete recordZoneIDsToDelete: [AnyObject]!)
To
convenience init!(recordZonesToSave recordZonesToSave: [AnyObject]!, recordZoneIDsToDelete recordZoneIDsToDelete: [AnyObject]!)

Modified CKModifyRecordsOperation.init()
Declaration
From
init()
To
init!()

Modified CKModifyRecordsOperation.init(recordsToSave: [AnyObject]!, recordIDsToDelete:[AnyObject]!)
Declaration
From
convenience init(recordsToSave records: [AnyObject]!, recordIDsToDelete recordIDs: [AnyObject]!)
To
convenience init!(recordsToSave records: [AnyObject]!, recordIDsToDelete recordIDs: [AnyObject]!)

Modified CKModifySubscriptionsOperation.init(subscriptionsToSave: [AnyObject]!, subscriptionIDsToDelete:[AnyObject]!)
Declaration
From
init(subscriptionsToSave subscriptionsToSave: [AnyObject]!, subscriptionIDsToDelete subscriptionIDsToDelete: [AnyObject]!)
To
init!(subscriptionsToSave subscriptionsToSave: [AnyObject]!, subscriptionIDsToDelete subscriptionIDsToDelete: [AnyObject]!)

Modified CKNotification.init(fromRemoteNotificationDictionary: [NSObject: AnyObject]!)
Declaration
From
convenience init(fromRemoteNotificationDictionary notificationDictionary: [NSObject : AnyObject]!)
To
convenience init!(fromRemoteNotificationDictionary notificationDictionary: [NSObject : AnyObject]!)

Modified CKOperation.init()
Declaration
From
init()
To
init!()

Modified CKQuery.init(coder: NSCoder!)
Declaration
From
init(coder aDecoder: NSCoder!)
To
init!(coder aDecoder: NSCoder!)

Modified CKQuery.init(recordType: String!, predicate: NSPredicate!)
Declaration
From
init(recordType recordType: String!, predicate predicate: NSPredicate!)
To
init!(recordType recordType: String!, predicate predicate: NSPredicate!)

Modified CKQueryOperation.init()
Declaration
From
init()
To
init!()

Modified CKQueryOperation.init(cursor: CKQueryCursor!)
Declaration
From
convenience init(cursor cursor: CKQueryCursor!)
To
convenience init!(cursor cursor: CKQueryCursor!)

Modified CKQueryOperation.init(query: CKQuery!)
Declaration
From
convenience init(query query: CKQuery!)
To
convenience init!(query query: CKQuery!)

Modified CKRecord.init(recordType: String!)
Declaration
From
init(recordType recordType: String!)
To
init!(recordType recordType: String!)

Modified CKRecord.init(recordType: String!, recordID: CKRecordID!)
Declaration
From
init(recordType recordType: String!, recordID recordID: CKRecordID!)
To
init!(recordType recordType: String!, recordID recordID: CKRecordID!)

Modified CKRecord.init(recordType: String!, zoneID: CKRecordZoneID!)
Declaration
From
init(recordType recordType: String!, zoneID zoneID: CKRecordZoneID!)
To
init!(recordType recordType: String!, zoneID zoneID: CKRecordZoneID!)

Modified CKRecordID.init(recordName: String!)
Declaration
From
convenience init(recordName recordName: String!)
To
convenience init!(recordName recordName: String!)

Modified CKRecordID.init(recordName: String!, zoneID: CKRecordZoneID!)
Declaration
From
init(recordName recordName: String!, zoneID zoneID: CKRecordZoneID!)
To
init!(recordName recordName: String!, zoneID zoneID: CKRecordZoneID!)

Modified CKRecordZone.init(zoneID: CKRecordZoneID!)
Declaration
From
init(zoneID zoneID: CKRecordZoneID!)
To
init!(zoneID zoneID: CKRecordZoneID!)

Modified CKRecordZone.init(zoneName: String!)
Declaration
From
init(zoneName zoneName: String!)
To
init!(zoneName zoneName: String!)

Modified CKRecordZoneCapabilities [struct]
Declaration
From
struct CKRecordZoneCapabilities : RawOptionSetType {
    init(_ value: UInt)
    var value: UInt
    static var FetchChanges: CKRecordZoneCapabilities { get }
    static var Atomic: CKRecordZoneCapabilities { get }
}
To
struct CKRecordZoneCapabilities : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var FetchChanges: CKRecordZoneCapabilities { get }
    static var Atomic: CKRecordZoneCapabilities { get }
}

Modified CKRecordZoneCapabilities.init(_: UInt)
Declaration
From
init(_ value: UInt)
To
init(_ rawValue: UInt)

Modified CKRecordZoneID.init(zoneName: String!, ownerName: String!)
Declaration
From
init(zoneName zoneName: String!, ownerName ownerName: String!)
To
init!(zoneName zoneName: String!, ownerName ownerName: String!)

Modified CKReference.init(record: CKRecord!, action: CKReferenceAction)
Declaration
From
convenience init(record record: CKRecord!, action action: CKReferenceAction)
To
convenience init!(record record: CKRecord!, action action: CKReferenceAction)

Modified CKReference.init(recordID: CKRecordID!, action: CKReferenceAction)
Declaration
From
init(recordID recordID: CKRecordID!, action action: CKReferenceAction)
To
init!(recordID recordID: CKRecordID!, action action: CKReferenceAction)

Modified CKSubscription.init(coder: NSCoder!)
Declaration
From
init(coder aDecoder: NSCoder!)
To
init!(coder aDecoder: NSCoder!)

Modified CKSubscription.init(recordType: String!, predicate: NSPredicate!, options: CKSubscriptionOptions)
Declaration
From
convenience init(recordType recordType: String!, predicate predicate: NSPredicate!, options subscriptionOptions: CKSubscriptionOptions)
To
convenience init!(recordType recordType: String!, predicate predicate: NSPredicate!, options subscriptionOptions: CKSubscriptionOptions)

Modified CKSubscription.init(recordType: String!, predicate: NSPredicate!, subscriptionID: String!, options: CKSubscriptionOptions)
Declaration
From
init(recordType recordType: String!, predicate predicate: NSPredicate!, subscriptionID subscriptionID: String!, options subscriptionOptions: CKSubscriptionOptions)
To
init!(recordType recordType: String!, predicate predicate: NSPredicate!, subscriptionID subscriptionID: String!, options subscriptionOptions: CKSubscriptionOptions)

Modified CKSubscription.init(zoneID: CKRecordZoneID!, options: CKSubscriptionOptions)
Declaration
From
convenience init(zoneID zoneID: CKRecordZoneID!, options subscriptionOptions: CKSubscriptionOptions)
To
convenience init!(zoneID zoneID: CKRecordZoneID!, options subscriptionOptions: CKSubscriptionOptions)

Modified CKSubscription.init(zoneID: CKRecordZoneID!, subscriptionID: String!, options: CKSubscriptionOptions)
Declaration
From
init(zoneID zoneID: CKRecordZoneID!, subscriptionID subscriptionID: String!, options subscriptionOptions: CKSubscriptionOptions)
To
init!(zoneID zoneID: CKRecordZoneID!, subscriptionID subscriptionID: String!, options subscriptionOptions: CKSubscriptionOptions)

Modified CKSubscriptionOptions [struct]
Declaration
From
struct CKSubscriptionOptions : RawOptionSetType {
    init(_ value: UInt)
    var value: UInt
    static var FiresOnRecordCreation: CKSubscriptionOptions { get }
    static var FiresOnRecordUpdate: CKSubscriptionOptions { get }
    static var FiresOnRecordDeletion: CKSubscriptionOptions { get }
    static var FiresOnce: CKSubscriptionOptions { get }
}
To
struct CKSubscriptionOptions : RawOptionSetType {
    init(_ rawValue: UInt)
    init(rawValue rawValue: UInt)
    static var FiresOnRecordCreation: CKSubscriptionOptions { get }
    static var FiresOnRecordUpdate: CKSubscriptionOptions { get }
    static var FiresOnRecordDeletion: CKSubscriptionOptions { get }
    static var FiresOnce: CKSubscriptionOptions { get }
}

Modified CKSubscriptionOptions.init(_: UInt)
Declaration
From
init(_ value: UInt)
To
init(_ rawValue: UInt)