• 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: Paul Kim <email@hidden>
  • Date: Thu, 4 May 2006 23:30:30 -0400


On May 4, 2006, at 11:40 AM, Lawrence Sanbourne wrote:


Thank you so much! That was tremendously helpful. I cleaned up my code based on yours, and the animation is working. It's fairly jerky, but I think I might have to be satisfied now. My code is below, if anyone wants to use it or try to explain the jerkiness.


My guess is the jerkiness is because you are calling setNeedsDisplay instead of display. In the comment in your code, you mention that calling display causes an infinite loop. I don't have that problem with mine so I suspect that maybe one of your draw methods (drawDividerInRect?) might be altering the splitview in some way? If that is the case, I'd restructure your code as it's a bad idea to have drawing code change any state in the object. Maybe if you could provide a stack of the loop, we could better ascertain what is happening.


paul
_______________________________________________
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: "Lawrence Sanbourne" <email@hidden>
References: 
 >Re: Animated split view collapsing (From: "Lawrence Sanbourne" <email@hidden>)
 >Re: Animated split view collapsing (From: Paul Kim <email@hidden>)
 >Re: Animated split view collapsing (From: "Lawrence Sanbourne" <email@hidden>)

  • Prev by Date: rename check? And alias...
  • Next by Date: Re: Problem with prebinding and Frameworks
  • Previous by thread: Re: Animated split view collapsing
  • Next by thread: Re: Animated split view collapsing
  • Index(es):
    • Date
    • Thread