What's the modern equivalent of GetNextEvent in Cocoa?

I suppose the nearest thing to a Cocoa equivalent would be -NSApplication nextEventMatchingMask:untilDate:inMode:dequeue: . But bear in mind that GetNextEvent is archaic even for Carbon. The preferred way of handing events is the "don't call us, we'll call you" scheme, where the app calls NSApplicationMain or RunApplicationEventLoop and events are dispatched to you.

There is a USB hidapi that works for mac on windows. signal11.us/oss/hidapi.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions