<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/objc_AssociationPolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Objective-C Runtime"
    ],
    "preciseIdentifier" : "c:@E@objc_AssociationPolicy"
  },
  "title" : "objc_AssociationPolicy"
}
-->

# objc_AssociationPolicy

Type to specify the behavior of an association.

```
enum objc_AssociationPolicy
```

## Topics

### Enumeration Cases

[`objc_AssociationPolicy.OBJC_ASSOCIATION_ASSIGN`](/documentation/ObjectiveC/objc_AssociationPolicy/OBJC_ASSOCIATION_ASSIGN)

Specifies an unsafe unretained reference to the associated object.

[`objc_AssociationPolicy.OBJC_ASSOCIATION_COPY`](/documentation/ObjectiveC/objc_AssociationPolicy/OBJC_ASSOCIATION_COPY)

Specifies that the associated object is copied, and that the association is made atomically.

[`objc_AssociationPolicy.OBJC_ASSOCIATION_COPY_NONATOMIC`](/documentation/ObjectiveC/objc_AssociationPolicy/OBJC_ASSOCIATION_COPY_NONATOMIC)

Specifies that the associated object is copied, and that the association is not made atomically.

[`objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN`](/documentation/ObjectiveC/objc_AssociationPolicy/OBJC_ASSOCIATION_RETAIN)

Specifies a strong reference to the associated object, and that the association is made atomically.

[`objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC`](/documentation/ObjectiveC/objc_AssociationPolicy/OBJC_ASSOCIATION_RETAIN_NONATOMIC)

Specifies a strong reference to the associated object, and that the association is not made atomically.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)