阅读背景:

可可框架可以在其公共头文件中隐藏一个ivar声明吗?

来源:互联网 

Is this possible ?

这可能吗 ?

My colleague told me that naming a ivar with prefix underscore like what apple mostly does may cause some problem. He said that apple can declare an ivar in a class and doesn't let it be in the public header file. So if i accidentally name an ivar that get collide with that "secret ivar" which is not in the header file , this will cause a problem.My colleague tol




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

分享到: