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

#ifndef PrefixHeader_pch
#define PrefixHeader_pch
#import "MBProgressHUD.h"
#import "MJRefresh.h"
#import "MMDrawerController.h"
#import "RightViewController.h"
#import "IQKeyboardManager.h"
#import "AFNetworking.h"
#import "NetworkRequestClassManager.h"
#import "NSArray+Objectwithindex.h"
#import "ShoppingViewController.h"
#import "ClientViewController.h"
#import "Masonry.h"
#import "PopoverViewController.h"
#import "opple_objc_json_client.h"
#import "HENLENSONG.h"
#import "JSONModel.h"
#import "Shoppersmanager.h"
#import "UIImageView+WebCache.h"
#import "Customermanager.h"
#import "AppDelegate.h"
#import "PromptinformationView.h"
#import "BaseViewController.h"
#import "MjRefreshHeaderCustom.h"
#import "UIScrollView+EmptyDataSet.h"
#import "HeaderforURL.h"
// Include any system framework and library headers here that should be included in all compilation units.
// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.

/**
 *  AppDelegate代理
 */
#define SHARED_APPDELEGATE ((AppDelegate *)([UIApplication sharedApplication].delegate))

/**
 *  导航栏高度
 */
#define NavigationHeight 64

/**
 *  默认显示头像
 */
#define ReplaceImage [UIImage imageNamed:@"矢量智能对象"]

/**
 *  屏幕的物理高度
 */
#define ScreenHeight   [UIScreen mainScreen].bounds.size.height

/**
 *  屏幕的物理宽度
 */
#define ScreenWidth    [UIScreen mainScreen].bounds.size.width

/**
 *  定义UIImage对象
 */
#define TCImage(imageName) [UIImage imageNamed:[NSString stringWithFormat:@"%@",imageName]]

/**
 *  获取RGB颜色
 */
#define kTCColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

/**
 * 右侧菜单宽度
 */
#define RightWidth 200

/**
 *  0
 */
#define Zero 0

/**
 *  断网标示
 */
#define BROKEN @"-1"

/**
 *  主题蓝色
 */
#define kMainBlueColor [UIColor colorWithRed:89/255.0 green:172/255.0 blue:220/255.0 alpha:1.0]

/**
 *  默认圆角系数
 */
#define kCornerRadius 4


/**
 *  主题灰色
 */
#define kMainGrayColor [UIColor colorWithRed:241/255.0 green:241/255.0 blue:241/255.0 alpha:1.0]


/**
 *  筛选框复选按钮圆角尺寸
 */
#define kSelectedCornerRadius 25

/**
 *  服务器开发地址
 */
//#define SERVERREQUESTURL(URL)  [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL]

/**
 *  服务器测试地址
 */
#define SERVERREQUESTURL(URL)  [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL]

///**
// *  服务器正式地址
// */
//#define SERVERREQUESTURL(URL)  [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]

/**
 *  搜索框输入通知
 */
#define SEARCHSTRING @"SEARCHINPUTSTRING"

/**
 *  搜索框返回根视图
 */
#define POPROOTCONTROLLER @"POPROOTCONTROLLER"

/**
 *  储存本地的搜索历史文件名
 */
#define SEARCHHISTORY @"searchhistory"


/**
 *  默认图
 */
#define REPLACEIMAGE [UIImage imageNamed:@"bg-img 副本"]


/**
 *  刷新购物车通知
 */
#define REFRESHSHOPPINGCAR @"GOODSNUMBER"


/**
 *  保存用户名key
 */
#define USERNAME @"username"

/**
 *  保存密码key
 */
#define PASSWORD @"password"


/**
 *  网络请求返回个数
 */
#define KROWS 12


#define RGB(A, B, C, D)    [UIColor colorWithRed:(A)/255.0 green:(B)/255.0 blue:(C)/255.0 alpha:(D)]

/**
 * 一键分享显示文本
 */
#define ShareTitle @"欧立方体验中心一键分享"

/**
 *  无数据友好图片
 */
#define kNoDataImage TCImage(@"圆角矩形-3-副本")

/**
 *  登陆超时通知
 */
#define LOGINTIMEOUT @"logintimeout"







#endif /* PrefixHeader_pch */
