• 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 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

  • Follow-Ups:
    • Re: NSSplitView question - how to implement my own "adjustViews" style method
      • From: Andy Lee <email@hidden>
    • Re: NSSplitView question - how to implement my own "adjustViews" style method
      • From: Andy Lee <email@hidden>
References: 
 >Re: NSSplitView question - how to implement my own "adjustViews" style method (From: Rainer Brockerhoff <email@hidden>)
 >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: NSSplitView question - how to implement my own "adjustViews" style method
  • Next by thread: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • Index(es):
    • Date
    • Thread