CNPostalAddressFormatter
An object that you use to format a contact’s postal addresses.
Declaration
class CNPostalAddressFormatterOverview
A CNPostalAddressFormatter object 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
Generating a formatted attributed string
attributedString(from:withDefaultAttributes:)attributedString(from:style:withDefaultAttributes:)CNPostalAddressPropertyAttributeCNPostalAddressLocalizedPropertyNameAttribute