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 (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