• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding Properties to the Address Book


  • Subject: Re: Adding Properties to the Address Book
  • From: Diggory Laycock <email@hidden>
  • Date: Thu, 19 Sep 2002 13:42:06 +0100

from http://www.cocoadev.com/index.pl?ABPerson (and ABPerson.h)


+ (int)addPropertiesAndTypes:(NSDictionary *)properties;

 Adds properties to all people records. The dictionary must be of the
form:
 key: propety name
 value: property type
 Property name must be unique
 Returns the number of properties successfuly added


so - I'd say if a prop. already exists it won't succeed.

Digs.


On Thursday, September 19, 2002, at 01:09 pm, 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.
>
>
Diggory Laycock
-----------------------
http://www.diggory.net
_______________________________________________
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.

  • Prev by Date: [newbie] translating mouse location in an NSImageView
  • Next by Date: Re: UI: "Direct manipulation" is in conflict with "Forgiveness"
  • Previous by thread: Re: [newbie] translating mouse location in an NSImageView
  • Next by thread: [java]Dynamically changing submenus
  • Index(es):
    • Date
    • Thread