• 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
Re: NSPopUpButton updated after the fact
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSPopUpButton updated after the fact (From: Ryan Homer <email@hidden>)

  • Prev by Date: Re: API to convert string to number?
  • Next by Date: Re: API to convert string to number?
  • Previous by thread: NSPopUpButton updated after the fact
  • Next by thread: Newbie: Dynamically filling NSTableView
  • Index(es):
    • Date
    • Thread