Re: makeObjectsPerformSelector on a sub class
Re: makeObjectsPerformSelector on a sub class
- Subject: Re: makeObjectsPerformSelector on a sub class
- From: Greg Parker <email@hidden>
- Date: Wed, 21 Mar 2012 14:00:58 -0700
On Mar 21, 2012, at 1:23 PM, Quincey Morris <email@hidden> wrote:
> One thing to check: if your 'scrambleState' actually has a parameter:
>
> - (void) scrambleState: …
>
> Then you need '@selector(scrambleState:)', not '@selector(scrambleState)'. It's an easy thing to overlook.
Of course, if that were true then makeObjectsPerformSelector:@selector(scrambleState:) would do the wrong thing anyway, because -makeObjectsPerformSelector: would not pass any value for that parameter.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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