Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CNPostalAddressFormatterMBS.attributedStringFromPostalAddress(postalAddress as CNPostalAddressMBS, DefaultAttributes as Dictionary = nil) as NSAttributedStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: Returns a formatted postal address as an attributed string.
Notes:
postalAddress: The postal address to format.
DefaultAttributes: The default attributes to use. To learn more, see NSFormatter.

Returns the formatted postal address as an attributed string.

This method behaves similarly to stringFromPostalAddress, except that it returns an attributed string. It includes the attribute key CNPostalAddressPropertyAttribute, whose attribute values are postal address property keys, such as CNPostalAddressStreetKey. This identifies the postal address components in the formatted postal address. Also includes the attribute key CNPostalAddressLocalizedPropertyNameAttribute whose attribute values are the localized strings for the postal address property keys.

See also:

Feedback, Comments & Corrections

CNPostalAddressFormatterMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: The constructor.

Feedback, Comments & Corrections

CNPostalAddressFormatterMBS.stringFromPostalAddress(postalAddress as CNPostalAddressMBS) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: Returns a formatted postal address.

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Mac64bit Plugin.




Links
MBS Xojo Chart Plugins