objc_getAssociatedObject 出现异常

定义属性c++ @property (nonatomic, assign) NSInteger unreadCount; 使用运行时关联对象 - (NSInteger)unreadCount { return [objc_getAssociatedObject(self, @selector(unreadCount)) intValue]; <span style="color:#ff00
相关文章
相关标签/搜索