• 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: Displaying a string with Core Animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying a string with Core Animation


  • Subject: Re: Displaying a string with Core Animation
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 30 Sep 2009 08:37:58 -0700


On Sep 30, 2009, at 3:41 AM, Gabriel Zachmann wrote:

This sort of works, EXCEPT that the string is always behind the image!
I tried to set the zPosition of my image sub-layer to either +1.0 or -1.0, to no avail.

I think layers are always drawn in front of the view's own content.

I also tried to make my view layer hosted and add a CATextLayer with the string property set to my message string (and font and fontSize).
But that never gets displayed.

That's the way I would do it. Something must be wrong with the way you set up the text layer; maybe its coordinates put it outside the view's bounds.


—Jens_______________________________________________

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: 
 >Displaying a string with Core Animation (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Re: NSTableColumn value binding + keypath over a relationship
  • Next by Date: Re: NSTimer and modal panels
  • Previous by thread: Displaying a string with Core Animation
  • Next by thread: Re: Displaying a string with Core Animation
  • Index(es):
    • Date
    • Thread