Enumeration

objc_AssociationPolicy

Type to specify the behavior of an association.

Declaration

enum objc_AssociationPolicy : UInt

Topics

Enumeration Cases

case OBJC_ASSOCIATION_ASSIGN

Specifies a weak reference to the associated object.

case OBJC_ASSOCIATION_COPY

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

case OBJC_ASSOCIATION_COPY_NONATOMIC

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

case OBJC_ASSOCIATION_RETAIN

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

case OBJC_ASSOCIATION_RETAIN_NONATOMIC

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

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