I receive a crash on the call to the function set in setAnimationDidStopSelector when my view is animating as I remove the view and release the object. I'm not 100% certain that this is simply a case of a UIView animating while being released and the callback issued by the animation being called into a released object, but I suspect it has to do with some required cleanup.
Are there things I should be doing when cleaning up UIViews that may have a target selector for their animations, i.e. somehow setting the delegate to nil? If so, I'm not certain how to reach into that specific animation to cancel the delegate.
Are there other obvious potential causes to this crash? Basically, I kick off the animation and then shortly after I clean up and release the view animating as well as the object that is receiving the callback.