Well this has been bugging me for quite a while so now i'll ask
When should uiviewcontrollers be declared as properties? I noticed that in many examples uiviewcontrollers that are being pushed and popped on a uinavigation controller are not declared as properties.
I took that forward and now every uiviewcontroller i use inside my code is not declared as a property (ofc memory is handled carefully), even my main viewcontroller inside the appdelegate. However since instrument was reporting a leak i tried to declare it as a property... the result is that, even if the leak is still somewhere, memory occupation of the app has been halved.
So now i'm wondering... is my approach completely wrong and all uiviewcontrollers should be declared as properies? is there a particular reason to declare a uiviewcontroller as a property or not?
thanks for any tips on this matter