Re: UIView animation docs question
Re: UIView animation docs question
- Subject: Re: UIView animation docs question
- From: Matt Neuburg <email@hidden>
- Date: Wed, 04 Nov 2009 12:24:37 -0800
- Thread-topic: UIView animation docs question
On Wed, 4 Nov 2009 09:17:30 -0600, Fritz Anderson <email@hidden>
said:
>
>On 3 Nov 2009, at 4:23 PM, email@hidden 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@hidden, <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@hidden)
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:
This email sent to email@hidden