Re: Address Book Helper code released to public domain
Re: Address Book Helper code released to public domain
- Subject: Re: Address Book Helper code released to public domain
- From: Joseph Jones <email@hidden>
- Date: Mon, 13 Oct 2003 07:53:05 -0700
On Saturday, October 11, 2003, at 04:29 PM, Helge Hess wrote:
On 30.09.2003, at 17:01, Joseph Jones wrote:
This is great, but if i have 2 work or hone email addresses which
one does it get???
The first one it finds in the Multi Valued property dictionary for
kABPhoneProperty. The code right now assumes one value per label.
Hm, but doesn't make that the extension unusable? Since the AB store
allows for multiple values and doesn't assign a priority, it seems
pretty useless because the user cannot know what is going to get
selected?
kABPhoneProperty is an MV property that is keyed for specific phone
types. The problem you are outlining would only arise if there are
multiple Home, Work, etc. phones for a user. So far, none of my
customers have had an issue with this and I feel safe that this is an
OK assumption for this helper framework to make. If there is ever a
problem I would definitely have to revisit this assumption.
If it does not work for you right now then you have two options:
1) Modify the code to make it work for you and feed the modifications
back to me to include for everyone.
2) Do not use the framework and code against the AB API directly.
BTW: Something like this:
NSLog ( [person streetFromAddress:primAddr] );
... is a bug. If the street contains a percent sign, it will break
badly, you need to use NSLog(@"%@", [person ...).
Thanx for the catch. You are correct. I'm not use who would have such a
thing, but that is a problem.
Greets,
Helge
--
OpenGroupware.org
http://www.opengroupware.org/
Thank you,
Joseph Jones
JTech Softworks, Inc. -
http://www.jtechsoftworks.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.