Text display consistency
Text display consistency
- Subject: Text display consistency
- From: Kenneth Baxter <email@hidden>
- Date: Tue, 21 Dec 2010 12:52:02 +0000 (GMT)
Hi, I have an application that needs to display text on both Mac OS X and on iOS. I'm sticking to core technologies for my drawing and drawing all my stuff into cgcontexts for maximum portability.
I sometimes need the user to edit the text, so am planning to add a subview (NSTextView / UITextView) when the user needs to edit the text.
What is the best way to minimize the customization for the two versions of the application, and ensure that when I put the text view over the top, that it is exactly the same size and shape (kerning/wrapping etc) when drawn in the text view and when drawn directly in the cg context?
Any gotcha's I should know about?
TIA
Ken.
_______________________________________________
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