Re: Using AddressBook
Re: Using AddressBook
- Subject: Re: Using AddressBook
- From: "Mark's Studio" <email@hidden>
- Date: Fri, 30 Aug 2002 22:26:58 +0200
Thanks
On fredag, aug 30, 2002, at 22:04 Europe/Copenhagen, Henri Lamiraux
wrote:
>
>
On Friday, August 30, 2002, at 12:01 PM, Mark's Studio wrote:
>
>
> 1. is there a public interface for the addressbook ?
>
>
>
Look at the APIs of the public AddressBook.framework (But it looks
>
like you already know it because question #4 mention one of the
>
Address Book public class????)
Sorry i meant a User interface.
>
>
> 2. is there a way to access "recent email addresses"?
>
>
>
No
>
>
> 3. how do i tell if a record is a person or a company?
>
>
>
We don't expose (yet) this info in the API. You can always check if
>
the ABPerson has a first name/last name
>
>
> 4.how do i setup a ABSearchElement to only return members of group?
>
>
>
Not sure what you are asking.
>
>
Do you want to know the members of a group? call -[ABGroup members]
>
and/or -[ABGroup subgroups], no need for a ABSearchElement.
>
>
Do you want to get a list of groups? call -[AddressBook groups]
Im doing a search for firstName, lastname, company, and that works,
but i only want members of a selected group. (Im making an Address
panel like mail)
PS. Why not make a AddressBook selection panel, just like the
NSFontPanel and NSColorPanel.
>
>
Henri Lamiraux
>
Engineering Manager
>
User Interface Tools Group
>
Apple
Peter Mark
Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.