iOS进阶笔记(二)2.4 关联对象(Associate)
作者:互联网
API:
void objc_setAssociatedObject(id _Nonnull object, const void * _Nonnull key,
id _Nullable value, objc_AssociationPolicy policy)
id _Nullable objc_getAssociatedObject(id _Nonnull object, const void * _Nonnull key)
void objc_removeAssociatedObjects(id _Nonnull object)
标签:const,进阶,Associate,void,object,iOS,objc,id,Nonnull 来源: https://www.cnblogs.com/itmarsung/p/15036365.html