Yeah I am using GC. I will test out the GCC compiler, thanks for the direction.

FYI: Using an NSTimer for animation increases CPU % utilization more so than 
adding the animation in the layer and letting it run.


From: David Duncan <david.dun...@apple.com<mailto:david.dun...@apple.com>>
Date: Thu, 21 Apr 2011 12:03:50 -0400
To: Arvin Bhatnagar 
<arvin.bhatna...@one.verizon.com<mailto:arvin.bhatna...@one.verizon.com>>
Cc: cocoa-dev <cocoa-dev@lists.apple.com<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 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 of is that you are using different compilers that are optimizing 
differently *and* that you are using Garbage Collection (which you allude to 
when you set various values to nil). But if you aren't using GC, then I have no 
idea (and setting the values to nil has no effect either).
--
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

Reply via email to