// // Header-Prefix.h // iToYoung // // Created by jason on 16/5/9. // Copyright © 2016年 kollway. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import "KWMAPIManager.h" #import <MagicalRecord/MagicalRecord.h> #ifndef Header_Prefix_h #define Header_Prefix_h #define BASE_COLOR [UIColor colorWithRed:255/255.0f green:96/255.0f blue:67/255.0f alpha:1] #define LINE_COLOR [UIColor colorWithRed:217/255.0f green:217/255.0f blue:217/255.0f alpha:1] #define IMAGE_SIZE_UPLOAD 800 #define USER_PHOTO_SIZE 300 #define USER_PHOTO_HEIGHT_SIZE 200 #define UPLOAD_PHOTO_SIZE 600 #define UI_SCREEN_WIDTH ([[UIScreen mainScreen] bounds].size.width) #define UI_SCREEN_HEITHT ([[UIScreen mainScreen] bounds].size.height) #define KWMAPI_URL(path) [NSURL URLWithString:[[KWMAPIManager sharedManager] toAbsoluteUrl:path]] #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #define KWMTextTips 0 #define KWMNoDataTips 1 #define KWMNoLike 2 #define KWMNoComment 3 #define KWMNoFans 4 #define KWMNoNework 5 #define KWMLoadFailure 6 #define KWMNoCollect 7 #define KWMReceiverRedPoint @"KWMReceiverRedPoint" #define KEY_USER_RED_POINT_COMMENT_MESSAGE @"KEY_USER_RED_POINT_COMMENT_MESSAGE" #define KEY_USER_RED_POINT_FANS_MESSAGE @"KEY_USER_RED_POINT_FANS_MESSAGE" #define KEY_USER_RED_POINT_LIKE_REWARD_MESSAGE @"KEY_USER_RED_POINT_LIKE_REWARD_MESSAGE" #define KEY_USER_RED_POINT_COLLECT_MESSAGE @"KEY_USER_RED_POINT_COLLECT_MESSAGE" #define KWMReceiverPush @"KWMReceiverPush" #define KWMReceiverNoLogin @"KWMReceiverNoLogin" #define KEY_USER_DEFAULT_ACCOUNT @"KEY_USER_DEFAULT_ACCOUNT" #define KEY_USER_REGISTER @"KEY_USER_REGISTER" #define UMAppKey @"57551aaee0f55aea54000a83" #define UmengChannel @"C001" #define JPUSHKey @"35f3186c1b31d56a8f88033c" //正式的 QQ app id #define QQAppId @"1105432469" #define QQAppKey @"9Fh1cjV39jKenBUM" //正式的微信key #define WechatAppKey @"wx355a497b2a2dd6d5" #define WechatSecret @"7bb8615cdb4d750b66b653385e641f15" //Cemarose key--chinese login 需要的key #define Cemarose_KEY @"4a119ac523d53c98bbd2983b798a0d53" // ////测试 //#define TestModel @"YES" // ////Shopify对应的key(测试用) //#define Shopify_SHOP_DOMAIN @"cemarose-dev.myshopify.com" //#define Shopify_API_KEY @"85287d2c9762a425bacd31424928a4e6" //#define Shopify_APP_ID @"8" //正式 #define TestModel @"NO" //Shopify对应的key(正式) #define Shopify_SHOP_DOMAIN @"cemarose.myshopify.com" #define Shopify_API_KEY @"c2f6fae97741ea6db4cad7ae8f70fef3" #define Shopify_APP_ID @"8" //软键盘输入限制 #define NUM @"0123456789" #define ALPHA @"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" #define ALPHANUM @"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" #define Image_Domain @"o42yton8r.qnssl.com" #define LowImage 0 #define SmallImage 1 #define NormalImage 2 #define BigImage 3 //默认欧元汇率,如果安装后第一次请求最新汇率数据失败,会使用该汇率显示价格 #define ExchangeRate 7.6625 //品牌图片url #define Burberry @"https://cdn.shopify.com/s/files/1/1089/5284/collections/Burberry_Childrenswear_Campaign_July_2016_001.jpg?v=1473238213" #define Caramel @"https://cdn.shopify.com/s/files/1/1089/5284/collections/0N5A3945.jpg?v=1450003916" #define DolceGabbana @"https://cdn.shopify.com/s/files/1/1089/5284/collections/dg.png?v=1473235338" #define Fendi @"https://cdn.shopify.com/s/files/1/1089/5284/collections/fendi.png?v=1473232745" #define Kenzo @"https://cdn.shopify.com/s/files/1/1089/5284/collections/KenzoKid-FW-Look07-032_6d952185-9dc6-4d67-b547-38e12eafa45b.jpg?v=1473322852" #define IlGufo @"https://cdn.shopify.com/s/files/1/1089/5284/collections/DAN0914.jpg?v=1473238555" #define StellaMcCartneyKids @"https://cdn.shopify.com/s/files/1/1089/5284/collections/LOOK_14_StellaKids.AW16_Shot_15_054_F2_RGB_63794919-2361-4f40-affe-6361cfb11c49.jpg?v=1473233767" #endif /* Header_Prefix_h */