Re: Adding Properties to the Address Book
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.