• 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
UITableView Won't Update; Crashes with EXC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UITableView Won't Update; Crashes with EXC_BAD_ACCESS


  • Subject: UITableView Won't Update; Crashes with EXC_BAD_ACCESS
  • From: Jason Berlinsky <email@hidden>
  • Date: Fri, 26 Feb 2010 20:16:55 -0500

I'm loading data dynamically from an API using a UISearchBar and trying to display it, using something like this: http://gist.github.com/316354

My UITableViewController code is set up to read from self.data, which is initially a NSArray of @"" elements, as such: http://gist.github.com/316355

All I get from GDB when I do this is: http://gist.github.com/316357

It looks like the NSArray is being populated properly, then things are failing on/after the reloadData call (breakpoints confirm this, but can't isolate where things are going wrong)

When I remove the NSLog(@"%@",self.data), the application doesn't crash, but the UITableView doesn't update. When I replace it with fast enumeration over self.data, I get the crash again (crash log: http://pastebin.com/NDVKLsJC).

Any ideas?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 Won't Update; Crashes with EXC_BAD_ACCESS
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: Re: Setting parent window
  • Next by Date: #define and if statements
  • Previous by thread: Layer-backed view issue with isOpaque
  • Next by thread: Re: UITableView Won't Update; Crashes with EXC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread