Re: Using AddressBook
Re: Using AddressBook
- Subject: Re: Using AddressBook
- From: Henri Lamiraux <email@hidden>
- Date: Fri, 30 Aug 2002 13:04:00 -0700
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????)
>
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]
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.