Re: Swap subviews of NSSplitView?

2008-12-16 Thread rajesh
On Dec 16, 2008, at 8:11 AM, Matt wrote: I have an NSSplitView, divided vertically, with two table views. In a certain instance I need to have a custom view class appear in place of the right-hand NSTableView, retaining its auto-resizing and spilt-view-resizing functionality. I need to be able

Re: Swap subviews of NSSplitView?

2008-12-16 Thread Kevin Gessner
On Dec 16, 2008, at 2:11 AM, Matt wrote: I have an NSSplitView, divided vertically, with two table views. In a certain instance I need to have a custom view class appear in place of the right-hand NSTableView, retaining its auto-resizing and spilt-view-resizing functionality. I need to be able

Swap subviews of NSSplitView?

2008-12-15 Thread Matt
I have an NSSplitView, divided vertically, with two table views. In a certain instance I need to have a custom view class appear in place of the right-hand NSTableView, retaining its auto-resizing and spilt-view-resizing functionality. I need to be able to swap the NSTableView (inside of the split

Swap subviews of NSSplitView? (SOLVED)

2008-12-15 Thread Matt
I swear it never fails, I post here and then 10 minutes later figure out the answer. I had forgotten that the NSTableView was inside of a NSScrollView, which was the view I needed to move in and out. replaceSubview works fine now. Sorry for the noise. -Matt