moonlight-ios/Limelight/AppDelegate.h

31 lines
881 B
C
Raw Normal View History

2014-08-30 22:46:31 -04:00
//
// AppDelegate.h
// Moonlight
2014-08-30 22:46:31 -04:00
//
// Created by Diego Waxemberg on 1/17/14.
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
2014-08-30 22:46:31 -04:00
//
#if TARGET_OS_IPHONE
2014-08-30 22:46:31 -04:00
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
#else
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
@property (readonly, strong) NSPersistentContainer *persistentContainer;
@property (strong, nonatomic) NSWindow *window;
#endif
2014-08-30 22:46:31 -04:00
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
- (NSURL*) getStoreURL;
2014-08-30 22:46:31 -04:00
@end