@interface @implementation 变量

现在看的有点混乱。


大概知道 在interface中声明的是实例变量,如果是公共的就可以被外部访问。


那和implementation 中什么的变量区别在哪里呢?


那么变量在什么情况下 声明在 interface 什么情况下声明在implementation 下呢?


谢谢!

猜你喜欢

转载自zhuxiangyan.iteye.com/blog/2057269