• 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: Animated split view collapsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animated split view collapsing


  • Subject: Re: Animated split view collapsing
  • From: "Lawrence Sanbourne" <email@hidden>
  • Date: Fri, 28 Apr 2006 15:17:15 -0500

On 4/28/06, Matt Neuburg <email@hidden> wrote:
On Fri, 28 Apr 2006 02:05:21 -0500, "Lawrence Sanbourne"
<email@hidden> said:
>Interesting. I did notice some strange results with different curves,
>but only when the "direction" of the animation didn't correspond with
>the right curve. However, I tried not specifying an animation curve,
>and I have the same display bug.

>> Here's the current version of my animated split view hiding code. It's
>> working beautifully for collapsing the view. However, it displays the
>> window background and jumps to the endFrame position when
>> un-collapsing

As I said before, I found it necessary to sprinkle my routines with
"display" calls. setNeedsDisplay was not enough. (Maybe this is some kind of
interaction with the new screen buffering.) m.

I can't call this during the animation because I'm using NSViewAnimation. However, before I write all the code to switch to a custom NSAnimation subclass, I thought I'd try calling -display instead of -setNeedsDisplay: at the end of my method (after the animation is done). This change the end result at all, so I think adding -display calls isn't the answer. Did I reason that correctly?

Larry
_______________________________________________
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: Animated split view collapsing
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Animated split view collapsing (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Getting a NSView pointer from a nib
  • Next by Date: Re: Animated split view collapsing
  • Previous by thread: Re: Animated split view collapsing
  • Next by thread: Re: Animated split view collapsing
  • Index(es):
    • Date
    • Thread