Chapter 18. Contacts, Calendars, and Secrets

Mac OS X 10.2 introduced two new features for managing user information. The first is the system-wide address book. The original front end to this was the Address Book application, which allows the user to create and modify vCards. When Apple introduced Dashboard in 10.4, it also provided a simplified version of this application as an example widget. Since the interfaces are published and concurrency-safe, any application can use them to access information about the user’s contacts.

The other addition is related but very different. While the Address Book is a shared, open, store of public information, the Keychain is a store of private information with strict access control. You can use the two in ...

Get Cocoa® Programming Developer’s Handbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.