• 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: Problem on reload data source of a table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem on reload data source of a table view


  • Subject: Re: Problem on reload data source of a table view
  • From: JArod Wen <email@hidden>
  • Date: Tue, 15 Jul 2008 21:37:31 -0400

Finally the problem is solved. There is a missing line to set the identifier of each column so -tableView:objectValueForTableColumn:row: always return nil since it cannot retrieve the correct key of column. Thanks for all of your helps, and wish this helpful to any other guys.

On Jul 15, 2008, at 1:45 PM, j o a r wrote:


On Jul 15, 2008, at 10:36 AM, JArod Wen wrote:

The dataSource of TableView is connected to tableSource. There is a TableController containing two IBOutlets to both tableSource and dataTable. Then dataTable.dataSource is connected to tableSource in IB. Anything I lost here?


You might want to verify, at runtime, that this connection is set. You can do this either in the debugger, or just using a standard debug log statement.

Btw.: Have you set up any bindings for this table view?

j o a r



--------------- JArod Wen




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem on reload data source of a table view (From: JArod Wen <email@hidden>)
 >Re: Problem on reload data source of a table view (From: Jens Alfke <email@hidden>)
 >Re: Problem on reload data source of a table view (From: JArod Wen <email@hidden>)
 >Re: Problem on reload data source of a table view (From: Corbin Dunn <email@hidden>)
 >Re: Problem on reload data source of a table view (From: JArod Wen <email@hidden>)
 >Re: Problem on reload data source of a table view (From: j o a r <email@hidden>)
 >Re: Problem on reload data source of a table view (From: JArod Wen <email@hidden>)
 >Re: Problem on reload data source of a table view (From: j o a r <email@hidden>)

  • Prev by Date: Re: [[NSDate alloc] initWithString] crashes with valid string
  • Next by Date: Re: Newbie: How to understand Xcode's documentation
  • Previous by thread: Re: Problem on reload data source of a table view
  • Next by thread: NSMenuItem custom view and isHighlighted
  • Index(es):
    • Date
    • Thread