• 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: Custom Properties in Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Properties in Address Book


  • Subject: Re: Custom Properties in Address Book
  • From: Antonio Ferraioli <email@hidden>
  • Date: Tue, 2 Mar 2004 18:45:10 +0100

Thank you i tried what you suggested and it worked perfectly !!

antonio

On Mar 2, 2004, at 2:29 PM, Sherm Pendley wrote:

On Mar 2, 2004, at 7:30 AM, Antonio Ferraioli wrote:

[new setObject:@"kABStringProperty"
forKey:@"MobileDeviceDescription"];

Hmmm... I haven't tried this myself, but it looks like ABPropertyType is an enum of integer values - have you tried assigning the numeric value of kABStringProperty instead of the string name? Like this:

[new setObject:[NSNumber numberWithInt:kABStringProperty]
forKey:@"MobileDeviceDescription"];

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Custom Properties in Address Book (From: Antonio Ferraioli <email@hidden>)
 >Re: Custom Properties in Address Book (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Resource fork question
  • Next by Date: Getting accurate bounds for glyph range
  • Previous by thread: Re: Custom Properties in Address Book
  • Next by thread: Closing many windows with toolbars very slow
  • Index(es):
    • Date
    • Thread