• 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: Adding properties to the Address Book database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding properties to the Address Book database


  • Subject: Re: Adding properties to the Address Book database
  • From: Henri Lamiraux <email@hidden>
  • Date: Thu, 19 Sep 2002 06:47:20 -0700

addPropertiesAndTypes returns the number of successfully added properties. If a property already exists (same name case insensitive) we don't add it. We don't allow duplicates.

On Thursday, September 19, 2002, at 05:09 AM, Matt Gemmell wrote:

Hi all,

When adding a property to all people in the Address Book database (using ABPerson's + (int)addPropertiesAndTypes: method), if that property already exists, what happens? I presume that you don't get a duplicate, and I'm hoping that the code will just have no effect (perhaps returning 0), but I'd appreciate confirmation.

Best,
-Matt

--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
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.

Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple
_______________________________________________
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: 
 >Adding properties to the Address Book database (From: Matt Gemmell <email@hidden>)

  • Prev by Date: Re: UI: "Direct manipulation" is in conflict with "Forgiveness"
  • Next by Date: Re: custom window controllers
  • Previous by thread: Adding properties to the Address Book database
  • Next by thread: stringByTrimmingCharactersInSet
  • Index(es):
    • Date
    • Thread