摘要: 比如 ARC 状态时候, retain release 等消息发送是不能使用的。看宏定义:没限定:- (BOOL)conformsToProtocol:(Protocol *)aProtocol;- (BOOL)respondsToSelector:(SEL)aSelector;有限定:- (id)retain NS_AUTOMATED_REFCOUNT_UNAVAILABLE;- (oneway void)release NS_AUTOMATED_REFCOUNT_UNAVAILABLE;- (id)autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE; 阅读全文
posted @ 2012-03-27 18:03 姜萌芽 阅读(1117) 评论(0) 推荐(0) 编辑