Yes, I know this goes against the whole MVC principle!
However, I\'m just trying to whip up a pretty trivial application - and I\'ve pretty much implemented it. Howe
Here is Casper's solution, updated for ARC as per Marco's suggestion:
#import
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
NSApplication *application = [NSApplication sharedApplication];
AppDelegate *appDelegate = [[AppDelegate alloc] init];
[application setDelegate:appDelegate];
[application run];
}
return EXIT_SUCCESS;
}