• 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: iOS: String Drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS: String Drawing


  • Subject: Re: iOS: String Drawing
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 12 Jul 2011 11:05:58 -0700

On Tue, Jul 12, 2011 at 9:26 AM, Development
<email@hidden> wrote:
> Well because the label can be rotated, I had to stick it inside of another view (Otherwise when I moved or scaled it, the whole thing went nuts). So in that view's code where the actual  shadow was set it resizes it's rectangle as well as the label's.
> However, on the bright side using CALayer for the shadow fixes everything, and now the text, italic, bold, regular, shadowed or not looks great.
> Using the same technique I also fixed an issue I'd had in Image shadows so those look great too.

Do yourself a favor and watch the video of Session 121 - Understanding
UIKit Rendering, from WWDC2011. They talk about different ways to
apply shadows, and the implications for each.

--Kyle Sluder
_______________________________________________

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: 
 >iOS: String Drawing (From: Development <email@hidden>)
 >Re: iOS: String Drawing (From: David Duncan <email@hidden>)
 >Re: iOS: String Drawing (From: Development <email@hidden>)

  • Prev by Date: Re: Autosizing mask doesn't work with NSSegmentedControl
  • Next by Date: Removing (foo) from a NSString
  • Previous by thread: Re: iOS: String Drawing
  • Next by thread: Autosizing mask doesn't work with NSSegmentedControl
  • Index(es):
    • Date
    • Thread