Xcode Project demonstrating how to use Core Data with iCloud.
Make sure to change your Team ID (in AppDelegate.m under grabCloudURL) and the Bundle ID (in Xcode) for your own project.
I'm explaining what we're doing here in this post: http://pinkstone.co.uk/how-to-use-icloud-with-core-data/