Thanks David, I am going to try that suggestion right now. On 4/19/11 11:59 AM, "David Duncan" <david.dun...@apple.com> wrote:
>On Apr 18, 2011, at 7:49 PM, Bhatnagar, Arvin wrote: > >> This is probably a simple question for someone other than I. >> >> I have a very simple CALayer which is a simple plain layer with a white >>background. I then create a CABasicAnimation and add it to the actions >>property to animate the @"opacity". From here I setup a timer to fire >>and toggle the opacity between 0 and 1 which animates. > > >Your analysis of the timer was correct, but I wanted to talk to this >point instead rather than using a timer to toggle the opacity, you >could just add an animation to the layer that auto-reverses and repeats >indefinitely, which would likely give you the same effect without having >to run a timer at all. >-- >David Duncan > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com