Even though the code was exactly copied from the slides, XCode spilled out this error: " Cannot assign value of type '(CKServerChangeToken?, Bool, NSError?) -> Void' to type '((CKServerChangeToken?, Bool, Error?) -> Void)?' ". I am using XCode 8.0 Beta 4 and the target is iOS 10, in case this should be a compiler error.