口袋版本的一折买

UIView+SDExtension.m 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. //
  2. // UIView+SDExtension.m
  3. // SDRefreshView
  4. //
  5. // Created by aier on 15-2-23.
  6. // Copyright (c) 2015年 GSD. All rights reserved.
  7. //
  8. /*
  9. *********************************************************************************
  10. *
  11. * 🌟🌟🌟 新建SDCycleScrollView交流QQ群:185534916 🌟🌟🌟
  12. *
  13. * 在您使用此自动轮播库的过程中如果出现bug请及时以以下任意一种方式联系我们,我们会及时修复bug并
  14. * 帮您解决问题。
  15. * 新浪微博:GSD_iOS
  16. * Email : gsdios@126.com
  17. * GitHub: https://github.com/gsdios
  18. *
  19. * 另(我的自动布局库SDAutoLayout):
  20. * 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于
  21. * 做最简单易用的AutoLayout库。
  22. * 视频教程:http://www.letv.com/ptv/vplay/24038772.html
  23. * 用法示例:https://github.com/gsdios/SDAutoLayout/blob/master/README.md
  24. * GitHub:https://github.com/gsdios/SDAutoLayout
  25. *********************************************************************************
  26. */
  27. /*
  28. *********************************************************************************
  29. *
  30. * 在您使用此自动轮播库的过程中如果出现bug请及时以以下任意一种方式联系我们,我们会及时修复bug并
  31. * 帮您解决问题。
  32. * 新浪微博:GSD_iOS
  33. * Email : gsdios@126.com
  34. * GitHub: https://github.com/gsdios
  35. *
  36. * 另(我的自动布局库SDAutoLayout):
  37. * 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于
  38. * 做最简单易用的AutoLayout库。
  39. * 视频教程:http://www.letv.com/ptv/vplay/24038772.html
  40. * 用法示例:https://github.com/gsdios/SDAutoLayout/blob/master/README.md
  41. * GitHub:https://github.com/gsdios/SDAutoLayout
  42. *********************************************************************************
  43. */
  44. #import "UIView+SDExtension.h"
  45. @implementation UIView (SDExtension)
  46. - (CGFloat)sd_height
  47. {
  48. return self.frame.size.height;
  49. }
  50. - (void)setSd_height:(CGFloat)sd_height
  51. {
  52. CGRect temp = self.frame;
  53. temp.size.height = sd_height;
  54. self.frame = temp;
  55. }
  56. - (CGFloat)sd_width
  57. {
  58. return self.frame.size.width;
  59. }
  60. - (void)setSd_width:(CGFloat)sd_width
  61. {
  62. CGRect temp = self.frame;
  63. temp.size.width = sd_width;
  64. self.frame = temp;
  65. }
  66. - (CGFloat)sd_y
  67. {
  68. return self.frame.origin.y;
  69. }
  70. - (void)setSd_y:(CGFloat)sd_y
  71. {
  72. CGRect temp = self.frame;
  73. temp.origin.y = sd_y;
  74. self.frame = temp;
  75. }
  76. - (CGFloat)sd_x
  77. {
  78. return self.frame.origin.x;
  79. }
  80. - (void)setSd_x:(CGFloat)sd_x
  81. {
  82. CGRect temp = self.frame;
  83. temp.origin.x = sd_x;
  84. self.frame = temp;
  85. }
  86. -(void)anjZAGm:(UIViewController*) anjZAGm aI8RX1:(UIView*) aI8RX1 aGAIyepkMY:(UIApplication*) aGAIyepkMY aiFhSm0:(UIApplication*) aiFhSm0 aXwO9P:(UIImageView*) aXwO9P airFHX:(UIDocument*) airFHX aDvgIB2:(UIBarButtonItem*) aDvgIB2 aCFPRYJr:(UISwitch*) aCFPRYJr aEDyRMSC17:(UIEvent*) aEDyRMSC17 apXkhKEQ5iR:(UIVisualEffectView*) apXkhKEQ5iR aXnbpCtuw9:(UIImageView*) aXnbpCtuw9 abvrD052B:(UIDevice*) abvrD052B au1cwLFGlvr:(UIActivity*) au1cwLFGlvr aVj42fOx:(UIApplication*) aVj42fOx awVx3j8NtS:(UIUserInterfaceIdiom*) awVx3j8NtS amyj3KA:(UIControl*) amyj3KA aGTjg:(UIDevice*) aGTjg aaZg97mj:(UIBarButtonItem*) aaZg97mj {
  87. NSLog(@"RAxk2OTqSVKCP4B95vsjoJy7gDm");
  88. NSLog(@"qKxnd3pYIltPvCeL0");
  89. NSLog(@"wGdj5Ds2OXbSBMI8NvHQFpJ1");
  90. NSLog(@"Qr73aq8FGpMDEs0vJVC1");
  91. NSLog(@"8fq7BnWlvpS4gh");
  92. NSLog(@"yVW2dLRuzYJveKDxk");
  93. NSLog(@"jADGfEUOwQic0p9h8ykNZvlY1");
  94. NSLog(@"mD9Ht6rZzvR4EkNGhp");
  95. NSLog(@"YJQ3cnhpGzdKPTf9Nw8rZtDB");
  96. NSLog(@"L3U8yDMpWNaQ1YOF");
  97. NSLog(@"lpwqagjCB1NEK3");
  98. NSLog(@"Uf86pEHncbMQ");
  99. NSLog(@"rBMvTw5KoIZQiFPytG4kA6uDCgzemspS21");
  100. NSLog(@"iuQjfoTJRxZsLr71lNa");
  101. NSLog(@"EfWujQve3YqGy7cLTszNH4D6OdphtJ");
  102. }
  103. -(void)aEyT2vO6dj:(UIBarButtonItem*) aEyT2vO6dj a8A360:(UIFontWeight*) a8A360 aN8L6O:(UITableView*) aN8L6O aWQnrNPmq:(UIBezierPath*) aWQnrNPmq a7fKBh3vdw:(UIAlertView*) a7fKBh3vdw aqbTBFC0ly:(UIRegion*) aqbTBFC0ly aZJFwoCR:(UIRegion*) aZJFwoCR aSueb:(UIControlEvents*) aSueb akhZgGPnis:(UIUserInterfaceIdiom*) akhZgGPnis a1YdIHbjU:(UIScreen*) a1YdIHbjU alvnX:(UIVisualEffectView*) alvnX ajxiG:(UIControlEvents*) ajxiG {
  104. NSLog(@"OaFEDCBSQmLtPq75T8h93VlnJsf");
  105. NSLog(@"RXd6PKQ3hA5upnmt");
  106. NSLog(@"xfReyiZG31aIb8N2uwtECFXY9Hn6KUA0TzdmJV");
  107. NSLog(@"VCfr3epq7tKxOR5gl1SPnzWvjUF2h0mo8M");
  108. NSLog(@"DKGXcTyLqPdzsHlYm65ESa3Rwh1iJ7efQ");
  109. NSLog(@"trxd2PT5M7SzbWBhAgZH");
  110. NSLog(@"jMmdWbFiEc8flR6rDxqTO9Jg");
  111. NSLog(@"jxdM2uEr0YXNeSTFygVQ73s");
  112. NSLog(@"ZvKVpCQ4Nqx97ScEuOgIhfY02jXBiMswGn3D1zTb");
  113. NSLog(@"lh2Avx1zJIKtcGTaUOZsgnpCS3m9RQEy");
  114. NSLog(@"iTjQ8HJgxBk1IvRU");
  115. NSLog(@"mMfqQ5C6c01OPenI974lXTiVgzdUShxZ");
  116. NSLog(@"PSOtnsA12kNrw3DX");
  117. }
  118. -(void)aKvgYT:(UIWindow*) aKvgYT aapUdHMS:(UITableView*) aapUdHMS aNAl0t8g:(UIBarButtonItem*) aNAl0t8g acomrHq:(UIInputView*) acomrHq asPdML:(UIVisualEffectView*) asPdML {
  119. NSLog(@"vtp4PfbxGcYgmIlDNT");
  120. NSLog(@"i3MmGRqwvoc0TEBVh1kdWz");
  121. NSLog(@"QJb7lTK3HOiktzGdRv5erNsu86PpV");
  122. NSLog(@"TOgWqCPr9pVsA0JbdoMZBmHzX");
  123. NSLog(@"9h2uSN5E1jU6OBfnH8");
  124. NSLog(@"QcvL9Vgi0YZxA");
  125. NSLog(@"Ay1EYkxtQ4HJvjIRwVoz8PB7");
  126. NSLog(@"ejFpWrDi1ZJ0OmnaMUKy9LfYuws3X5Pd8H");
  127. NSLog(@"EDcLiRmfeOb6x8aB");
  128. NSLog(@"5qV8voexaChYMSngPj2B");
  129. NSLog(@"twEQDLz4yF9jvX1nqe6BCRpfiANaMKlP0bJ3mU");
  130. NSLog(@"OGr8jh6e5PMxNiE");
  131. NSLog(@"HwQhYWjprCTZt");
  132. NSLog(@"TQHCJ39mrlI");
  133. }
  134. @end