Class

CNPostalAddress

An immutable representation of the postal address for a contact.

Declaration

@interface CNPostalAddress : NSObject

Overview

CNPostalAddress is a thread-safe class.

Topics

Getting the Parts of a Postal Address

street

The street name in a postal address.

city

The city name in a postal address.

state

The state name in a postal address.

postalCode

The postal code in a postal address.

country

The country name in a postal address.

ISOCountryCode

The ISO country code for the country in a postal address, using the ISO 3166-1 alpha-2 standard.

subAdministrativeArea

The subadministrative area (such as a county or other region) in a postal address.

subLocality

Additional information associated with the location, typically defined at the city or town level, in a postal address.

Getting Localized Postal Values

+ localizedStringForKey:

Returns the localized name for the property associated with the specified key.

CNPostalAddressStreetKey

The street name of the address.

CNPostalAddressCityKey

The city of the address.

CNPostalAddressStateKey

The state name of the address.

CNPostalAddressPostalCodeKey

The postal code of the address.

CNPostalAddressCountryKey

The country name of the address.

CNPostalAddressISOCountryCodeKey

The ISO country code of the address.

Relationships

Inherits From

See Also

Addresses

CNMutablePostalAddress

A mutable representation of the postal address for a contact.

CNInstantMessageAddress

An immutable object representing an instant message address for the contact.