diff --git a/Medianno/MAAppController.h b/Medianno/MAAppController.h index d0312c4..1e6e863 100644 --- a/Medianno/MAAppController.h +++ b/Medianno/MAAppController.h @@ -16,6 +16,6 @@ typedef void (^MASheetBlock)(NSInteger returnCode); @end -@interface MAAppController : NSObject +@interface MAAppController : NSObject @end diff --git a/Medianno/MAAppController.mm b/Medianno/MAAppController.mm index 5055f56..9d67596 100644 --- a/Medianno/MAAppController.mm +++ b/Medianno/MAAppController.mm @@ -31,14 +31,9 @@ @implementation MAAppController -- (id)init +- (void)applicationDidFinishLaunching:(NSNotification *)notification { - self = [super init]; - if (self) { - // Initialization code here. - } - - return self; + [[NSDocumentController sharedDocumentController] setAutosavingDelay:30.0]; } @end