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

NSTableView question


  • Subject: NSTableView question
  • From: "Peter Karlsson" <email@hidden>
  • Date: Tue, 15 Feb 2005 10:11:17 +0100

Dear list!

I have a tableview with one column. In that column I have thousands of
names. I need a way to give these names id's.

For example if I click on a name, I want that id. And if I click on another
name, I want that id and so on. But this must also work after I have sorted
the table in alphabetical order, or moved the names around. The names can
be duplicates so I can't use the names as id's.

I'm thinking of using 2 columns in my table, one for the names and a second
(hidden) one for the id's, but is this really the best way to go?

Any suggestions?

Best regards Peter

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTableView question
      • From: Jeremy French <email@hidden>
    • Re: NSTableView question
      • From: Jeremy Dronfield <email@hidden>
  • Prev by Date: Casting from NSArray to a custom class
  • Next by Date: Saving NSObjectController info
  • Previous by thread: Re: Casting from NSArray to a custom class
  • Next by thread: Re: NSTableView question
  • Index(es):
    • Date
    • Thread