examples/tutorials: Use cocoa crate to initialize the shared NSApplication instance
This is required for OpenGL to work nowadays on macOS. Simply running an CFRunLoop on the main thread is not sufficient.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This is required for OpenGL to work nowadays on macOS. Simply running an CFRunLoop on the main thread is not sufficient.