Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 694 Bytes

File metadata and controls

28 lines (17 loc) · 694 Bytes

ApplicationWithMessageLoop

This example demonstrates the use of NSApplication and NSEvent clesses.

Sources

ApplicationWithMessageLoop.m

CMakeLists.txt

Generate and build

To build this project, open "Terminal", go to your project folder and type following lines:

mkdir build
cd build
cmake .. -G "Xcode"
open ./ApplicationWithMessageLoop.xcodeproj

Select ApplicationWithMessageLoop project and type Cmd+R to build and run it.

Output

Screenshot

Screenshot