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 11:31:55 -0300
On Jul 3, 2012, at 11:03 , Andy Lee wrote:
> I haven't used RBSplitView, but it sounds like it might be handy to have a method for replacing an already-set-up NSSplitView with an RBSplitView. Maybe it could be a category method on NSSplitView, something like this:
> ...
> This way you can still use IB to lay out the subviews of the split view, using a regular NSSplitView. In awakeFromNib, you can swap out the split view by calling this method.
Now that's an interesting idea, thanks Andy! I'll look into it soon, I hope.
Handiest way might be to implement something like +[RBSplitView transmogrify:(NSSplitView*)someSplitView].
All the cool extra RBSplitSubview properties would, of course, have to set manually... hm.
--
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