//
//  AppDelegate.h
//  KaiLiTe
//
//  Created by boosal on 2016/9/1.
//  Copyright © 2016年 boosal. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "KLTRunLog.h"
#import <CoreData/CoreData.h>

@interface KLTAppDelegate : NSObject

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (void)deleteAllCoreData;
- (NSURL *)applicationDocumentsDirectory;
+ (KLTRunLog *)getCurrentKLTRunLog;
@property (readonly, strong) NSPersistentContainer *persistentContainer;

@end
