3 ms·
I remember from years ago writing Win32 programs, that it mostly consisted of an eventloop and you have a giant switch reacting to WM_* messages. On a deep leve
by bni 13y ago
I remember from years ago writing Win32 programs, that it mostly consisted of an eventloop and you have a giant switch reacting to WM_* messages. On a deep level, does OSX apps work the same way?
- nonane 13y agoAlmost all UI frameworks work this way including Android, iOS and Cocoa. They receive events from the OS or window manager (mouse moved, keyboard button pressed, touches moved) and dispatch it to the app. The only difference is how the events are dispatched.