• 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: Sliding views around
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sliding views around


  • Subject: Re: Sliding views around
  • From: Rainer Brockerhoff <email@hidden>
  • Date: Thu, 24 Mar 2005 16:35:12 -0300

At 6:21 AM -0800 3/24/05, email@hidden wrote:
>From: Michael Becker <email@hidden>
>Date: Thu, 24 Mar 2005 15:15:27 +0100
>Message-ID: <email@hidden>
>
>Does anybody know how exactly Apple created the effect of sliding-inviews? I am talking about the magic that happens e.g. when you click onthe eye-shaped "Browse"-button in iTunes. A Splitview "slides out". Isuppose they are subclassing NSSplitView so they can collapse itprogrammatically, including a nice size-changing slide-animation.
>
>But when the SplitView is collapsed, there is no "handle" to drag it.Is that all just done via subclassing?

iTunes is still a Carbon app, so it doesn't use or subclass NSSplitView, at least as far as I know. I don't know how the equivalent Carbon widget works. But...

<shameless self-promotion>
Except for the disappearing handle, all this is easily done with RBSplitView 1.0.4:
http://www.brockerhoff.net/src/rbs.html
</shameless self-promotion>

--
Rainer Brockerhoff  <email@hidden>
Belo Horizonte, Brazil
"The three chief virtues of a programmer are: Laziness, Impatience and Hubris" - Larry Wall
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
 _______________________________________________
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: Sliding views around
      • From: Michael Becker <email@hidden>
  • Prev by Date: Re: A Challenge WAS Accessor method idioms...
  • Next by Date: Re: A Challenge WAS Accessor method idioms...
  • Previous by thread: Sliding views around
  • Next by thread: Re: Sliding views around
  • Index(es):
    • Date
    • Thread