Re: CALayer shadow and animation
Re: CALayer shadow and animation
- Subject: Re: CALayer shadow and animation
- From: David Duncan <email@hidden>
- Date: Wed, 17 Dec 2008 10:25:03 -0800
On Dec 17, 2008, at 12:39 AM, Fabrizio Guglielmino wrote:
I'm working with iPhone SDK 2.1, trying to make some simple effects on
layers I can't found the properties for the shadow (shadowOffset,
shadowColor....),
are they not avaiable on iPhone? Is there some alternative to make a
layer shadow (excluding making it by hand)?
Correct, these features are not available on iPhone OS.
There is also an other question: I'd like to make a draggable layer
with a finger. I've used touchesBegan, touchesMoved, touchesEnded and
it works fine changing the position property,≤the problem is about
animation I would like this movement don't be animated. I've tryed to
use removeAllAnimation but it dosn't work.
Take a look at the docs for CATransaction, they describe how to enable
and disable actions (which cause animation).
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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