I have a view controller that is not being released even though to the best of my knowledge I am setting all delegates to nil, removing all gestures, etc. but even with Instruments I am struggling to understand what is retaining the view controller. I have the "Record Retain Count" option enabled.
The name of my UIViewController in question is TDTPaintingViewController and is being loaded and unloaded by TDTOilistOptionsViewController.
Its not clear to me what owns the retain counts, and I am confused why it shows things more than once even though if I step through my code its only called once (e.g. TDTOilistOptionsViewController.loadPaintingView()).
Attached is the Instruments trace. I would greatly appreciate it if someone might help interpret it. Not only would it help with this issue, it would help me understand how to use the tool in the future.