Recommendations regarding if I create an object belonging to my UIApplicationDelegate class and remain the whole time the application starts, is there a real advantage to adding the [release object] operator to the UIApplicationDelegate dealloc method?
The only time that will be called is when the user shuts down the application, and I assume that all the memory space used by this application is then freed.
In terms of best practices, of course, it makes sense to add memory management code sequentially throughout the application, but am I curious from a runtime perspective if that really matters?
Note. I ask this from the perspective of the iPhone developer. I'm not sure if it will differ from the perspective of Mac OSX?
source
share