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: Kyle Sluder <email@hidden>
- Date: Mon, 02 Jul 2012 23:11:28 -0700
On Tue, Jul 3, 2012, at 03:22 PM, Graham Cox wrote:
> True in part. But you could subclass NSView instead. After all,
> NSSplitView doesn't really bring that much to the table - it relies on
> inheriting NSView to store its subviews, the only thing it draws is the
> actual splitter itself, which is just a line (or narrow bar if you are
> using that style).
The other thing NSSplitView does is interface with the live-resize
machinery; subviews of an NSSplitView will return YES from -inLiveResize
while a splitter is being dragged.
--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