Is it possible to initialize a NSRunLoop without loading any NIB files (i.e., without calling NSApplicationMain())?
NSRunLoop
NSApplicationMain()
Thanks.
Follow the recommendations in the docs for [NSRunLoop run]:
BOOL shouldKeepRunning = YES; // global NSRunLoop *theRL = [NSRunLoop currentRunLoop]; while (shouldKeepRunning && [theRL runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]);