Jason
Jason

Reputation: 14605

Core data + iCloud: exclude certain attributes from sync?

I am trying to implement core data sync using iCloud. However, there is one attribute that I don't want to sync. Is there a proper way to tell iCloud to sync most managed objects and attributes, but not others?

Upvotes: 2

Views: 690

Answers (2)

Mundi
Mundi

Reputation: 80271

One workaround would be to add the things you do not wish to sync to an entity that includes a unique device identifier.

In this way, they still get synced, but you can use just the data pertinent to the specific device and ignore the data from other devices.

Upvotes: 0

Jonathan Cichon
Jonathan Cichon

Reputation: 4406

Right now, Core Data + iCloud does not support this kind of configuration. You may have to split your Data into two Persistent Stores (lokal, cloud).

Upvotes: 2

Related Questions