Is there OBJC_ASSOCIATION_RETAIN_NONATOMIC Associative behavior of objects in the Objective-C Runtime Reference , call release on the old value referenced by the linked object before it assigns and stores the new value?
OBJC_ASSOCIATION_RETAIN_NONATOMIC
release
Yes. If you use the save or copy behavior when matching a value, then that value will be released when either the new value is associated (regardless of the behavior associated with the new value) or the object itself is freed.