• 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
Re: NSTableView with NSArray and C-array question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView with NSArray and C-array question


  • Subject: Re: NSTableView with NSArray and C-array question
  • From: Gilles Celli <email@hidden>
  • Date: Fri, 13 Oct 2006 17:56:38 +0200


On Oct 13, 2006, at 5:50 PM, Glenn Zelniker wrote:


On Oct 13, 2006, at 11:43 AM, Gilles Celli wrote:

Until you implement the Date/Time and map it to a row index, you're not going to see anything meaningful in your table.

GZ

so you think I that I should return a NSCalendarDate in method - (int)numberOfRowsInTableView... ?

Absolutely not. You should return an int representing however many rows are supposed to be in your table. What you really need to do, however, is find a way to parameterize your data in a meaningful way that corresponds to the time-stamps for your collection of samples.


Do you intend to keep adding new samples to the bottom of the table, or do you only maintain a fixed number of rows, with the oldest samples "disappearing off the top" of the table as new ones are added to the bottom?

GZ
Yes adding new samples to the bottom of the table, then deleting all the rows at midnight... Knowing that data is acquired every 5 seconds we get about
17240 rows for 24hours...


_______________________________________________
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


References: 
 >NSTableView with NSArray and C-array question (From: Gilles Celli <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: "Mark Munz" <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Gilles Celli <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Glenn Zelniker <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Gilles Celli <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Glenn Zelniker <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Gilles Celli <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Glenn Zelniker <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Gilles Celli <email@hidden>)
 >Re: NSTableView with NSArray and C-array question (From: Glenn Zelniker <email@hidden>)

  • Prev by Date: Re: NSTableView with NSArray and C-array question
  • Next by Date: Re: NSTableView with NSArray and C-array question
  • Previous by thread: Re: NSTableView with NSArray and C-array question
  • Next by thread: Re: NSTableView with NSArray and C-array question
  • Index(es):
    • Date
    • Thread