Version: 1.1

Posted: 2008-09-10

Build Requirements: Mac OS X 10.4.7 or later, Xcode 2.3 or later

Runtime Requirements: Mac OS X 10.4.7 or later

View Source Code:

Download Sample (“Birthdays.zip”, 114.3K)
Download Sample (“Birthdays.dmg”, 110.6K)



Description

This Dashboard widget uses a widget plug-in to find Address Book contacts with birthdays that occur in the current day, week, or month. The plug-in queries the public Address Book framework and returns matching names, birthdays, and Address Book identifiers. The latter allows construction of a URL which opens that person's entry in the Address Book application.

The sample includes the completed widget, an Xcode project for the plug-in, and a vCard containing test contacts with birthday data. Please see the Read Me for instructions on adding birthday data to your Address Book contacts, and installing a modified plug-in into the widget.

Document Revision History

Date Notes
2008-09-10Provided a value for the NSPrincipalClass key. Replaced occurrence of NSCalendarDate objects with NSCalendar + NSDate objects.
2006-07-28Dashboard widget with a plug-in that queries AddressBook.framework for contacts with upcoming birthdays.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.