Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a622a01264
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (27 sloc) 1.03 kb
//
// M2DocumentController.h
// monsters2
//
// Created by Rinik Vojto on 1/11/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <AppKit/AppKit.h>
/**
Adds shared context management functionality to document controller.
*/
@interface M2DocumentController : NSDocumentController
/****************************************************************************
@name Core Data stack
****************************************************************************/
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
/**
Saves shared context
*/
- (void)saveShared;
/****************************************************************************
@name Helpers
****************************************************************************/
- (NSURL *)applicationFilesDirectory;
@end
Jump to Line
Something went wrong with that request. Please try again.