• 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
Re: NSSplitView with multiple dividers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView with multiple dividers


  • Subject: Re: NSSplitView with multiple dividers
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 19 Sep 2010 12:01:25 -0700

On Sep 19, 2010, at 11:55 AM, "email@hidden" <email@hidden> wrote:

>
> On 19 Sep 2010, at 18:14, Geoffrey Holden wrote:
>
>> I am trying to set up a window with three resizable panes.  Currently, I have done this by dragging an NSSplitView into my window (in IB) and then dragging another NSSplitView into that:
>>
>> +NSSplitView
>> |--+NSView
>> |  '-NSTableView
>> |
>> |--+NSView
>> |  '-NSSplitView
>> |
>>
> I too did exactly the same the first time I tried this. But the solution is much easier.
> In IB just draw another custom view onto the bottom or left edge of the NSSplitView.
> A red line will appear to indicate that you have hit the sweet spot.
> Drop the view and it will create another pane within the splitview.
>

It might be easier to drop the new view onto the split view in the document window (in tree mode).

NSSplitView puts splitters between all of its subviews. You only need to embed a split view in another if you want to have both vertical and horizontal splits.

--Kyle Sluder_______________________________________________

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

References: 
 >NSSplitView with multiple dividers (From: Geoffrey Holden <email@hidden>)
 >Re: NSSplitView with multiple dividers (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: NSSplitView with multiple dividers
  • Next by Date: What's the point of @properties?
  • Previous by thread: Re: NSSplitView with multiple dividers
  • Next by thread: What's the point of @properties?
  • Index(es):
    • Date
    • Thread