阅读背景:

为什么类别不能有实例变量?

来源:互联网 

I understand we can use associative references to invoke ivar-like behavior in categories. But what's the specific reason behind not being able to declare new ivars in categories?I understand we can use associative references




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: