[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Address Book Integration



On Sunday, December 31, 2000, at 09:57 PM, Kai wrote:

> I have been working on a calendar/To Do program, and one feature I want to add is the 
> ability to pull birthdays from the global Address Book in OS X.  I know the email program 
> interfaces with it somehow, but I cannot find any specs or docs on how this is done.  In 
> Public Beta there exists an AddressServices.framework, but When I add it to my project, 
> it has no header, and an inspection of the framework only turns up an empty plist.  Is this 
> something not yet implemented?  I do remember reading in the OS X Specs that the Address 
> book is supposed to be a fairly central part of the OS X user experience.  A central 
> repository of contact information, unlike current schemes in 9 where each program 
> basically has it's own address book.   
>  
> Any information would be helpful, even if it is on the order of wait till OS X final... 

nm -g /System/Library/PrivateFrameworks/AddressServices.framework/Versions/A/AddressServices | grep _AFAddressBook_
shows some interesting symbols:

_AFAddressBook_GetVCardAtFilteredIndex
_AFAddressBook_GetVCardAtIndex
_AFAddressBook_GetVCardReferenceAtIndex

some headers would be nice, of course.

andy


-- 
Description forthcoming.