views:

106

answers:

2

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
“Objective-C tab settings and whitespace style” Um, I don't think that's the kind of tab he's asking about.
Peter Hosey
Maybe I missunderstand the question. Sorry :(
Sheldon
+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