i would like to execute some code after a row is deleted from my table with animation. i've chosen UITableViewRowAnimationRight as the row animation. is there a title constant for this animation that would allow me to use the following method?:
i know this is possible with performSelector:withObject:afterDelay, but that seems a bit dirty. perhaps it's the only way?
Code:
- (void)animationDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context
{
if ((animationID == [COLOR="Red"]UITableViewRowAnimationRight[/COLOR]) && finished)
//execute code;
}
i know this is possible with performSelector:withObject:afterDelay, but that seems a bit dirty. perhaps it's the only way?