• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Swap subviews of NSSplitView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Swap subviews of NSSplitView?


  • Subject: Swap subviews of NSSplitView?
  • From: Matt <email@hidden>
  • Date: Mon, 15 Dec 2008 23:11:05 -0800

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?

Thanks very much in advance,
-Matt
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Swap subviews of NSSplitView?
      • From: Kevin Gessner <email@hidden>
    • Re: Swap subviews of NSSplitView?
      • From: rajesh <email@hidden>
  • Prev by Date: Re: proper way to release a static NSMutableDictionary?
  • Next by Date: re:Core Data binary data optimization(s)
  • Previous by thread: Re: Main Thread autorelease pool, memory usage question?
  • Next by thread: Re: Swap subviews of NSSplitView?
  • Index(es):
    • Date
    • Thread