One Logo Pool Ball
Contacts · IOS API REFERENCE

CNPostalAddressFormatter

class · iOS 9.0+ · SDK 27.1

class CNPostalAddressFormatter

Members (7)

static · iOS 9.0+

attributedString

TypeScript
static attributedStringFromStyleWithDefaultAttributes(postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle, attributes?: NativeMap<unknown, unknown>): _Foundation_NSAttributedString
Swift declaration
class func attributedString(from postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString
static · iOS 9.0+

string

TypeScript
static stringFromStyle(postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle): string
Swift declaration
class func string(from postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle) -> String
method · iOS 9.0+

attributedString

TypeScript
attributedStringFromWithDefaultAttributes(postalAddress: CNPostalAddress, attributes?: NativeMap<unknown, unknown>): _Foundation_NSAttributedString
Swift declaration
func attributedString(from postalAddress: CNPostalAddress, withDefaultAttributes attributes: [AnyHashable : Any] = [:]) -> NSAttributedString
init

init

TypeScript
static init(): CNPostalAddressFormatter
Swift declaration
init()
method · iOS 9.0+

string

TypeScript
stringFrom(postalAddress: CNPostalAddress): string
Swift declaration
func string(from postalAddress: CNPostalAddress) -> String
get · iOS 9.0+

style

TypeScript
get style(): CNPostalAddressFormatterStyle
Swift declaration
var style: CNPostalAddressFormatterStyle { get set }
set · iOS 9.0+

style

TypeScript
set style(value: CNPostalAddressFormatterStyle)
Swift declaration
var style: CNPostalAddressFormatterStyle { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All Contacts types →