• 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 rendering/editing on OSX & iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text rendering/editing on OSX & iOS


  • Subject: Text rendering/editing on OSX & iOS
  • From: Kenneth Baxter <email@hidden>
  • Date: Tue, 21 Dec 2010 13:04:22 +0000 (GMT)

Hi, I have an application which I plan to roll out on both iOS and MacOS X, and it needs to display text in various places on a series of views. I am doing all the drawing using the Core technologies (CGContext drawing) to make the maximum reuse of code. I've done most of the graphical stuff and am just moving on to the text.

Sometimes the user needs to edit the text, so I am planning to add a subview (NSTextView / UITextView) while they are editing, but I need to be sure that it's going to be exactly the same rendering size, position, wrapping etc. between the text views and the core drawing.

Is there anything special I need to look out for to ensure that it's the same? Is this the best way for me to achieve my goal of maximum reuse and seamless switching between the drawn text and the text view for editing?

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


  • Follow-Ups:
    • Re: Text rendering/editing on OSX & iOS
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Text display consistency
  • Next by Date: Re: Text rendering/editing on OSX & iOS
  • Previous by thread: Re: Text display consistency
  • Next by thread: Re: Text rendering/editing on OSX & iOS
  • Index(es):
    • Date
    • Thread