• 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: Button doesn't respond in a modal sheet created from window NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Button doesn't respond in a modal sheet created from window NIB


  • Subject: Re: Button doesn't respond in a modal sheet created from window NIB
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 23 Nov 2004 12:19:55 -0700


On Nov 23, 2004, at 12:09 PM, Keith Blount wrote:

The only difference I can see is that
the other sheet I use is created from an action
connected to a menu, and there's not a for... loop
bang in the middle of it. Could this be the problem?

No.

If somebody could tell me what I'm doing wrong, I
would be very grateful.

You've got a method that runs a for loop in the main thread. While this is going on, the run loop will not be processing events, which means it will not invoke the action until your method is finished and the run loop can start processing again. To resolve this, you either need to move your processing loop to another thread, or process events inside your processing loop.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Button doesn't respond in a modal sheet created from window NIB
      • From: Keith Blount <email@hidden>
References: 
 >Button doesn't respond in a modal sheet created from window NIB (From: Keith Blount <email@hidden>)

  • Prev by Date: Button doesn't respond in a modal sheet created from window NIB
  • Next by Date: Re: [SOLVED] Crash when creating instance of class
  • Previous by thread: Button doesn't respond in a modal sheet created from window NIB
  • Next by thread: Re: Button doesn't respond in a modal sheet created from window NIB
  • Index(es):
    • Date
    • Thread