开发者

Is it possible to make an @property private?

Someone said that I could a开发者_开发问答dd an private keyword to @property(...) ... really?


Objective-C only allows private, protected, and public modifiers on instance variables, although you can essentially make a property (or method) private by declaring it in the implementation (.m) file rather than the header (.h file).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜