Skip to content

Instantly share code, notes, and snippets.

#import <Foundation/Foundation.h>
int main(int argc, const char * argv[])
{
NSRunLoop *runLoop;
CLIMain *main; // replace with desired class with properties BOOL shouldExist and int exitCode
@autoreleasepool
{
runLoop = [NSRunLoop currentRunLoop];