• 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: CATextLayer question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CATextLayer question


  • Subject: Re: CATextLayer question
  • From: David Duncan <email@hidden>
  • Date: Tue, 13 Nov 2007 14:45:26 -0800

On Nov 13, 2007, at 1:41 PM, John Clayton wrote:

I have an issue with CATextLayer that I'd like to explore. The basic question is this: why does a CATextLayer that has a 'duration' specified for it, not draw anything?


Because the beginTime attribute is sometime in the past, likely the distant past. Since the sum of the beginTime and your duration says that the animation has expired, the layer is hidden. Generally, if you want to set a layer's duration, you should also set its beginTime.
--
David Duncan
Apple DTS Animation and Printing
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


  • Follow-Ups:
    • Re: CATextLayer question
      • From: John Clayton <email@hidden>
References: 
 >CATextLayer question (From: John Clayton <email@hidden>)

  • Prev by Date: Re: Finding NSTableColumn in gdb
  • Next by Date: Re: Test Cases + Nib files
  • Previous by thread: CATextLayer question
  • Next by thread: Re: CATextLayer question
  • Index(es):
    • Date
    • Thread