Dear list,

Has anyone come across a sample app which demonstrates how to make a shoebox 
core data app which works with iCloud? I've dug into the documentation but I 
can't find any sample code. The "What's new in Core Data on Mac OS X" session 
from WWDC 2011 hints at some things but doesn't show any sample code. I think 
I've managed to get the app to register with iCloud by fighting with the 
provisioning profile stuff, but I don't see the app appearing in the iCloud 
preferences list of app (maybe it isn't supposed to?) but when I click on 
"Manage" then I see an app which has appeared but it's called "Unknown" and it 
has a fraction of the amount of data I'd expect. Then I tried the app on 
another machine and I get some notifications of type 
NSPersistentStoreDidImportUbiquitousContentChangesNotification together with 
lots of console messages starting with "_PFUbiquityRecordImportOperation 
processObjects:withState:withGlobalIDIndexesToLocalURIMap:andImportContext:outError"
 which seem to indicate some action has taken place. Now I'm stuck with what to 
do with these notifications. The WWDC sessions says one should use methods of 
the NSFilePresenter protocol, but I'm unsure how to go about this. Some sample 
code for the app shown in the WWDC session sure would help.

Best wishes,

Martin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer 
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: martin.hewit...@aei.mpg.de
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to