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 to swap the
NSTableView (inside of the split view) for this custom view back and
forth as needed.

I searched for the solution but only found references to NSViews
-replaceSubview: with:, and it isn't working for me. Is this the
proper method to be using for such a task or should I be doing
something different?

I did something like this before , but my table was enclosed in a scroll view so , replacing 'view' with scroll view was never a problem.
I dint pay much into the details then.

May be you can do the same... even go ahead and hide the scrollers if you don't need them

Thanks very much in advance,
-Matt
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/rajesh%40vangennep.nl

This email sent to raj...@vangennep.nl

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to