8 #ifndef Project_define_h
9 #define Project_define_h
20 # if TARGET_IPHONE_SIMULATOR
22 # define DEPROY_SETTING @"Local-Development Debug Run"
23 # define PROTOCOL @"http"
24 # define DOMAIN_NAME @"localhost"
25 # define URL_BASE @"/workspace/UNICORN-project/lib/FrameworkManager/template/managedocs/api/"
32 # define DEPROY_SETTING @"Development Debug Run"
33 # define PROTOCOL @"https"
34 # define DOMAIN_NAME @"apitest.unicorn-project.com"
35 # define URL_BASE @"/"
38 # elif defined STAGING
39 # define DEPROY_SETTING @"Staging Debug Run"
40 # define PROTOCOL @"https"
41 # define DOMAIN_NAME @"apistaging.unicorn-project.com"
42 # define URL_BASE @"/"
46 # define DEPROY_SETTING @"Distribution Debug Run"
47 # define PROTOCOL @"https"
48 # define DOMAIN_NAME @"api.unicorn-project.com"
49 # define URL_BASE @"/"
61 # define DEPROY_SETTING @"Development Adhoc Run"
62 # define PROTOCOL @"https"
63 # define DOMAIN_NAME @"apitest.unicorn-project.com"
64 # define URL_BASE @"/"
68 # define DEPROY_SETTING @"Staging Adhoc Run"
69 # define PROTOCOL @"https"
70 # define DOMAIN_NAME @"apistaging.unicorn-project.com"
71 # define URL_BASE @"/"
75 # define DEPROY_SETTING @"Distribution Adhoc Run"
76 # define PROTOCOL @"https"
77 # define DOMAIN_NAME @"api.unicorn-project.com"
78 # define URL_BASE @"/"
88 # define DEPROY_SETTING @"Distribution Archive Run"
89 # define PROTOCOL @"https"
90 # define DOMAIN_NAME @"api.unicorn-project.com"
91 # define URL_BASE @"/"
100 #define APPDELEGATE ((AppDelegate*)[[UIApplication sharedApplication] delegate])
101 #define RGBA(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
106 #define COOKIE_TOKEN_NAME @"token"
107 #define SESSION_CRYPT_KEY @"bdcc54fba7d9856c"
108 #define SESSION_CRYPT_IV @"ccfd172a95aqqd9a"
111 #define SHARED_SECRET @"769bca60ace44eedaa8f2a3d5e02006d"
112 #define COOKIE_TOKEN_NAME @"token"
113 #define SESSION_CRYPT_KEY @"bdcc54fba7d9856c"
114 #define SESSION_CRYPT_IV @"ccfd172a95aqqd9a"
115 #define DEVICE_TOKEN_KEY_NAME @"device_token"
118 #define navibar_title_size 20
121 #define FORCE_APP_UPDATE_REDIRECT @"RedirectAppStore"