• 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: Sherm Pendley <email@hidden>
  • Date: Tue, 2 Mar 2004 08:29:02 -0500

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.


  • Follow-Ups:
    • Re: Custom Properties in Address Book
      • From: Antonio Ferraioli <email@hidden>
References: 
 >Custom Properties in Address Book (From: Antonio Ferraioli <email@hidden>)

  • Prev by Date: Re: Closing many windows with toolbars very slow
  • Next by Date: Drag & Drop
  • Previous by thread: Custom Properties in Address Book
  • Next by thread: Re: Custom Properties in Address Book
  • Index(es):
    • Date
    • Thread