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

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.
References: 
 >Newbie: TableView question (From: "Nilay Hazra" <email@hidden>)

  • Prev by Date: Re: multiple selection not taking in NSOpenPanel
  • Next by Date: Re: Newbie: TableView question
  • Previous by thread: Newbie: TableView question
  • Next by thread: Re: Newbie: TableView question
  • Index(es):
    • Date
    • Thread