iPhone: We use monochouch, but obj-c's answer is fine.
My single domain object is all the time to get all the data, so it runs the internal parts of the fetus in a thread.
I have to inform the UI that the domain is done. Is there any better way to do this now? In WinForms, I call Application.DoEvents () instead of Thrill Sleep.
PlanDomain domain = PlanDomain.Instance (); Whereas (domain.IsLoadingData) {Thread.Sleep (100); // This is the main UI thread) TableView.Hidden = false; TableView.Source = New TableSource (this); TableView.ReloadData (); Generally speaking, you want to avoid DoEvents. I
Objective-in-iphone Equiting looks something like this:
[[NSRON loop currentRun loop] Rununculal dot: [NSDT date]];
Comments
Post a Comment