FROM : delanoy
DATE : Thu Jun 22 18:13:13 2006
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
DATE : Thu Jun 22 18:13:13 2006
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
| Related mails | Author | Date |
|---|---|---|
| delanoy | Jun 22, 18:13 | |
| Joshua Pennington | Jun 22, 18:33 | |
| A.M. | Jun 22, 18:56 |






Cocoa mail archive

