NSApplication | Apple Developer Documentation

An object that manages an app’s main event loop and resources used by all of that app’s objects.