When all this new ARC material (which does not fall under NDA ...), it seems that by default to work with properties you should set the property without and ivar in the implementation file explicitly until you synthesize it with something like
@synthesize var = _var;
What is the best thing to use when setting up a variable? I know that the difference between varand self.varis that it self.varuses dot notation and uses the set var method.
Is it _varequivalent to setting it in header files, for example, on good days? Where did this practice of anticipating everything come from with underlining?
source
share