:03:50 -0400
To: Arvin Bhatnagar
mailto:arvin.bhatna...@one.verizon.com>>
Cc: cocoa-dev mailto:cocoa-dev@lists.apple.com>>
Subject: Re: CALayer: Animation using actions property
On Apr 20, 2011, at 8:07 AM, Bhatnagar, Arvin wrote:
The code below, when compiled w/ Xcode 3.2 does not dis
On Apr 20, 2011, at 8:07 AM, Bhatnagar, Arvin wrote:
> The code below, when compiled w/ Xcode 3.2 does not display the layer…but,
> with Xcode 4 it works just fine?
>
> I have no idea why this is the case.
I'm not certain what would cause this unfortunately. The only possibility I can
think o
backward= nil;
groupAnimation = nil;
dotConstraints = nil;
}
}
Thanks,
Arvin
From: David Duncan
Date: Tue, 19 Apr 2011 12:31:58 -0400
To: Arvin Bhatnagar
Cc: cocoa-dev
Subject: Re: CALayer: Animation using actions property
On Apr 19, 2011, at 9:26 AM, Bhatnagar, A
On Apr 19, 2011, at 9:26 AM, Bhatnagar, Arvin wrote:
> Ok that worked if I were animating just one layer on its own. However, I am
> animating three separate layers in sequence to one another. I know we can
> group multiple animations for one layer (CAGroupAnimation). Other than using
> a time
Ok that worked if I were animating just one layer on its own. However, I am
animating three separate layers in sequence to one another. I know we can group
multiple animations for one layer (CAGroupAnimation). Other than using a timer,
is there an alternative to coordinating the animation of dif
Thanks David, I am going to try that suggestion right now.
On 4/19/11 11:59 AM, "David Duncan" 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 w
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 @"op
I fixed my own issue.
It has to do with the timer. In short when using a timer to animate a
layer I was using scheduledTimerWithTimeInterval versus
timerWithTimeInterval. When I use timerWithTimeInterval I then set the
Fire Date and add the timer to three modes: (NSRunLoopCommonModes,
NSDefaultRun
Hi All,
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 th