2021-09-06 18:47:38 +08:00
|
|
|
//
|
|
|
|
// AppDelegate.h
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by zu on 2021/8/31.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2022-05-09 22:18:42 +08:00
|
|
|
#import <CoreData/CoreData.h>
|
2021-09-06 18:47:38 +08:00
|
|
|
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
|
|
|
|
|
|
|
@property (strong, nonatomic) UIWindow *window;
|
2022-05-09 22:18:42 +08:00
|
|
|
@property(nonatomic,strong,readonly)NSManagedObjectContext *managedObjectContext;
|
|
|
|
@property(nonatomic,strong,readonly)NSManagedObjectModel *managedObjectModel;
|
|
|
|
@property(nonatomic,strong,readonly)NSPersistentStoreCoordinator *persistentStoreCoordinator;
|
2021-09-06 18:47:38 +08:00
|
|
|
|
2022-05-09 22:18:42 +08:00
|
|
|
- (void)saveContext;
|
|
|
|
- (NSURL *)applicationDocumentsDirectory;
|
2021-09-06 18:47:38 +08:00
|
|
|
@end
|
|
|
|
|