Source

Barebones CA Particles 01 / AppDelegate.m

Full commit
//
//  particle_01AppDelegate.m
//  particle_01
//

#import "AppDelegate.h"

@implementation AppDelegate

@synthesize window;

//Quit app when the window is closed
-(BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication {
    return YES;
}

- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender {
	return NSTerminateNow;
}

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
	// Insert code here to initialize your application 
}

@end