simple question, hopefully simple answer.
under vb.net a 'form' (window) is defined as an object, if i wish more
than one copy its childs play, declare as many as needed.
under osx (using cocoa) how can I manage this?
I can create dynamic windows easily enough, but I wish to use Interface
Builder to design them, store them in a nib file and load as required.
so far I can load a window from a nib file and display it.. but how can
i copy it so i could, for example, open it twice? or 'n' times.
looking at a sort of document interface, but there will be several
document types, with their own windows. So I'm assuming just making
copies of windows in a nib file would work fine?
the question is how?
am I right in thinking I'd need to create a new instance of the window's
controller object (so they can operate on different data) and link a
copy of the window to this copy of the controller..
but how?
tried a google search but basically not found anything helpful.
I'm thinking I'm going about this wrong and there is a really simple
method, I just don't know it.
help?
pretty please...


|