I want to make an instance variable that can\'t be accessed from outside. Is something like that possible in objective-c? I remember Apple has private variables and stuff li
I saw the following usage in a sample app (PaintGL) by Apple
In .m file
@interface MyClass (private) - (void) privateMethod(); @property(...) myProperty; @end
Disclaimer: The sample app only has method declarations, I saw the private property declaration in this SO thread