Re: [NSApp stop:]
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