• 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 question - how to implement my own "adjustViews" style method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView question - how to implement my own "adjustViews" style method


  • Subject: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • From: Rainer Brockerhoff <email@hidden>
  • Date: Tue, 03 Jul 2012 08:21:29 -0300

On Jul 3, 2012, at 01:46 , email@hidden wrote:
> Date: Tue, 03 Jul 2012 10:14:21 +1000
> From: Graham Cox <email@hidden>
> Message-ID: <email@hidden>
>
> On 03/07/2012, at 12:21 AM, Motti Shneor wrote:
>
>> I really need an advice here.
>
> This will sound flippant but it's not meant to be: implement your own split view.

RBSplitView will do exactly what you want. However, unfortunately it's stuck in the times when IB was a separate app with plugins. If you can manage to set up your views in code (at least the split view and its subviews, then pull in the rest), it still seems to work well.

If you want to roll your own, my advice would be to at least glance at the RBSplitView code (and docs) beforehand. Looking back, the crucial decision seems to have been to implement RBSplitSubviews to handle most of the work.

Good luck, ;-)
--
Rainer Brockerhoff  <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/blog


_______________________________________________

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: NSSplitView question - how to implement my own "adjustViews" style method
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • Next by Date: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • Previous by thread: Re: NSTextView with ruler controls in a NSPopover
  • Next by thread: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • Index(es):
    • Date
    • Thread