---
title: CNPostalAddress
framework: contacts
role: symbol
role_heading: Class
path: contacts/cnpostaladdress
---

# CNPostalAddress

An immutable representation of the postal address for a contact.

## Declaration

```swift
class CNPostalAddress
```

## Overview

Overview CNPostalAddress is a thread-safe class.

## Topics

### Getting the Parts of a Postal Address

- [street](contacts/cnpostaladdress/street.md)
- [city](contacts/cnpostaladdress/city.md)
- [state](contacts/cnpostaladdress/state.md)
- [postalCode](contacts/cnpostaladdress/postalcode.md)
- [country](contacts/cnpostaladdress/country.md)
- [isoCountryCode](contacts/cnpostaladdress/isocountrycode.md)
- [subAdministrativeArea](contacts/cnpostaladdress/subadministrativearea.md)
- [subLocality](contacts/cnpostaladdress/sublocality.md)

### Getting Localized Postal Values

- [localizedString(forKey:)](contacts/cnpostaladdress/localizedstring(forkey:).md)
- [CNPostalAddressStreetKey](contacts/cnpostaladdressstreetkey.md)
- [CNPostalAddressCityKey](contacts/cnpostaladdresscitykey.md)
- [CNPostalAddressStateKey](contacts/cnpostaladdressstatekey.md)
- [CNPostalAddressPostalCodeKey](contacts/cnpostaladdresspostalcodekey.md)
- [CNPostalAddressCountryKey](contacts/cnpostaladdresscountrykey.md)
- [CNPostalAddressISOCountryCodeKey](contacts/cnpostaladdressisocountrycodekey.md)

### Initializers

- [init(coder:)](contacts/cnpostaladdress/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [CNMutablePostalAddress](contacts/cnmutablepostaladdress.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSMutableCopying](foundation/nsmutablecopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Addresses

- [CNMutablePostalAddress](contacts/cnmutablepostaladdress.md)
- [CNInstantMessageAddress](contacts/cninstantmessageaddress.md)
