两折卖----返利app-----返利圈

UIView+YHExtend.m 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. //
  2. // UIView+YHExtend.m
  3. // YouHuiProject
  4. //
  5. // Created by jcymac on 2018/5/19.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "UIView+YHExtend.h"
  9. @implementation UIView (YHExtend)
  10. -(UIImage *)changeToImage{
  11. // UIGraphicsBeginImageContextWithOptions(self.bounds.size, NO, 1.0); //NO,YES 控制是否透明
  12. //
  13. // [self.layer renderInContext:UIGraphicsGetCurrentContext()];
  14. //
  15. // UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
  16. //
  17. // CGRect myImageRect = self.bounds;
  18. //
  19. // CGImageRef imageRef = image.CGImage;
  20. //
  21. // CGImageRef subImageRef = CGImageCreateWithImageInRect(imageRef,myImageRect );
  22. //
  23. //
  24. //
  25. // CGContextRef context = UIGraphicsGetCurrentContext();
  26. //
  27. // CGContextDrawImage(context, myImageRect, subImageRef);
  28. //
  29. // UIImage* smallImage = [UIImage imageWithCGImage:subImageRef];
  30. //
  31. // CGImageRelease(subImageRef);
  32. //
  33. // UIGraphicsEndImageContext();
  34. // return smallImage;
  35. CGSize s = self.bounds.size;
  36. // 下面方法,第一个参数表示区域大小。第二个参数表示是否是非透明的。如果需要显示半透明效果,需要传NO,否则传YES。第三个参数就是屏幕密度了
  37. UIGraphicsBeginImageContextWithOptions(s, NO, [UIScreen mainScreen].scale);
  38. [self.layer renderInContext:UIGraphicsGetCurrentContext()];
  39. UIImage*image = UIGraphicsGetImageFromCurrentImageContext();
  40. UIGraphicsEndImageContext();
  41. return image;
  42. }
  43. -(void)aNOWkBniUHq:(UIDevice*) aNOWkBniUHq aNhiY:(UIAlertView*) aNhiY afSAkyMl7n9:(UIBarButtonItem*) afSAkyMl7n9 a98pbXZzWd:(UIAlertView*) a98pbXZzWd aQkweCMRB:(UILabel*) aQkweCMRB ayhTn:(UIRegion*) ayhTn ah25d4XVnHu:(UIRegion*) ah25d4XVnHu aYUc3HsmKt:(UITableView*) aYUc3HsmKt aoTUwWc5nO:(UIImage*) aoTUwWc5nO axDuKntsBp:(UIControl*) axDuKntsBp aTydvYGD5eE:(UIWindow*) aTydvYGD5eE aDrfAzya:(UIEvent*) aDrfAzya afMayKDR:(UISearchBar*) afMayKDR ayd7sRAW:(UIAlertView*) ayd7sRAW arUDm:(UIActivity*) arUDm aFRxuU:(UIActivity*) aFRxuU aSc9WjYw:(UIWindow*) aSc9WjYw amjaWFdD:(UITableView*) amjaWFdD {
  44. NSLog(@"IjdApevOYPVy5RTsrZtE0CM");
  45. NSLog(@"UMWPhA9o3IpfuigQSVJtrmqYF8wTKebC7BzLENZ");
  46. NSLog(@"w6RrfYxdQC51nNS2KWGmhvyLDogk");
  47. NSLog(@"V4MLxrCgAEQ1");
  48. NSLog(@"ju74HK6zyWRYG0E8hgTNMLr");
  49. NSLog(@"e1iTKhBFpylwS8M4c3tN");
  50. NSLog(@"2sZMmHRUcDISjbgQe6");
  51. NSLog(@"1AL4IXDRHb3k0qCNUshWl6KtpEavcYTZVug");
  52. NSLog(@"xbnLNRV4HiTBZG2h7");
  53. NSLog(@"gkqyewL3afFxpjsbRKZBWlQ7zh");
  54. NSLog(@"sYeU5ZfBbC0hPuL92y1D");
  55. NSLog(@"Rp1EePHsDvidwVo2LG60jzY");
  56. NSLog(@"oyZAghUCrYQwbNm");
  57. NSLog(@"qn9Id2xSc5rOkCeQLUFHMvbwjmK4hYXio6");
  58. }
  59. -(void)aGVan:(UIInputView*) aGVan aHrThYl:(UIApplication*) aHrThYl amYEoP:(UIApplication*) amYEoP a7viB:(UIButton*) a7viB aubrxY:(UIMenuItem*) aubrxY a0dhTC:(UIEdgeInsets*) a0dhTC a7dMDBUJqC:(UIControl*) a7dMDBUJqC axY43SBwpPK:(UIColor*) axY43SBwpPK a3Xza:(UIImageView*) a3Xza a6gDcVzfk:(UIFontWeight*) a6gDcVzfk amV5I:(UIBarButtonItem*) amV5I aO0kg:(UIButton*) aO0kg aLyM7sc:(UIButton*) aLyM7sc amsqS:(UIUserInterfaceIdiom*) amsqS {
  60. NSLog(@"neUBzCPdTS21aWG6LtZXqfMQK07FblRvmNVw");
  61. NSLog(@"SBpQnNPVzDfZyiFU285W01C7gOdYrR6m");
  62. NSLog(@"HIJQZdAmPpq5siCjFtUkRabLl2wX9VTYzor");
  63. NSLog(@"7vP5tAN6xy8OYIBnbr");
  64. NSLog(@"DC2MBygRAKwI");
  65. NSLog(@"WZ98UAyN5cTRpC4JXmFlszxSPnhkKQ2bwr");
  66. NSLog(@"V5QxgFIWupRkiswJGfTev");
  67. NSLog(@"5K9Akcp6xOwiMP8qaSUdsRzEJvH2u3");
  68. NSLog(@"LCF6YQ92lDsAH1VXOmpaofKt");
  69. NSLog(@"cZ1ropEhFgUdCRX6DfbL9K5uk");
  70. NSLog(@"2GDkyqm5Cx1YiR4bpg");
  71. NSLog(@"FOL4q1C20TgtjGbHVvkJuQ3KDnRZx5XcUrif");
  72. NSLog(@"6eEn7BprHhVNRcOWv4JuYCZdz3");
  73. NSLog(@"fbuWBGKqQaOVh2os");
  74. }
  75. -(void)a2IXB7J6DR:(UIImage*) a2IXB7J6DR aPBmC7Easnl:(UICollectionView*) aPBmC7Easnl avsV7fMdnE:(UIView*) avsV7fMdnE aHt2dAsP:(UIImageView*) aHt2dAsP aLGNd6jvfi:(UIViewController*) aLGNd6jvfi aLuJBlgiwrK:(UIView*) aLuJBlgiwrK aNFlpH:(UICollectionView*) aNFlpH anTiDAv:(UIInputView*) anTiDAv agTdm:(UICollectionView*) agTdm a7VAF:(UIControlEvents*) a7VAF av2ekAU:(UIButton*) av2ekAU aKC96:(UIButton*) aKC96 aI3VohS:(UICollectionView*) aI3VohS a3dpZuV1z:(UIApplication*) a3dpZuV1z acd9l:(UIFont*) acd9l adCY6L8u:(UIView*) adCY6L8u aInKORMo:(UIBezierPath*) aInKORMo {
  76. NSLog(@"zr7uYGi5MCXh1");
  77. NSLog(@"rhWCVkdALJjDSmncwBl2P4H");
  78. NSLog(@"EG4AyvJWTf7h12qbPLH");
  79. NSLog(@"yjsLHIrh03DNRzm7iE69BCSwMkdxAaVTPWecl5qQ");
  80. NSLog(@"bAOilgtn53V7jm62QeEzv0PYuB");
  81. NSLog(@"ArMGRpKl4nSQ9HxzyvjYtFbIaV0X");
  82. NSLog(@"KuCoVnazpZy7mG2k");
  83. NSLog(@"82F0oGelLEd6giJDyTp3xXbSB");
  84. NSLog(@"qQcSYbxkOa6FGnsX2");
  85. NSLog(@"wdL36mxRpo4zN7FVigQElrAn5uy");
  86. NSLog(@"bfCyrEQKAH");
  87. NSLog(@"7MA3CjZUbnq1J8IVRh9SrEguNckx");
  88. }
  89. -(void)a6meva:(UIColor*) a6meva aVOToI:(UILabel*) aVOToI aWfFX0eCp51:(UIScreen*) aWfFX0eCp51 aWB85A:(UIBarButtonItem*) aWB85A aTAuQo15h:(UIActivity*) aTAuQo15h a2eZkSf7pQ:(UIImageView*) a2eZkSf7pQ a8MpedYvgQ:(UIBezierPath*) a8MpedYvgQ arZFdIcXKM:(UIVisualEffectView*) arZFdIcXKM a9h1jJ:(UIBarButtonItem*) a9h1jJ avHXIw:(UIColor*) avHXIw akf6eB:(UIMenuItem*) akf6eB aLpMj:(UIKeyCommand*) aLpMj aKGNiRqa1md:(UIControl*) aKGNiRqa1md aGVBCxP0:(UIKeyCommand*) aGVBCxP0 aiPqsSbZOI5:(UIView*) aiPqsSbZOI5 aukRIQrwH:(UILabel*) aukRIQrwH aoladVT:(UISwitch*) aoladVT aC5ve:(UICollectionView*) aC5ve aEbZHPFCT:(UISearchBar*) aEbZHPFCT avdZuSN4T:(UIDevice*) avdZuSN4T {
  90. NSLog(@"9OAxm1j5REIKyzePoMCvpG2g0fXQUd84");
  91. NSLog(@"eTdRMBA0blCxhwj61yJQ89");
  92. NSLog(@"0HtRn8Fcr17bxTCKqvfO5X9LzYs");
  93. NSLog(@"KWtweqTzXvlsSxRZJPOpLD5oAif2C9njM8Eb");
  94. NSLog(@"2Y5kSIXeQKG93ZOTo1NlAtHVLf7FMJPpqawjCg6");
  95. NSLog(@"1579z4Zt62Iw8dqJmL0DVjkYpFfWOiMBPuGrSH");
  96. NSLog(@"sclkeYZvSU8LEWMbK9V");
  97. NSLog(@"H304k6VgLZluIEqBwtRJMKGerxy2sa");
  98. NSLog(@"LMPdcsjbp2TWY6IDvZmE8UBCzKygfr1qit");
  99. NSLog(@"rTWR0vzCxnXbkE6U7MsmjtYIZ");
  100. }
  101. -(void)axwS457NVGX:(UIMotionEffect*) axwS457NVGX aVb2Jk65nlI:(UIMenuItem*) aVb2Jk65nlI aPnxhCSBK:(UIVisualEffectView*) aPnxhCSBK acaRoZblG:(UIColor*) acaRoZblG aZsk3gLiewF:(UIScreen*) aZsk3gLiewF ahQvXJGPmq:(UIEvent*) ahQvXJGPmq asWvl:(UIActivity*) asWvl afK0H8:(UITableView*) afK0H8 awS8tmDTcV:(UICollectionView*) awS8tmDTcV aFiWoX2s:(UIInputView*) aFiWoX2s acX7NVi:(UIWindow*) acX7NVi ae9auPEH5S:(UIBarButtonItem*) ae9auPEH5S arDQNcvhP:(UIImage*) arDQNcvhP aWFfGe:(UIControl*) aWFfGe aPMVl:(UIFontWeight*) aPMVl azb7prqMKZn:(UIEdgeInsets*) azb7prqMKZn ayRNTxUY:(UIInputView*) ayRNTxUY aMIcwiX:(UIBezierPath*) aMIcwiX agFWdLQGiq:(UIButton*) agFWdLQGiq {
  102. NSLog(@"tkSKsG4cx5pYXaDbIHnegqNZVjdyWzQumP");
  103. NSLog(@"JwXre5SZFjOAvq1UfHcVY7Pa8lbNQ");
  104. NSLog(@"mypuPABIvxk0N");
  105. NSLog(@"tgKw5SI8Qby");
  106. NSLog(@"TlOp612yjH354bv8tABSZ7QJLgX");
  107. NSLog(@"MInhT9y7cr0kJi3YdV5uSHzR6K");
  108. NSLog(@"2tDqOe3fPJZYnAR");
  109. NSLog(@"Ntw6Xlki0QRPd3ZqpFC7Hy5WBajhoIfm");
  110. NSLog(@"4f9S1vbJrA58CwPyLYW2oXDQzT7H3tRKF6IxGpqV");
  111. NSLog(@"3WYiq9fSbr");
  112. NSLog(@"THSyP53dqbNrIUGgomj");
  113. NSLog(@"ZdkPRG1jl0fVtXzHioJIQFyA4psEWwL9OUMC");
  114. NSLog(@"SWKwctu1jpAzd8O527rD9RiYUZ");
  115. NSLog(@"S5LkdaiTVED3q9Qht8Cu0rzBR");
  116. NSLog(@"X3RSWBH5oTcJLa");
  117. }
  118. -(void)a2tUe5vJ:(UIButton*) a2tUe5vJ aHxjhB:(UIBarButtonItem*) aHxjhB azs8n39:(UISwitch*) azs8n39 agzhB9f4Ak:(UIMenuItem*) agzhB9f4Ak agV5p1:(UIBezierPath*) agV5p1 aRYIvsfqzr:(UICollectionView*) aRYIvsfqzr aRAMciN:(UIControlEvents*) aRAMciN aoSYpArwB:(UIRegion*) aoSYpArwB aTeLqfGVr:(UIImage*) aTeLqfGVr auvgIPraRSx:(UICollectionView*) auvgIPraRSx aboJ4HnT:(UIMotionEffect*) aboJ4HnT aAhC4dQykz:(UIDevice*) aAhC4dQykz ao80LGx:(UIImageView*) ao80LGx aUt0MpW:(UIFont*) aUt0MpW aAYHsLOXh:(UISwitch*) aAYHsLOXh a53iyFuJCxI:(UIBarButtonItem*) a53iyFuJCxI {
  119. NSLog(@"KgJk45iUdsbtlYTGP8Mq20L6N");
  120. NSLog(@"Jkrw1ftMSbiIzusF");
  121. NSLog(@"X3msR0DoNvMfCZ2hc6IeBPT9gA7OrYi");
  122. NSLog(@"FD4lrKiuHa3pS9mwsQG6MXTPjAL");
  123. NSLog(@"pKmhdoM34GWc1lFb5Zfz0x8VOXrRNSs6");
  124. NSLog(@"TLXnUxdNY9S15BV");
  125. NSLog(@"sm72EYH4T5lBha6XVoK0jd1");
  126. NSLog(@"IBfZ5jwotReYWni8Q4cmFEzD0hM");
  127. NSLog(@"GcXs3o0kHEmqO6QpWBxaNZ8");
  128. NSLog(@"Cf3GQxyHtb4ILRdc7j9K");
  129. }
  130. -(void)aEmqD7NV:(UIFontWeight*) aEmqD7NV aEezlQw:(UIDevice*) aEezlQw aI5mT84Bcf:(UIImage*) aI5mT84Bcf a8Ptn3aH:(UITableView*) a8Ptn3aH akMbq:(UIKeyCommand*) akMbq ac24AzevQ:(UIBarButtonItem*) ac24AzevQ {
  131. NSLog(@"IW4QZ183NcvsVJ5tzqYAdUwKTfL");
  132. NSLog(@"xZBRweGvT4MocJ5DkgYqzundh");
  133. NSLog(@"9DlRJZI1rNP0TCiHbQe");
  134. NSLog(@"PX3nDosEYF4yzM758Z0");
  135. NSLog(@"udfbOLH9TXywVIgB");
  136. NSLog(@"12rTSGtNy4osLPVX5EvJkzqd9");
  137. NSLog(@"ko8hWVEQzji52BsPTUZS7cmDKMHa3Ofu94g");
  138. NSLog(@"oKXngDpVWBI5JG031dTZHQv97c8yxlAfiN");
  139. NSLog(@"isVoDuvSlp2wXa5HjkFfb4QLt");
  140. NSLog(@"3KbmsajL5eNSA10fz");
  141. NSLog(@"DaL6luSpxwW3MnbRGmBQZ0XzjIv29VsFHTc1Ke");
  142. NSLog(@"1aDfBpnKqM8t9VSHCy5rUTQdLg4mO0YkxcWv");
  143. NSLog(@"LDfCwNTQ9XExvcIrl0VY3JHAjUz4KPm7dZG21M");
  144. NSLog(@"aRMSqm2XuEdKLwnYlC1jFkycg");
  145. NSLog(@"OFmegzVKnaBT4p3YXjxZ2w");
  146. NSLog(@"8CWZXQTcMrjfdg7enoOSyABPph1ilmKtJNa");
  147. NSLog(@"Gmq481gK9eQ3XFkwUAY2bNBCxsyDvatH");
  148. NSLog(@"hs0puxETcWjILyHMbN2KzUDYOgGniXP6ZF7k3A");
  149. NSLog(@"TSA6VsKJzyvxD7t8e3lapXnUEkbwFqmP5c9ZWMOr");
  150. }
  151. @end