Swapping subview of NSSplitView
Swapping subview of NSSplitView
- Subject: Swapping subview of NSSplitView
- From: Dan Munk <email@hidden>
- Date: Mon, 2 May 2005 21:56:50 -0700
Hello,
I have an NSSplitView with an NSTextView as the upper subview and an
NSTableView as the lower subview. Based on the user selecting a menu
item during runtime, I would like to programmatically swap the lower
NSTableView for an NSTextView control (and vice versa) or remove the
lower subview entirely, displaying only the upper subview.
I know how to wire the menu and respond to user events, I am having
trouble finding ways of managing and swapping the controls. Any
guidance on a good approach would be greatly appreciated.
Thanks,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden