• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CALayer shadow and animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CALayer shadow and animation (From: "Fabrizio Guglielmino" <email@hidden>)

  • Prev by Date: Re: More - Safari Download Security Alerts
  • Next by Date: Re: Background color of disclosure triangle row
  • Previous by thread: CALayer shadow and animation
  • Next by thread: Saving NSImage with compression
  • Index(es):
    • Date
    • Thread