Re: The dreaded "UITableView won't refresh" problem: SOLVED.
Re: The dreaded "UITableView won't refresh" problem: SOLVED.
- Subject: Re: The dreaded "UITableView won't refresh" problem: SOLVED.
- From: Matt Neuburg <email@hidden>
- Date: Fri, 15 Oct 2010 18:26:35 -0700
- Thread-topic: The dreaded "UITableView won't refresh" problem: SOLVED.
On Wed, 13 Oct 2010 16:57:22 -0700, G S <email@hidden> said:
>Turns out to be a simulator bug, or a bug in the way Xcode is loading
>apps into the simulator.
>
>The simulator was showing a UI from a XIB that had long since been
>deleted from disk and removed from the project. And yet the compiled
>nib from it was turning up in the app package, even after cleans.
>
>Even deleting that nib from the app bundle or deleting the whole build
>directory wasn't enough; it still showed up in the simulator. I had to
>manually invoke the app deletion on the simulator screen to get rid of
>it.
>
>Hopefully this info will save someone else some time
Well, it didn't save you any time when I gave this very advice, here, in a
similar situation:
http://www.cocoabuilder.com/archive/xcode/293709-app-failure-in-simulator.h
tml
Every once in a while, it turns out you're not necessarily running the
build you think you are - that is, you can say "build and run" but what
gets run in the simulator is not the build of the code you were just
looking at, but rather some stale version of the build instead. This is
why I advise periodically doing a Reset (or, as you say, an app deletion,
which can have the same effect). m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
_______________________________________________
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