• 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: How to launch an IBAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to launch an IBAction


  • Subject: Re: How to launch an IBAction
  • From: Chad Leigh <email@hidden>
  • Date: Sun, 12 Nov 2006 14:56:15 -0700


On Nov 12, 2006, at 12:58 PM, Eric PETIT wrote:

Can somebody help me to solve the following problem :
I launch an IBAction from a menu command but I want that the same IBAction launches automatically at the start of my application when for example a boolean variable is true.
How to make this ?
Thank you very much for your help.


I might try this by checking the variable and then calling the action directly in your awakeFromNib: of the main nibowner object or any instantianted object in your nib

Chad


*-*-*-*-* Eric PETIT

<Pasted Graphic.tiff>

E-mail :
    email@hidden
    email@hidden

Site TURBOLOTO™ :
    http://turboloto.free.fr
*-*-*-*-*


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40objectwerks.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Re: How to launch an IBAction
      • From: "Julien Jalon" <email@hidden>
References: 
 >How to launch an IBAction (From: Eric PETIT <email@hidden>)

  • Prev by Date: Re: How to Optimize drawRect: for obscured views?
  • Next by Date: Re: Better printed documentation? (wish list)
  • Previous by thread: How to launch an IBAction
  • Next by thread: Re: Re: How to launch an IBAction
  • Index(es):
    • Date
    • Thread