Re: Newbie: TableView question
Re: Newbie: TableView question
- Subject: Re: Newbie: TableView question
- From: email@hidden
- Date: Tue, 29 Apr 2003 14:46:49 +0200
On mardi, avril 29, 2003, at 02:21 PM, Nilay Hazra wrote:
Hi,
I'm very new in Cocoa/Objective-C programming. I just need to display
some
data in a TableView. But for some reason the data are NOT getting
displayed in
the table. It seems that I've done everything as expected in the NIB
file.
I've made connection from the NSTableView's dataSource outlet to
File's Owner.
I've also made connection in the reverse way (from File's Owner to
TableView).
But the data are not getting displayed in the table, only the blank
table is
coming. After debugging the code, I've found that the control is NOT
coming
inside the Data Source method objectValueForTableColumn() (although the
control is coming inside another Data Source method
numberOfRowsInTableView()
). May be I'm missing out something. Can anybody help me?
Sorry for asking a very basic question.
Can you add a printf or NSLog in your numberOfRowsInTableView: method
in order to print the number of rows returned by this method?
_______________________________________________
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.