This is an example of a UIDocument-based iCloud app from a tutorial soon to be published on raywenderlich.com.
rwenderlich/PhotoKeeper
This is a full example of a Document-based iCloud app that works for both local and iCloud files, from a tutorial soon to be published on raywenderlich.com.
Objective-C