Possible Duplicate:
self.prop=nil; vs. [prop release];prop=nil;
Can anyone help, What is the difference between [foo release]
and self.foo = nil;
?
Possible Duplicate:
self.prop=nil; vs. [prop release];prop=nil;
Can anyone help, What is the difference between [foo release]
and self.foo = nil;
?
here is some nice tutorial and explanation about it. It's simple, really.
http://www.raywenderlich.com/2712/using-properties-in-objective-c-tutorial