On Wed, 4 Nov 2009 09:17:30 -0600, Fritz Anderson <fri...@manoverboard.org>
said:
>
>On 3 Nov 2009, at 4:23 PM, lorenzo7...@gmail.com 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 = m...@tidbits.com, <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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to