I need to develop a simple document-based application but using only one window, the documents should open in views separated by tabs. How can I achieve it?
A:
Here you have some info:
http://stackoverflow.com/questions/1077792/objective-c-tab-settings-and-whitespace-style
http://www.positivespinmedia.com/dev/PSMTabBarControlDoc.html
Hopes it serves!
Sheldon
2009-07-14 18:09:13
“Objective-C tab settings and whitespace style” Um, I don't think that's the kind of tab he's asking about.
Peter Hosey
2009-07-14 18:22:40
Maybe I missunderstand the question. Sorry :(
Sheldon
2009-07-14 19:38:27
+1
A:
The answer is you can achieve what you want with a lot of hackery to shoehorn the Cooca NSDocument
architecture into a single-window style. But you really don't want to do that. It's much easier to write your own system for document handling from scratch. Start with the Non-document based application template and go from there. NSDocument
expects to have its own window (and associated NSWindowControllers
).
Barry Wark
2009-07-14 18:26:10