• 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
Text display consistency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: UKKQueue and CVS
  • Next by Date: Text rendering/editing on OSX & iOS
  • Previous by thread: Re: UKKQueue and CVS
  • Next by thread: Re: Text display consistency
  • Index(es):
    • Date
    • Thread