Last active
April 23, 2017 12:03
-
-
Save cristibaluta/67df69c4c32b4fae65ad4a547d195e80 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CloudKitRepository { | |
internal let privateDB = CKContainer.default().privateCloudDatabase | |
internal let customZone = CKRecordZone(zoneName: "TasksZone") | |
init() { | |
privateDB.save(customZone) { (recordZone, err) in | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment