Re: NSSplitView question - how to implement my own "adjustViews" style method
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