On obj-c, when will i declare a private variable in header file. like below
@interface Contact : NSObject{
NSString *name;
NSUInteger age;
}
define a private variable, it can't be access by any instance. why there is need to do it. i think this scene is no need to exist.
now, i want to know which scene will use such way to declare variable, the advantage use this way.