• 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: UITableView -reloadData woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableView -reloadData woes


  • Subject: Re: UITableView -reloadData woes
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 12 Feb 2016 13:39:22 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sTX3fmVei_:SMTPCORP

On Feb 12, 2016, at 12:37 , Carl Hoefs <email@hidden> wrote:
>
> Wouldn't that necessitate the invocation of the delegate callback method -tableView:cellForRowAtIndexPath:? FWIW, the next time the app is run, the additional data does appear in the table.

Yes. In fact, the first thing you’re likely to get is the “numberOfRows…” data source callback.

> There must be something obvious I'm overlooking...

I dunno, you might have to think laterally. One particular fiendish manifestation occurs when you accidentally have two (more-or-less) identical table views, and you’re reloading data on the wrong one. Typically this occurs when the developer creates one in code, not realizing that the one on the storyboard is “real”, or when the developer accidentally duplicates the table view in IB, and doesn’t notice.

I think the one thing you can count on is that the ‘reloadData’ API isn’t broken.

_______________________________________________

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


  • Follow-Ups:
    • Re: UITableView -reloadData woes
      • From: Carl Hoefs <email@hidden>
References: 
 >UITableView -reloadData woes (From: Carl Hoefs <email@hidden>)

  • Prev by Date: 'unowned' cannot be applied to non-class type
  • Next by Date: Re: 'unowned' cannot be applied to non-class type
  • Previous by thread: UITableView -reloadData woes
  • Next by thread: Re: UITableView -reloadData woes
  • Index(es):
    • Date
    • Thread