Skip navigation.
 
mlRe: Newbie Q : connections between different nibs
FROM : Joshua Pennington
DATE : Thu Jun 22 18:33:32 2006

An article on using multiple nibs:

http://cocoadevcentral.com/articles/000064.php

Short answer: Make your connections to File Owner.

On Jun 22, 2006, at 11:13 AM, <email_removed> wrote:

>                  Hello all,
>
>  let me ask a very naive question : I have an IBAction 
> "paintItBlack" on
> a window in MyDocument.nib that I should like to be triggered by the
> menu item "Paint It Black" in the main menu (which is therefore in
> MainMenu.nib). The problem is that they are in different nibs so they
> canīt be connected. What is the usual solution ? Should I create a
> new nil-targeted action in FirstResponder (even though this action
> has no other reason to be made "nil-targeted") ? Should I instantiate
> MyDocument in MainMenu.nib ?
>
>                                            Ewan
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlNewbie Q : connections between different nibs delanoy Jun 22, 18:13
mlRe: Newbie Q : connections between different nibs Joshua Pennington Jun 22, 18:33
mlRe: Newbie Q : connections between different nibs A.M. Jun 22, 18:56