• 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
Design Advice Sought for Interesting NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Design Advice Sought for Interesting NSTableView


  • Subject: Design Advice Sought for Interesting NSTableView
  • From: Chris Williams <email@hidden>
  • Date: Sun, 18 Nov 2007 18:30:18 -0800
  • Thread-topic: Design Advice Sought for Interesting NSTableView

I am making an NSTableView in my app that has one column with an interesting
structure.  Each row in the table will be one subtask that is running for
the application.  I want each row to look like this:

  <task description>
  <count remaining> <progress indicator>

No, that didn't get wrapped funny in email, I want each table row to be
multiple lines.  For example:

  Scanning folder: xx/xxx
  1328 [----------            ]

With (of course) a real progress indicator in there.  Obviously it will be
read-only, and the only action would be that if you click (double-click?) on
a row it would show you more detail on the progress of the task.

My question is how best to implement this.

I clearly will need some subclass of NSCell for the table view, but beyond
that I'm a bit stumped as to the best way to handle it.  Should this be an
NSImageCell with me attempting to draw this myself?  I know how to draw the
text and numbers, but clearly don't want to try to draw the progress
indicator.  So, I'm a bit lost about how to start.

Can anyone help me with advice, a pointer to a sample I've overlooked,
or...?

Thanks,
Chris

_______________________________________________

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: Design Advice Sought for Interesting NSTableView
      • From: Jonathon Mah <email@hidden>
    • Re: Design Advice Sought for Interesting NSTableView
      • From: j o a r <email@hidden>
  • Prev by Date: CoreData transient attribute binding writes but doesn't read
  • Next by Date: Re: Leopard performance penalty (3x slower), NSPopAutoreleasePool
  • Previous by thread: Re: CoreData transient attribute binding writes but doesn't read
  • Next by thread: Re: Design Advice Sought for Interesting NSTableView
  • Index(es):
    • Date
    • Thread