Instance variables declared in the implementation are implicitly hidden (effectively private) and the visibility cannot be changed - @public, @protected and @private do not produce compiler errors (with the current Clang at least) but are ignored.
iVar 如果要设置成private,声明在.m文件中; @private已经算是弃用了?
具体看下面两个例子,笔记本不在身边,没具体测试过。
http://stackoverflow.com/questions/13532862/best-way-to-define-private-variables-in-objective-c