• 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
NSTableView row counter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView row counter


  • Subject: NSTableView row counter
  • From: Moray Taylor <email@hidden>
  • Date: Sun, 15 Feb 2004 14:00:28 +0000

Hi,

I am currently investigating ways to put a row counter onto my NSTableView, like a spreadsheet. I can't just use the first column, as it disappears when I scroll horizontally.

I was thinking of using a NSRulerView, as it does everything I need it to do, apart from the numbers are in the wrong places, and just don't look the way I want them to. Should I overide the drawRect:, or am I barking up the wrong tree?

The line counter in XCode's text editor is almost what I want, how is that done?

Thanks v much

Moray
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView row counter
      • From: Ryan Bates <email@hidden>
  • Prev by Date: What to do with a bad nib?
  • Next by Date: [NSString UTF8String] performance
  • Previous by thread: RE: What to do with a bad nib?
  • Next by thread: Re: NSTableView row counter
  • Index(es):
    • Date
    • Thread