• 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: update a tableView from a different class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update a tableView from a different class


  • Subject: Re: update a tableView from a different class
  • From: Graham Cox <email@hidden>
  • Date: Thu, 05 May 2011 11:45:54 +1000

On 05/05/2011, at 11:40 AM, Martin Batholdy wrote:

> So [table reloadData]; gets executed but has no effect ...


Well, it definitely does have an effect, just not the one that you are assuming.

Show the code for your data source. How does the table get its data from <content>? Set a breakpoint in -tableView:objectValueForTableColumn:row: and check it gets called after -reloadData has been called (it might be deferred until the next event cycle - I forget whether that's the case or whether the reload is synchronous with -reloadData).

--Graham


_______________________________________________

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: 
 >update a tableView from a different class (From: Martin Batholdy <email@hidden>)
 >Re: update a tableView from a different class (From: Graham Cox <email@hidden>)
 >Re: update a tableView from a different class (From: Martin Batholdy <email@hidden>)

  • Prev by Date: Re: update a tableView from a different class
  • Next by Date: Threading synchronization: does a primitive exists?
  • Previous by thread: Re: update a tableView from a different class
  • Next by thread: Threading synchronization: does a primitive exists?
  • Index(es):
    • Date
    • Thread