On Sep 7, 2010, at 11:14 AM, Phillip Mills wrote:

>  Perhaps I need to use my own container view and dynamically alternate 
> UILabels and UITextFields...or subclass UITextView...or build a new view type 
> from scratch....  Core text?  Other 
> suggestions?_______________________________________________

My $0.02: If all the lines are formatted the same way, and all the annotations 
are formatted the same way, I'd vote for alternating textfields and labels. 
However, I think whatever approach you choose is going to get complex. For 
example, you will constantly have to move things around as the user 
adds/removes text in the active textfield. CoreText can draw whatever you like, 
but does no editing.

The simplest thing might be to display all the lines and annotations in one 
view using CoreText, and edit lines in a different view, rather than in-place. 
Maybe, user touches a line to pop up a modal view that contains the edited 
line, keyboard, and any other controls that are appropriate.  Not the best user 
experience, but certainly doable.
_______________________________________________

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