• 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: Animating a flickering display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animating a flickering display


  • Subject: Re: Animating a flickering display
  • From: douglas welton <email@hidden>
  • Date: Wed, 06 Jul 2011 08:33:27 -0400

Have you looked at using Quartz Composer as a solution to accomplish this?

On Jul 4, 2011, at 2:31 PM, Dr. Scott Steinman wrote:

> My program needs to display counterphase flickering test, i.e., one display is white text on a black background, and the other is black text on a white background, and the two displays are switched back and forth. I have concluded that there are two options to do this:
>
> 1. Draw each display into two NSViews, then switch back and forth between between them (via replaceSubview:with:) with an NSTimer to time the switches.
> 2. Use Core Animation to fade in one display and fade in the other.
>
> In each case, I don't know how to avoid blocking a button presses whose action would stop the animation.
>
> Which is the better way to proceed?  How do I keep the user interface responsive?
>
> Please point me in the right direction.
>
> Thank you.
>
> Scott

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Animating a flickering display
      • From: Scott Steinman <email@hidden>
References: 
 >Animating a flickering display (From: "Dr. Scott Steinman" <email@hidden>)

  • Prev by Date: Re: Dynamically loading NIB files with a common stem
  • Next by Date: Question about MPMediaQuery
  • Previous by thread: Re: Animating a flickering display
  • Next by thread: Re: Animating a flickering display
  • Index(es):
    • Date
    • Thread