How do I swap views?
How do I swap views?
- Subject: How do I swap views?
- From: Dave Riggle <email@hidden>
- Date: Tue, 2 Sep 2003 21:45:37 -0700
I'm a Cocoa newbie. I have an NSMatrix subclass inside an
NSScrollView. I want to be able to hide the whole thing and make
visible an NSTableView that occupies the same space. What's the best
way to go about it? Should I have everything in the same window and
hide/show the appropriate view? Is there a more elegant solution? I
don't want to use a tabbed view because I already have toolbar icons
that switch among the (several) matrix views and the table view. My
controller object has its meaty hooks all over my NSMatrix subclass and
will probably need to do the same for my NSTableView, so using separate
NIBs doesn't seem practical.
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.