Enumeration

objc_AssociationPolicy

Type to specify the behavior of an association.

Declaration

typedef enum objc_AssociationPolicy : uintptr_t {
    ...
} objc_AssociationPolicy;

Topics

Enumeration Cases

OBJC_ASSOCIATION_ASSIGN

Specifies a weak reference to the associated object.

OBJC_ASSOCIATION_COPY

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

OBJC_ASSOCIATION_COPY_NONATOMIC

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

OBJC_ASSOCIATION_RETAIN

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

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