• 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: Making a manually polled app loop in games?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Making a manually polled app loop in games? (From: Joachim Bengtsson <email@hidden>)

  • Prev by Date: How to connect NSPopupButtons, Bindings, and Core Data Entities?
  • Next by Date: NSTokenField & Space Bar selection
  • Previous by thread: Making a manually polled app loop in games?
  • Next by thread: Re: Making a manually polled app loop in games?
  • Index(es):
    • Date
    • Thread