Syncing Core Data with iCloud?

Discussion in 'iOS Programming' started by ArtOfWarfare, Jun 28, 2013.

  1. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    Does anyone know what it takes to get Core Data to sync over iCloud?

    I noticed that in my Core Data model file, the attribute on the entity that's part of the starting template has a User Info Key-Value pair of "com.apple.syncservices.Synable" : NO

    Is that related to syncing core data with iCloud? Should I set that to YES, and add the same key to all my other attributes on all my entities, if I want Core Data to be synced over iCloud?
     
  2. ahan.tm macrumors regular

    Joined:
    Jun 26, 2011
    Location:
    Florida
    #2
    Let's not even go there. . .:)

    For jokes - take a look at 6:30 in Platforms State Of The Union during WWDC 2013.

    I would recommend watching the Core Data + iCloud Session(WWDC 2013), which should help. You might also want to be testing on iOS 7 for all the new APIs. Lastly, take a look at the Developer Forums. A lot of information is getting posted over there.

    Good Luck!
     
  3. dantastic macrumors 6502a

    dantastic

    Joined:
    Jan 21, 2011
    #3
    Haven't revisited with iOS7 but I spent about 2 weeks trying to get a stable implementation going for iOS6. I had to give up.

    Implementing the happy path isn't too bad but then after 2 weeks of writing defensive code and the thing still wasn't performing I gave up.

    You can do it without too much hassle if you have very little data, like a few settings or so. Having an actual database synced with the cloud is a bit of a pipe dream at the moment..
     
  4. EmpyreanUK macrumors regular

    Joined:
    Mar 6, 2011
    #4
    Has there been any word on whether this will be remedied in iOS7 and Mavericks? Or does the developer NDA prohibit people from remarking on this in a public forum?
     
  5. Tander macrumors 6502a

    Tander

    Joined:
    Oct 21, 2011
    Location:
    Johannesburg, South Africa
    #5
    NDA would project that information until public release.
     

Share This Page