Mac Developer Library

Developer

AddressBook Framework Reference AddressBook Functions Reference

Options
Deployment Target:

On This Page
Language:

AddressBook Functions Reference

This chapter describes the functions and function-like macros found in AddressBook.

Functions

  • Returns the localized version of a built in property, label, or key.

    Declaration

    Swift

    func ABLocalizedPropertyOrLabel(_ propertyOrLabel: String!) -> String!

    Objective-C

    NSString * ABLocalizedPropertyOrLabel ( NSString *propertyOrLabel );

    Discussion

    The propertyOrLabel argument is the property, label, or key you wish to localize. Returns propertyOrLabel if a localized string can not be found

    Import Statement

    import AddressBook

    Availability

    Available in OS X v10.2 and later.