I am having trouble understanding dealloc
, release, and setting things to nil
. I built my app thinking that I could handle memory management at the end, and am now facing serious consequences. This was admittedly a bad way to begin development of my app, but you've got to start somewhere.
Is there a guide/documentation out there that tells me what items need to be deallocated, or how to go about it? I am using ARC
, and know that I don't need to release things, but how do I know what items need to be set to nil
in the dealloc
method?
My app is now pretty slow as I have a lot of methods called in viewDidAppear
, every time the view appears it gets slower and slower. Just need a place to start. Any initial guidance would be much appreciated!
Thank you all!