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.