Re: NSSplitView iTunes Like
Re: NSSplitView iTunes Like
- Subject: Re: NSSplitView iTunes Like
- From: "I. Savant" <email@hidden>
- Date: Wed, 25 Oct 2006 14:16:04 -0400
On Oct 25, 2006, at 1:31 PM, Yorh wrote:
I need an automatic resize system
Use what you like, of course, but even this is fairly simple. I
assume you mean you want one of the panes to stay the same size when
the window is resized. The -splitView:resizeSubviewsWithOldSize:
delegate method is exactly what this is for; you don't even need to
subclass and override. A quick example can be found on the
cocoadev.com wiki.
My point is this: It's always best to write targeted code rather
than dropping in all-things-to-all-people code you don't fully
understand. Your code and your skills as a developer will be better
for it.
Good luck with your project!
--
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