• 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 iTunes Like
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSplitView iTunes Like
      • From: Yorh <email@hidden>
References: 
 >NSSplitView iTunes Like (From: Yorh <email@hidden>)
 >Re: NSSplitView iTunes Like (From: Denis Defreyne <email@hidden>)
 >Re: NSSplitView iTunes Like (From: "I. Savant" <email@hidden>)
 >Re: NSSplitView iTunes Like (From: Yorh <email@hidden>)

  • Prev by Date: Re: NSTask stealth bug in readDataOfLength!! :(
  • Next by Date: Re: NSTask stealth bug in readDataOfLength!! :(
  • Previous by thread: Re: NSSplitView iTunes Like
  • Next by thread: Re: NSSplitView iTunes Like
  • Index(es):
    • Date
    • Thread