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

Re: [NSApp stop:]


  • Subject: Re: [NSApp stop:]
  • From: Michiel de Hoon <email@hidden>
  • Date: Thu, 9 Oct 2008 22:46:02 -0700 (PDT)

--- On Fri, 10/10/08, Jason Coco <email@hidden> wrote:
> Is there a reason you want to stop the application event
> loop?
>
I want to use Cocoa in an extension module to Python. When Python is not doing anything, I am runnning Cocoa's event loop. I let the event loop listen for input on stdin (i.e., when the user types in the next Python command at the Python prompt), and I want to stop the event loop if such input is available. Then I let Python execute the command, and I restart Cocoa's event loop once Python is done. Works beautifully, except of the [NSApp stop:] wart.

--Micheil.



_______________________________________________

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: 
 >Re: [NSApp stop:] (From: Jason Coco <email@hidden>)

  • Prev by Date: KVC Question
  • Next by Date: Re: Strategy for naming support folder
  • Previous by thread: Re: [NSApp stop:]
  • Next by thread: Re: [NSApp stop:]
  • Index(es):
    • Date
    • Thread