• 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: Newbie Q : connections between different nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Q : connections between different nibs


  • Subject: Re: Newbie Q : connections between different nibs
  • From: Joshua Pennington <email@hidden>
  • Date: Thu, 22 Jun 2006 11:33:32 -0500

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@hidden 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@hidden)
Help/Unsubscribe/Update your Subscription:
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
References: 
 >Newbie Q : connections between different nibs (From: email@hidden)

  • Prev by Date: Newbie Q : connections between different nibs
  • Next by Date: Re: Date Format Conversion
  • Previous by thread: Newbie Q : connections between different nibs
  • Next by thread: Re: Newbie Q : connections between different nibs
  • Index(es):
    • Date
    • Thread