• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Record indentifier and the truth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Record indentifier and the truth
      • From: Ferruccio Vitale <email@hidden>
References: 
 >Record indentifier and the truth (From: Ferruccio Vitale <email@hidden>)

  • Prev by Date: Re: strategies for working w/ large amounts of text
  • Next by Date: Re: strategies for working w/ large amounts of text
  • Previous by thread: Record indentifier and the truth
  • Next by thread: Re: Record indentifier and the truth
  • Index(es):
    • Date
    • Thread