[Q] Document app but with non-document opening window - how to do it?
[Q] Document app but with non-document opening window - how to do it?
- Subject: [Q] Document app but with non-document opening window - how to do it?
- From: "Peter.Teeson" <email@hidden>
- Date: Sun, 16 May 2004 21:53:49 -0400
I'm starting a new project that is to be a Cocoa Multi-window Document
app.
When the project is created there is a MyDocument class and that's just
fine for me to use for documents.
But when I launch the app I don't want a document to be opened.
Instead I wish to display an index page in the form of a tabbed window
with the alphabet on the tabs (ABC DEF GHI etc...) and then have the
user select an item from one of those tabbed panes (panels?).
At present my thinking is to make just the two nibs work for me with
the MainMenu holding my opening index window and the MyDocument nib
hold all the other windows (each with their own window controller).
So I used InterfaceBuilder to make such a window in the MainMenu.nib
and return that in windowNibName. But I get all kinds of errors
(missing target connections) when building.
Obviously I am not understanding something here and so far have not
found the correct topic in the on-line documentation at Apple.
I have the O'Reilly Learning Cocoa , the Hillegass and the Vermont
Recipes books but so far haven't found what I need to know.
Can you please point me at what I should be reading and/or some example
code (it's not obvious to me which of the examples is the one to
examine).
TIA for your help and
respect....
Peter
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.