Re: Strange flipping bug in Core Animation?
Re: Strange flipping bug in Core Animation?
- Subject: Re: Strange flipping bug in Core Animation?
- From: Matt Long <email@hidden>
- Date: Thu, 7 Aug 2008 15:49:52 -0600
When you call addSubLayer, you are in essence telling the layer to
animate so any properties you changed in the layer will animate after
adding the layer. You are doing this in your awakeFromNib which is
likely why you don't see the animation when it runs--not sure though.
You might want to hook it to a button click instead to see it run
after everything has loaded.
It might help if you explain what you are trying to do. It's not clear
from your code.
-Matt
On Aug 7, 2008, at 3:53 AM, Moray Taylor wrote:
Dear list,
I first posted this to the quartz list, but I'm starting to think
I'm the only person on it, some hopefully a Cocoa list reader can
help...
I think I've stumbled upon a bug/undocumented feature in Core
Animation, I've made a quick app to demonstrate the issue.
http://s3.amazonaws.com/TempStuff/LayerDebug.zip
Once the app runs, make sure you are in 'tab1', you can resize the
window, scroll around, all is well (apart from the disappearing blue
sublayer, but lets ignore that for now, unless anyone knows how to
fix this?)
You switch to 'tab2' and back again, fine.
BUT, if I switch to 'tab2', resize the window (even a 1 pixel
tweak), then go back to 'tab1', the layers are now upside down!
I want to use Core Anim in a shipping app, but obviously cannot
until I sort this out, so I'd really appreciate any input.
Cheers
Moray
__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses
available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
_______________________________________________
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
_______________________________________________
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