• 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
Need advice on a custom UI component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need advice on a custom UI component


  • Subject: Need advice on a custom UI component
  • From: Joe Lester <email@hidden>
  • Date: Fri, 11 Oct 2002 09:53:59 -0500

I have a concept for a custom UI component and I'm not quite sure where to begin. A picture is worth a thousand words, so here's a link that shows a rough illustration of what I'd like to do:

http://homepage.mac.com/joe_lester/viewConcept.jpg

As you can see, it's for displaying and selecting verses from the bible (or any organized text document) in a way that's easy to read (as opposed to breaking up the individual verses in a NSTableView). The selection could then be dragged and dropped, etc. Ideally, the component would not require all the "verses" to be in memory at the same time, but would "ask" a data source for them as they become visible in a scroll view (kind of like an NSTableView does it).

I'm not sure what approach to take in the design of this component. Should I be looking at subclassing an NSTextView? If someone could give me some pointers or hints at some of the classes and methods I should be looking at, I'd greatly appreciate it.

Or, if you think I should be considering other options, please let me know. I've read most of the Cocoa text system docs but I need to get some more clarity on the right path to take.

Thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Toronto cocoa programmers?
  • Next by Date: Re: Toronto cocoa programmers?
  • Previous by thread: Re: Toronto cocoa programmers?
  • Next by thread: Re: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
  • Index(es):
    • Date
    • Thread