FROM : Bryan Zarnett
DATE : Sat Nov 23 10:14:01 2002
I searched through the archives and did not come up with any details on
this so...
I have created a Window that contains an NSBox. Within the NSBox,
depending upon a persons input I place a different NSView. Right now I
basically use the following call in awakeFromNib to handle this:
[blankFrame setContentView:taskView];
My main view (which contains the NSBox) has a controller as does the
NSView that I place within the NSBox. What I want to do is, when a
button is pressed on the main view, I want to interact with the
controller associated with the NSView placed in the NSBox.
Is there some example code that shows this, or perhaps one of the Cocoa
books?
Thanks in advance,
Bryan
DATE : Sat Nov 23 10:14:01 2002
I searched through the archives and did not come up with any details on
this so...
I have created a Window that contains an NSBox. Within the NSBox,
depending upon a persons input I place a different NSView. Right now I
basically use the following call in awakeFromNib to handle this:
[blankFrame setContentView:taskView];
My main view (which contains the NSBox) has a controller as does the
NSView that I place within the NSBox. What I want to do is, when a
button is pressed on the main view, I want to interact with the
controller associated with the NSView placed in the NSBox.
Is there some example code that shows this, or perhaps one of the Cocoa
books?
Thanks in advance,
Bryan
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

