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).
精彩评论