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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to