Re: Record indentifier and the truth
Re: Record indentifier and the truth
- Subject: Re: Record indentifier and the truth
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 12 Dec 2010 18:04:29 -0700
On Dec 12, 2010, at 3:03 AM, Ferruccio Vitale wrote:
> Hi,
>
> when I register a sync client and ask to pull the truth, I get all the
> records of requested entity, each of them identified by an ID
> ([ISyncChange recordIdentifier]): actually this ID changes each time I
> pull the truth and differs from the record id owned by the sync
> server.
> I wonder if it's possible to:
> 1) access to the immutable ID which identifies a record?
Record identifiers are the immutable IDs. They're set on a per-client basis so you can use your local record's unique IDs as change IDs, which makes pushing update & delete changes much easier.
> 2) access to the ID assigned to other sync clients? (for example: the
> same record synced with the AddressBook would have another ID)
Not without diving into private API-land. And doing so with the SyncServices framework can cause data loss if used improperly, so I really can't recommend that.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden