省钱达人

Constant.h 4.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //
  2. // Constant.h
  3. // SDKSample
  4. //
  5. // Created by Jeason on 15/7/14.
  6. //
  7. //
  8. #ifndef SDKSample_Constant_h
  9. #define SDKSample_Constant_h
  10. #define RGBCOLOR(r,g,b) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]
  11. #define TIPSLABEL_TAG 10086
  12. #define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
  13. #define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
  14. #define BUFFER_SIZE 1024 * 100
  15. static const int kHeadViewHeight = 135;
  16. static const int kSceneViewHeight = 100;
  17. static NSString *kTextMessage = @"人文的东西并不是体现在你看得到的方面,它更多的体现在你看不到的那些方面,它会影响每一个功能,这才是最本质的。但是,对这点可能很多人没有思考过,以为人文的东西就是我们搞一个很小清新的图片什么的。”综合来看,人文的东西其实是贯穿整个产品的脉络,或者说是它的灵魂所在。";
  18. static NSString *kImageTagName = @"WECHAT_TAG_JUMP_APP";
  19. static NSString *kMessageExt = @"这是第三方带的测试字段";
  20. static NSString *kMessageAction = @"<action>dotalist</action>";
  21. static NSString *kLinkURL = @"http://tech.qq.com/zt2012/tmtdecode/252.htm";
  22. static NSString *kLinkTagName = @"WECHAT_TAG_JUMP_SHOWRANK";
  23. static NSString *kLinkTitle = @"专访张小龙:产品之上的世界观";
  24. static NSString *kLinkDescription = @"微信的平台化发展方向是否真的会让这个原本简洁的产品变得臃肿?在国际化发展方向上,微信面临的问题真的是文化差异壁垒吗?腾讯高级副总裁、微信产品负责人张小龙给出了自己的回复。";
  25. static NSString *kMusicURL = @"http://y.qq.com/i/song.html#p=7B22736F6E675F4E616D65223A22E4B880E697A0E68980E69C89222C22736F6E675F5761704C69766555524C223A22687474703A2F2F74736D7573696334382E74632E71712E636F6D2F586B30305156342F4141414130414141414E5430577532394D7A59344D7A63774D4C6735586A4C517747335A50676F47443864704151526643473444442F4E653765776B617A733D2F31303130333334372E6D34613F7569643D3233343734363930373526616D703B63743D3026616D703B636869643D30222C22736F6E675F5769666955524C223A22687474703A2F2F73747265616D31342E71716D757369632E71712E636F6D2F33303130333334372E6D7033222C226E657454797065223A2277696669222C22736F6E675F416C62756D223A22E4B880E697A0E68980E69C89222C22736F6E675F4944223A3130333334372C22736F6E675F54797065223A312C22736F6E675F53696E676572223A22E5B494E581A5222C22736F6E675F576170446F776E4C6F616455524C223A22687474703A2F2F74736D757369633132382E74632E71712E636F6D2F586C464E4D313574414141416A41414141477A4C36445039536A457A525467304E7A38774E446E752B6473483833344843756B5041576B6D48316C4A434E626F4D34394E4E7A754450444A647A7A45304F513D3D2F33303130333334372E6D70333F7569643D3233343734363930373526616D703B63743D3026616D703B636869643D3026616D703B73747265616D5F706F733D35227D";
  26. static NSString *kMusicDataURL = @"http://stream20.qqmusic.qq.com/32464723.mp3";
  27. static NSString *kMusicTitle = @"一无所有";
  28. static NSString *kMusicDescription = @"崔健";
  29. static NSString *kVideoURL = @"http://v.youku.com/v_show/id_XNTUxNDY1NDY4.html";
  30. static NSString *kVideoTitle = @"乔布斯访谈";
  31. static NSString *kVideoDescription = @"饿着肚皮,傻逼着。";
  32. static NSString *kAPPContentTitle = @"App消息";
  33. static NSString *kAPPContentDescription = @"这种消息只有App自己才能理解,由App指定打开方式";
  34. static NSString *kAppContentExInfo = @"<xml>extend info</xml>";
  35. static NSString *kAppContnetExURL = @"http://weixin.qq.com";
  36. static NSString *kAppMessageExt = @"这是第三方带的测试字段";
  37. static NSString *kAppMessageAction = @"<action>dotaliTest</action>";
  38. static NSString *kAuthScope = @"snsapi_message,snsapi_userinfo,snsapi_friend,snsapi_contact";
  39. static NSString *kAuthOpenID = @"0c806938e2413ce73eef92cc3";
  40. static NSString *kAuthState = @"xxx";
  41. static NSString *kFileTitle = @"iphone4.pdf";
  42. static NSString *kFileDescription = @"Pro CoreData";
  43. static NSString *kFileExtension = @"pdf";
  44. static NSString *kFileName = @"iphone4";
  45. static const NSInteger kRecvGetMessageReqAlertTag = 1000;
  46. static const NSInteger kProfileAppIdAlertTag = 2000;
  47. static const NSInteger kProfileUserNameAlertTag = 3000;
  48. static const NSInteger kBizWebviewAppIdAlerttag = 4000;
  49. static const NSInteger kBizWebviewTousernameAlertTag = 6000;
  50. static NSString *kProfileExtMsg = @"http://we.qq.com/d/AQCIc9a3EqRfb19z8WnLB6iFNCxX5bO2S3lHwMQL";
  51. static NSString *kBizWebviewExtMsg = @"KOoCKdavezBjdj2wJZsq67N2j_g3XEQ5JP_pkLhBYS4";
  52. #endif