Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

detz

macrumors 65816
Original poster
Jun 29, 2007
1,051
0
ok..I have a function, at the top I hide a UILabel, in the middle I do some processes(grab a file online) and at the end I show the label. All of this in one function and the labels never get hidden because the UI does not get updated before the long process begins. Any ideas on how I can force refresh this?
 

dgdosen

macrumors 68030
Dec 13, 2003
2,726
1,364
Seattle
You can make a delegate for the callback, but I would have that change your model and not the view... (if you build apps that way). You could then reload the data into whatever view you're working with in the delegate.

Check out some of the samples that load a form modally. They create a delegate to handle the form going away. It's the same thing for you, only you're waiting for a file to show up. They do that exact scenario with table views.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.