macos:Address-book
出自UXGuide.net
请帮助我们修订和更新本文的中文部分
本文的中文部分虽然取自官方最新中文版本,但与英文原版相比已落后了一年多,可能无法反映英文版本中最近的修改,且文中笔误、前后译法矛盾、未翻译完全的片断较多,请您帮助一起修订完善。详情参见中文版修订完善计划。
地址簿
Address Book
If your application stores or uses contact information, use the Address Book framework to manage that information. Contact information consists of information such as names, phone numbers, fax numbers, and email addresses of the people known to the current user. Using the Address Book framework, you can access contact information from the user’s database or display it in a customizable window.
如果您的程序需要存储或者使用联系人信息,则可以使用地址簿框架来管理这些信息。联系人信息由姓名,电话号码,传真号码以及电子邮件地址等组成。使用地址簿框架,您可以访问或者显示用户的数据库中的联系人信息。
Although the Address Book interfaces that allow you to customize the display window use the terms "people picker" and "picker," these are not acceptable names to use in your application's user interface. Instead, you should give the display window a name that describes its contents as they relate to your application, such as "Addresses" or "Contacts."
尽管地址簿接口允许您使用"人名选择器“,”选择器“等术语来定制联系人信息的显示,然而,这些名字在您的程序的用户接口中是不受欢迎的,您应该使用那些能够描述其内容的词条,如”地址“或者“联系人”。
The appearance of a people-picker window is customizable to allow you to display only the data relevant to your application. For example, Mail customizes this window to show the email addresses of the contacts, as shown in Figure 6-1.
您可以定制人名选择器的窗口的外观从而仅显示和您的程序有关的数据。例如,邮件程序定制了这个窗口来显示联系人的电子邮件地址,如图6-1所示。
Figure 6-1 A people-picker window as used in Mail
图 6-1 Mail程序中使用的人名选择器窗口
You customize the appearance of a people-picker window using the interfaces of the Address Book framework. See Address Book Programming Guide for Mac OS X for more information on using this framework.
您可以使用地址簿框架的接口来定制人名选择器窗口的外观。更多信息请参考Mac OS X地址簿编程指南。