Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by williamcotton

2 years ago

It has to hand over the reigns to the Objective-C runtime to allow for all the messages being passed between objects.

I’m not sure you want to spend your time rewriting what NSApp is doing!

1 comment

williamcotton

Reply

saagarjha  2 years ago

The runtime knows how to do that already. -[NSApplication run] sets up the runloop to drain events among other things.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities