• 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: Andy Lee <email@hidden>
  • Date: Tue, 15 Jul 2008 15:34:16 -0400

On Jul 15, 2008, at 2:45 PM, JArod Wen wrote:
After the application was running, I debugged the code and checked the classes of TableController and TableSource. They are all connected in runtime.

For table view, I only connected it to TableController -> dataTable, and its dataSource to TableController -> tableSource. All of them are connected properly in runtime.

I haven't been reading closely, so this might be a wasted question... Do you have an instance of TableController in your nib *as well as* having one be the File's Owner? The dataSource connection should be to File's Owner, and there shouldn't be an instance of TableController in your nib.


Sorry if you're experienced enough to understand this. It's bitten a couple of newcomers recently.

--Andy


_______________________________________________

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>)
 >Re: Problem on reload data source of a table view (From: JArod Wen <email@hidden>)

  • Prev by Date: Re: KVV and the missing Discard Changes button
  • Next by Date: NSDateFormatter -dateFromString Question
  • Previous by thread: Re: Problem on reload data source of a table view
  • Next by thread: Re: Problem on reload data source of a table view
  • Index(es):
    • Date
    • Thread