Splitting a single view
Ben Stiglitz
ben at tanjero.com
Thu Jan 4 09:35:01 PST 2007
> I'm looking for sample code that'd implement something like the
> "Click to split the editor view" gadget in Xcode. Presumably this
> creates a new NSSplitView, inserts the current editor view (or
> rather, the NSScrollView that contains the editor view) into it, and
> creates another editor view (on the same data model, and inside
> another NSScrollView).
That¹s exactly what you¹d do. If you split a view again, you¹d want to make
sure you add another view to the original split instead of nesting more
split views.
-Ben
More information about the MacOSX-dev
mailing list