Contacts · IOS API REFERENCE
CNPostalAddressFormatter
class · iOS 9.0+ · SDK 27.1
class CNPostalAddressFormatter
Members (7)
static · iOS 9.0+attributedString
TypeScriptstatic attributedStringFromStyleWithDefaultAttributes(postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle, attributes?: NativeMap<unknown, unknown>): _Foundation_NSAttributedString
Swift declarationclass func attributedString(from postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString
static · iOS 9.0+string
TypeScriptstatic stringFromStyle(postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle): string
Swift declarationclass func string(from postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle) -> String
method · iOS 9.0+attributedString
TypeScriptattributedStringFromWithDefaultAttributes(postalAddress: CNPostalAddress, attributes?: NativeMap<unknown, unknown>): _Foundation_NSAttributedString
Swift declarationfunc attributedString(from postalAddress: CNPostalAddress, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString
initinit
TypeScriptstatic init(): CNPostalAddressFormatter
Swift declarationinit()
method · iOS 9.0+string
TypeScriptstringFrom(postalAddress: CNPostalAddress): string
Swift declarationfunc string(from postalAddress: CNPostalAddress) -> String
get · iOS 9.0+style
TypeScriptget style(): CNPostalAddressFormatterStyle
Swift declarationvar style: CNPostalAddressFormatterStyle { get set }
set · iOS 9.0+style
TypeScriptset style(value: CNPostalAddressFormatterStyle)
Swift declarationvar style: CNPostalAddressFormatterStyle { get set }
Skipped declarations
No declarations were skipped in this snapshot.
All Contacts types →