Bill
Bill

Reputation: 45418

How can I use iCloud Sync if I'm not using Core Data?

I've seen a few examples showing how to integrate iCloud with Core Data, but my app uses a handwritten SQLite persistence layer.

Am I just out of luck, or are there straightforward ways to do syncing and conflict resolution over iCloud with a non-Core Data database?

Upvotes: 2

Views: 742

Answers (2)

Radu
Radu

Reputation: 3494

you should check out this stack overflow answer link it iCloud synk but for OSX application basically the same thing. just use .plist files. hope it helps. It helped me on my mac app OSX app iClound synk

iCloud tutorial part 1

iCloud tutorial part 2

Upvotes: 0

Tim
Tim

Reputation: 60110

"Straightforward" might not be the first word that comes to mind, but you can definitely use iCloud storage in non-Core Data apps. You'll need to manage your storage engine, conflict resolutions, and data presentation yourself, however; you don't get the "easy" merging and resolution that Core Data gets you.

Read up on the iCloud Storage guide for detailed info. There's a good checklist a little way down that guides you through setting up document-based storage in your app.

Upvotes: 1

Related Questions