sync service question
sync service question
- Subject: sync service question
- From: Olivier Destrebecq <email@hidden>
- Date: Fri, 8 Jul 2005 11:35:36 -0400
I'm trying to create an application to sync the address book with
some device.
I'm stuck at the point where i need to convert the data from the
device format to something form the sync server can understand. I put
all the attributes in a dictionary following the examples online, but
then i need to put in the relationships in and i get stuck. Anyone
has pointers on how to do this. Apparently i need to put in the
record identifier for the item in the relationship. But how do i get
those since i can't keep track of these on the device.
more specifically i have problem with the relationships: addresses,
emails, phone numbers from the contact entity.
Since the device cannot keep track of the changes, i have to do a
slow sync every time, and i cannot keep track of the record ids on
the device
I did not find any straight forward example on apple web site.
any help appreciated.
Olivier Destrebecq
http://www-personal.si.umich.edu/~olivier/portfolio/
from http://developer.apple.com/documentation/Cocoa/Conceptual/
SyncServices/index.html
MediaAssets[789] pushing sync record={
"com.mycompany.syncservices.RecordEntityName" =
"com.mycompany.syncexamples.Media";
date = 2004-05-22 00:00:00 -0700;
event = ("3571D5D0-C0A5-11D8-A57D-000A95BF2062");
imageURL = "file: // 2004
title = "IMG_1106.JPG";
}
but where do i get the event field from....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden