Document-Based, but not really...
Document-Based, but not really...
- Subject: Document-Based, but not really...
- From: Sam Goldman <email@hidden>
- Date: Sun, 09 Dec 2001 02:04:14 -0800
I am making an app (duh) and I am having a problem getting something to work
(duh again).
It's a simple file browser and I want to be able to open copies of the same
nib file multiple times, but without the open/save/print stuff that a
Document-Based app forces on you. For now I have just taken out those items
from the main menu. Is it possible bypass a document controller and have a
window controller do this?
A second question: I also want to add my own menu items and have them do
stuff. What I have done is set up a NSObject subclass ("Menu_Controller") in
the MainMenu.nib and then set the targets of the menu item to my main
controller. When I do that, the action seems to be connected (chacked with
NSLog()), but nothing else happens.
As far as I can assume, I am going about this all wrong and there are better
(working) ways to do this.
I tend to be unclear when I type (mostly because I don't know what I'm
talking about) so if you have question, ask 'em.
Thanks,
Sam