Re: make connections without InterfaceBuilder
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