Class

CNPostalAddressFormatter

A class that formats the postal address in a contact.

Overview

The CNPostalAddressFormatter class handles international formatting of postal addresses. It is recommended that you create an instance of this class when formatting many postal addresses, and use the instance methods; otherwise use the class methods.

Topics

Formatting Postal Address

func string(from: CNPostalAddress)

Returns a formatted postal address.

Constants

CNPostalAddressPropertyAttribute

This constant is a key in the attributed string whose value is a CNPostalAddress property key.

CNPostalAddressLocalizedPropertyNameAttribute

This constant is a key in the attributed string whose value is a localized version of the CNPostalAddress property key.

Relationships

Inherits From

Conforms To