//
//  AppDelegate.h
//  Lighting
//
//  Created by 曹云霄 on 16/4/27.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "UMSocial.h"
#import "UMSocialWechatHandler.h"
#import "UMSocialSinaSSOHandler.h"
#import "UMSocialQQHandler.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

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



/**
 *  网络状态
 */
@property (nonatomic,assign) BOOL Networkstatus;


/**
 *  抽屉控制器对象
 */
@property (nonatomic,strong) MMDrawerController *mmdrawer;


/**
 *  tabbar控制器
 */
@property (nonatomic,strong) UITabBarController *Mytabbar;


/**
 *  保存购物车坐标
 */
@property (nonatomic,assign) CGPoint shoppingCarPoint;

/**
 *  所有控制器对象
 */
@property (nonatomic,strong) NSArray *allControllerArray;


/**
 *  指示横线
 */
@property (nonatomic,strong) UIView *lineView;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(nullable UIWindow *)window;

@end

