• 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
Mapping SyncServices properties to CoreData properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Image in NSOutlineView
  • Next by Date: Finder Eject Button in OutlineView
  • Previous by thread: Re: I know this is a Studio question .. but I really need some help
  • Next by thread: Finder Eject Button in OutlineView
  • Index(es):
    • Date
    • Thread