Re: NSSplitView iTunes Like
Re: NSSplitView iTunes Like
- Subject: Re: NSSplitView iTunes Like
- From: Yorh <email@hidden>
- Date: Wed, 25 Oct 2006 19:31:24 +0200
Thanks,
I read the documentation, but I think is better to use RBSplitView
that is more complete than NSSplitView.
I need more than 1 pixel divider of course, I need an automatic
resize system and other features... so this is the reason why I'm
planning to use RBSplitView.
Thank you for your kind help
Yorh
On 25/ott/06, at 19:19, I. Savant wrote:
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:
40metagraphics.it
This email sent to email@hidden
_______________________________________________
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