IVTMeLiveTwo-Prefix.pch 2.91 KB
//
//  IVTMeLiveTwo-Prefix.pch
//  IVTMeLiveTwo
//
//  Created by XRG on 16/8/10.
//  Copyright © 2016年 QLQ. All rights reserved.
//

#ifndef IVTMeLiveTwo_Prefix_pch
#define IVTMeLiveTwo_Prefix_pch

// 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.

#endif /* IVTMeLiveTwo_Prefix_pch */

#import "Masonry.h"
#import "SVProgressHUD.h"
#import "MJRefresh.h"
#import "MJRefresh.h"
#import "UIColor+IVTMeColor.h"
#import "UIFont+IVTMeFont.h"
#import "IVTThirdFuncTool.h"
#import "IVTMeValidObject.h"
#import "IVTNetworkAPIClient.h"
#import "UIImageView+WebCache.h"
#import "NSString+base64.h"
#import "UIImage+CreateFromUIColor.h"
#import "XMPPManager.h"
#import "UIButton+WebCache.h"
#import "UIImage+IVTCircleCategory.h"
#import "IVTAccountTool.h"
#import "HUDUtil.h"


#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define UIColorFromRGBAlphaHex(rgbValue,aValue)   [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:aValue]
#define kVersion [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]


//分享设置
#define kWX_AppID  @"wx25baeb3cd821bac2"//微信
#define kWX_AppSecret @"9fcb3ea4a0be054f924dd1ea506a0d0d"

#define kQQ_AppID  @"1105467244"//qq
#define kQQ_AppKey  @"xiJ7fsMcHTAbA1el"//qq

//3479947879
//a99e53a9518d5218c9b2710c072b625e
// http://sns.whalecloud.com
#define kSina_AppKey  @"3479947879"//新浪微博
#define kSina_RedirectURI @"http://sns.whalecloud.com"//
#define kSina_AppSecret  @"a99e53a9518d5218c9b2710c072b625e"//新浪微博

//极光推送
#define kJPush_AppKey  @"cb4aadbdfb81826a89047232"//极光推送

#define kCNLive_AppID   @"118_itdr6ijv09"//中国网AppID
#define kCNLive_AppKey  @"24557a1060598e010749ec11b43ac9d62e8a765d3463cf"//中国网AppKey

//是否显示过引导页
#define kIsShowedGuideLaunchedView @"kIsShowedGuideLaunchedView"

 /**
 *  弱/强引用
 *
 *  @param type weak/strong
 *
 *  @return weakSelf/strongSelf
 */
#define LRWeakSelf(type)  __weak typeof(type) weak##type = type;
#define LRStrongSelf(type)  __strong typeof(type) type = weak##type;

#if 0 /*0是测试环境  1是线上环境 */

#define kBaseURL   @"http://api.me.cnlive.com/"//正式版基础地址
#define kXMPPBaseURL @"xmpp.me.cnlive.com"//正式版基础地址

#else

#define kBaseURL   @"http://me.demo.bjivt.com/api/"//测试版基础地址
//#define kBaseURL   @"http://192.168.1.51:8080/api"//测试版基础地址

#define kXMPPBaseURL @"me.demo.bjivt.com"//测试版基础地址

#endif


#ifdef DEBUG
#define LRLog(...) NSLog(@"%s 第%d行 \n %@\n\n",__func__,__LINE__,[NSString stringWithFormat:__VA_ARGS__])
#else
#define LRLog(...)





#endif