• 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: make connections without InterfaceBuilder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make connections without InterfaceBuilder


  • Subject: Re: make connections without InterfaceBuilder
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 8 Feb 2010 16:03:09 -0600

On Feb 8, 2010, at 9:28 AM, Jonathan Chacón wrote:

> How can I do this in xCode? is there any way to do this from source?
>
> I read about setTarget and setAction but I don't know where can I include these sentences.

Probably the best place would be in the -awakeFromNib method of the object which will be the NIB's owner.  For the MainMenu NIB, the File's Owner is the application object, which you don't ordinarily subclass (although that's not a hard-and-fast rule).  So, it might be better in the app delegate's -awakeFromNib.

Cheers,
Ken

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: make connections without InterfaceBuilder
      • From: Jonathan Chacón <email@hidden>
References: 
 >make connections without InterfaceBuilder (From: "Jonathan Chacón" <email@hidden>)

  • Prev by Date: Re: Programs' following -F not found
  • Next by Date: How to use Xcode with my project
  • Previous by thread: make connections without InterfaceBuilder
  • Next by thread: Re: make connections without InterfaceBuilder
  • Index(es):
    • Date
    • Thread