Hey,
There is something I don't know or understand about document-based app's.
A new project has two nibs, one is MyDocument, the other one is MainMenu.
So the main things of my application are either in the MyDocument subclass or in other classes that I made.
Now I want to hook up some extra menu's. But how do I do this?
I know how to add menu's in a non-document-based app.
I know how to use bindings, or hook up action methods in IB. That's not the question. I need to know in which class to put the actions (e.g. -(IBAction) testMenuid)sender.
And will this class be loaded at start-up? Do I need to do an alloc and init?
Do I have to change the file owner of the MainMenu, or create a subclass of ... and make an instance from it?
Thanks
There is something I don't know or understand about document-based app's.
A new project has two nibs, one is MyDocument, the other one is MainMenu.
So the main things of my application are either in the MyDocument subclass or in other classes that I made.
Now I want to hook up some extra menu's. But how do I do this?
I know how to add menu's in a non-document-based app.
I know how to use bindings, or hook up action methods in IB. That's not the question. I need to know in which class to put the actions (e.g. -(IBAction) testMenuid)sender.
And will this class be loaded at start-up? Do I need to do an alloc and init?
Do I have to change the file owner of the MainMenu, or create a subclass of ... and make an instance from it?
Thanks