• 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
UIKit: Customized text display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIKit: Customized text display


  • Subject: UIKit: Customized text display
  • From: Phillip Mills <email@hidden>
  • Date: Tue, 7 Sep 2010 11:14:54 -0400

I'm looking at the feasibility of an iPad application.  A primary view would allow for the entry of lines of text, paired with lines of annotation.  Annotation lines and text lines would have different attributes: height, font, edit methods....  In fact it might be better for the annotation line to contain custom graphic symbols, but that's not a certainty.  Text lines would be edited using the virtual keyboard; annotation lines would be manipulated by touch.

Essentially, it would be arranged something like:
Annotation line 1
Text line 1
Annotation line 2
Text line 2
...

My problem is that I'm not familiar enough with the UIKit to figure out what kind of view I should be using to build this interface  If I were writing a program for the Mac, I'm fairly sure that I could convince NSTextView to do what I want.  With Cocoa Touch, UITextView doesn't support multiple attributes.  UITableView doesn't support variable cell heights and is said not to work well with UITextFields in cells.  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?_______________________________________________

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: UIKit: Customized text display
      • From: Ross Carter <email@hidden>
  • Prev by Date: Re: Small memory leaks in Cocoa guts
  • Next by Date: Fwd: Continuous animation locks UI?
  • Previous by thread: Re: Small memory leaks in Cocoa guts
  • Next by thread: Re: UIKit: Customized text display
  • Index(es):
    • Date
    • Thread