On Wed, 4 Nov 2009 09:17:30 -0600, Fritz Anderson <[email protected]> said: > >On 3 Nov 2009, at 4:23 PM, [email protected] wrote: > >> [UIView setAnimationDidStopSelector:@selector >> (animationDidStop:finshed:context:)]; >> >> >> -(void)animationDidStop:(NSString *)animationID finished:(NSNumber *) >> finished context:(void *)context{...} > >May I point out the spelling of the second part of the selector? In >the method, it's fin_i_shed; in the argument, it's fin__shed.
Yeah, he knows. This is the whole problem with passing things around as strings (selector names, key-value coding, etc.); there are so many places to go wrong, and when you do, it can be hard to debug. m. -- matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
