ShapeEdit sample code for iCloud

Has any of you gotten the ShapeEdit sample code using iCloud running with the latest Swift, Xcode and iOS? I’m running into errors.