• 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
Injecting text into a CALayer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Injecting text into a CALayer?


  • Subject: Injecting text into a CALayer?
  • From: Jon Sigman <email@hidden>
  • Date: Fri, 15 Apr 2011 11:11:10 -0700 (PDT)

In iOS 4.3, I have an app that uses CALayers to draw small circles on the screen
like so:

  CALayer *_layer = [[CALayer alloc] init];
  [_layer setDelegate:self];
  [_layer setBounds:CGRectMake( 0,0,100,100 )];
  [_layer setNeedsDisplay];

Is there a way I can draw text into the circle regions? I'd like to label them.
-Jon
_______________________________________________

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: Injecting text into a CALayer?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Searchable Cocoa and Carbon APIs?
  • Next by Date: Re: dealing with alias files, finding URL to target file
  • Previous by thread: Re: dealing with alias files, finding URL to target file
  • Next by thread: Re: Injecting text into a CALayer?
  • Index(es):
    • Date
    • Thread