I am following the example at the bottom of the page to call an animationDidStop function.

http://www.informit.com/articles/article.aspx?p=1168314&seqNum=2

The author says:

I have an object that is designed specifically to be the delegate of animations and all it does is hold a reference to the target object, accept the animationDidStop: message and then release itself.

This suggests you shouldn't do:

[animation setDelegate:self];

I'm pretty new to app programming can someone outline how I might do this? Or send me a link where it is explained.

Edit
Report