• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: makeObjectsPerformSelector on a sub class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >makeObjectsPerformSelector on a sub class (From: Pascal Harris <email@hidden>)
 >Re: makeObjectsPerformSelector on a sub class (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: makeObjectsPerformSelector on a sub class
  • Next by Date: Re: makeObjectsPerformSelector on a sub class
  • Previous by thread: Re: makeObjectsPerformSelector on a sub class
  • Next by thread: Re: makeObjectsPerformSelector on a sub class
  • Index(es):
    • Date
    • Thread