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 (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