• 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: UI blocking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI blocking


  • Subject: Re: UI blocking
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 17 May 2010 15:45:28 +0200

On May 17, 2010, at 1:21 PM, Paul Sanders wrote:
> The approach I use is to subclass NSApplication and throw awat mouse, keyboard and gesture events in -[MySubclassedNSApplication sendEvent:] instead of calling super.  For added style, beep.

 For the OP's case, you don't even need to subclass. I'd suppose you should be able to run your own event loop by calling nextEventMatchingMask:... and (as needed) sendEvent: in a loop (+ creating/destroying an autorelease pool each time round).

-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >UI blocking (From: Tobias Jordan <email@hidden>)
 >Re: UI blocking (From: Charles Srstka <email@hidden>)
 >Re: UI blocking (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Can't get the formatted number of NSTextfield
  • Next by Date: [iPhone] How to access the Cancel button in a search bar?
  • Previous by thread: Re: UI blocking
  • Next by thread: Re: UI blocking
  • Index(es):
    • Date
    • Thread