• 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: Problem with setAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with setAction


  • Subject: Re: Problem with setAction
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 6 Jul 2001 15:09:28 +0200

On vendredi, juillet 6, 2001, at 02:51 PM, Sprague, Graham wrote:


/* I found this but don't know how to use it. I tried it like this but that
gives me an error stating that 'newActionName' is undefined. */
[goButton setAction:(SEL)newActionName]

[goButton setAction:@selector(newActionName)] (with a : or not after newActionName according to the method prototype)


  • Prev by Date: Problem with setAction
  • Next by Date: Re: Let's hope XP doesn't keep this
  • Previous by thread: Problem with setAction
  • Next by thread: separatorItem in NSPopUpButton?
  • Index(es):
    • Date
    • Thread