Mapping SyncServices properties to CoreData properties
Mapping SyncServices properties to CoreData properties
- Subject: Mapping SyncServices properties to CoreData properties
- From: Clinton Shaw <email@hidden>
- Date: Mon, 01 Sep 2008 17:41:45 +1000
I have a CoreData application that I would like to use with Sync
Services to sync with Address Book (using the
com.apple.contacts.Contact schema).
I have got everything working when using properties from
com.apple.contacts.Contact that have no spaces in the name (such as
'nickname'). The problem arises when using properties that contain
spaces, such as 'first name'.
When syncing sync services tries to set the managed object using the
key 'first name' . Being that attributes in my CoreData model can't
have spaces I have called my attribute 'firstName'.
My question is, how do I map the 'first name' attribute used in
com.apple.contacts.Contact to the CoreData attribute called
'firstName' in my model?
Regards
Clinton Shaw
_______________________________________________
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