Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
- Subject: Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
- From: Kyle Sluder <email@hidden>
- Date: Mon, 8 Mar 2010 13:31:24 -0800
On Mon, Mar 8, 2010 at 1:26 PM, Neil Clayton <email@hidden> wrote:
> drawRect works just fine.
I'm guessing that if all you were doing is what you've shown, you
wouldn't really need this code at all. :)
But you might want to consider building a text system stack and
reusing it, rather than using -drawInRect: which just has to use a
temporary text system anyway.
--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