Re: Making a manually polled app loop in games?
Re: Making a manually polled app loop in games?
- Subject: Re: Making a manually polled app loop in games?
- From: Michael Dautermann <email@hidden>
- Date: Fri, 16 Feb 2007 11:41:25 +0100
On Feb 16, 2007, at 9:38 AM, Joachim Bengtsson wrote:
Hi,
I'm sure I'm missing some great already existant documentation on
how to do it, but how do you manually startup and poll a cocoa
application? I'm on a team writing a semi-largish game, and I ugly-
hacked together the first method I could find, which happened to be
some deprecated ol' carbon stuff like GetMainDevice and
EventHandlerUPPs and whatnot. It's all being run as libraries to
Python, so I can't use the classic 'main() {return NSApplicationMain'.
manually startup?
do you mean like what's available in [ NSWorkspace
launchApplication: ] or do you mean from the command line?
You can also send events between Cocoa using NSPipe objects: <http://
developer.apple.com/documentation/Cocoa/Conceptual/OperatingSystem/
Tasks/pipes.html>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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