Platforms to show: All Mac Windows Linux Cross-Platform
CNPostalAddressFormatterMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
This 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.
- 2 properties
- 3 methods
- method attributedStringFromPostalAddress(postalAddress as CNPostalAddressMBS, DefaultAttributes as Dictionary = nil) as NSAttributedStringMBS
- method Constructor
- method stringFromPostalAddress(postalAddress as CNPostalAddressMBS) as String
- 5 shared methods
- shared method attributedStringFromPostalAddress(postalAddress as CNPostalAddressMBS, style as Integer, DefaultAttributes as Dictionary = nil) as NSAttributedStringMBS
- shared method available as Boolean
- shared method CNPostalAddressLocalizedPropertyNameAttribute as String
- shared method CNPostalAddressPropertyAttribute as String
- shared method stringFromPostalAddress(postalAddress as CNPostalAddressMBS, style as Integer) as String
Constants
Constant | Value | Description |
---|---|---|
CNPostalAddressFormatterStyleMailingAddress | 0 | One of the style constants. |
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
CNPhoneNumberMBS - CNPostalAddressMBS