Re: NSSplitView iTunes Like
Re: NSSplitView iTunes Like
- Subject: Re: NSSplitView iTunes Like
- From: "I. Savant" <email@hidden>
- Date: Wed, 25 Oct 2006 13:19:19 -0400
On Oct 25, 2006, at 12:54 PM, Denis Defreyne wrote:
I recommend RBSplitView (http://www.brockerhoff.net/src/rbs.html).
It does exactly what you want, and works around some NSSplitView
issues.
It's also extreme overkill for this rather simple requirement (a
one-pixel divider). :-D RBSplitView is a great class, don't get me
wrong, but if all someone needs is a basic change to a split view's
divider, a do-it-all third-party class is completely unnecessary and
only adds to possible bugs and complications.
Do yourself a favor, Yorh, and learn how to do these simple things
with NSSplitView (and any other existing Cocoa classes) yourself,
rather than using third-party drop-in solutions to problems you don't
really have. If, on the other hand, you need most or all of what
RBSplitView has to offer, then by all means go for it, but you still
need to do the basics on your own to figure out how the third-party
code you're adding to your project actually works.
For now, you can easily accomplish your goal with *very* few lines
of code by subclassing NSSplitView and overriding those two methods I
mentioned before. No need for a Swiss Army knife when a kitchen knife
will do. ;-)
--
I.S.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden