Instance Property

postalCode

The postal code associated with the placemark.

Declaration

var postalCode: String? { get }

Discussion

If the placemark location is Apple’s headquarters, for example, the value for this property would be the string “95014”.

See Also

Accessing the Placemark Attributes

var name: String?

The name of the placemark.

var isoCountryCode: String?

The abbreviated country name.

var country: String?

The name of the country associated with the placemark.

var administrativeArea: String?

The state or province associated with the placemark.

var subAdministrativeArea: String?

Additional administrative area information for the placemark.

var locality: String?

The city associated with the placemark.

var subLocality: String?

Additional city-level information for the placemark.

var thoroughfare: String?

The street address associated with the placemark.

var subThoroughfare: String?

Additional street-level information for the placemark.

var region: CLRegion?

The geographic region associated with the placemark.

var timeZone: TimeZone?

The time zone associated with the placemark.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software