static const int extended_data_key;
(NSData *)objc_getAssociatedObject(object, &extended_data_key)
objc_setAssociatedObject(object, &extended_data_key, extendedData, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
static const int extended_data_key;
(NSData *)objc_getAssociatedObject(object, &extended_data_key)
objc_setAssociatedObject(object, &extended_data_key, extendedData, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
本文标题:iOS动态增加属性
本文链接:https://www.haomeiwen.com/subject/eagruttx.html
网友评论