• 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: Posting commands?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Posting commands?


  • Subject: Re: Posting commands?
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 29 Aug 2006 18:29:32 -0400


See NSObject's -performSelector:withObject:afterDelay: ... I believe this is what you're looking for. A delay of zero will delay it until the next trip through the run loop.


--
I.S.


On Aug 29, 2006, at 5:17 PM, Ralf Menssen wrote:

Maybe that's a stupid question, but how can I easily postpone processing until the next event queue processing? In former frameworks we had this PostCommand mechanism, which was perfect for my needs. Background: I get a request from dragging and can't process it immediatly, because it involves Bluetooth activity, which requires me to call CFRunLoop resulting in further recursive calls from dragging and finally a crash.

Thanks for any suggestions,

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


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Posting commands? (From: Ralf Menssen <email@hidden>)

  • Prev by Date: Re: NSTextView - supplying word completions for insertion point?
  • Next by Date: Re: NSATSTypesetter garbled text when switching to next container
  • Previous by thread: Posting commands?
  • Next by thread: Re: Posting commands?
  • Index(es):
    • Date
    • Thread