Keys for Address Components

The following constants identify the possible keys returned in the addressComponents dictionary.

Topics

Constants

static let name: NSTextCheckingKey

A key that corresponds to the name component of the address.

static let jobTitle: NSTextCheckingKey

A key that corresponds to the job component of the address.

static let organization: NSTextCheckingKey

A key that corresponds to the organization component of the address.

static let street: NSTextCheckingKey

A key that corresponds to the street address component of the address.

static let city: NSTextCheckingKey

A key that corresponds to the city component of the address.

static let state: NSTextCheckingKey

A key that corresponds to the state or province component of the address.

static let zip: NSTextCheckingKey

A key that corresponds to the zip code or postal code component of the address.

static let country: NSTextCheckingKey

A key that corresponds to the country component of the address.

static let phone: NSTextCheckingKey

A key that corresponds to the phone number component of the address.