• 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: Glenn Zelniker <email@hidden>
  • Date: Fri, 13 Oct 2006 11:15:34 -0400


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

I've figured out how to display only the C-array in NSTableView, however i've getting for every Row the same value, e.g for 3 rows and 1 channel:

(remember updates every 5 seconds via reloadData the NSTableView)

Channel1
-4.555
-4.555 => from previous row :-(
-4.555 => from previous row :-(

For method numberOfRowsInTableView I've only a counter which gets incremented after every reloadData.

- (int) numberOfRowsInTableView:(NSTableView *)tableView
{
	return counter;
}

Any help / suggestion ?

Re-post your -objectValueForTableColumn:rowIndex method, please. The - numberOfRowsInTableView: data-source method alone isn't of much use in chasing down the problem.


GZ

_______________________________________________
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 with NSArray and C-array question
      • From: Gilles Celli <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>)

  • Prev by Date: KVC Problems with Indexed Accessor for To-Many Properties
  • 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