Re: NSPopUpButton updated after the fact
Re: NSPopUpButton updated after the fact
- Subject: Re: NSPopUpButton updated after the fact
- From: Brian Smith <email@hidden>
- Date: Wed, 28 Feb 2007 08:08:00 +0800
On Feb 27, 2007, at 9:06 PM, Ryan Homer wrote:
while(connectionStatus != RHMSNConnectionOnline
&& [NSDate timeIntervalSinceReferenceDate] < limitTimeInterval)
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:limitDate];
I would say this is your problem, since your taking over the main run
loop which doesn't seem like a good idea. I would suggest setting a
delegate for the connection and handling the connection status with
it. Plus, there are some notification that you can handle.
Regards,
Brian Smith
http://www.suaveware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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