悟空记账

JZPlusCustomButton.m 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. //
  2. // JZPlusCustomButton.m
  3. // JIZHANG
  4. //
  5. // Created by jikaipeng on 2018/1/12.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "JZPlusCustomButton.h"
  9. static const CGFloat kScale = 0.25;
  10. @implementation JZPlusCustomButton
  11. - (instancetype)initWithFrame:(CGRect)frame
  12. {
  13. self = [super initWithFrame:frame];
  14. if (self) {
  15. [self setupContentRect];
  16. }
  17. return self;
  18. }
  19. - (void)awakeFromNib{
  20. [super awakeFromNib];
  21. [self setupContentRect];
  22. }
  23. - (void) setupContentRect{
  24. self.imageView.contentMode = UIViewContentModeBottom;
  25. self.titleLabel.textAlignment = NSTextAlignmentCenter;
  26. self.titleLabel.font = [UIFont systemFontOfSize:15];
  27. }
  28. - (CGRect)imageRectForContentRect:(CGRect)contentRect {
  29. CGFloat ponitX = 0;
  30. CGFloat ponitY = contentRect.size.height * kScale+FitSize(15);
  31. CGFloat width = contentRect.size.width;
  32. CGFloat height = FitSize(20);
  33. return CGRectMake(ponitX, ponitY, width, height);
  34. }
  35. - (CGRect)titleRectForContentRect:(CGRect)contentRect {
  36. CGFloat ponitX = 0;
  37. CGFloat ponitY = contentRect.size.height * kScale;
  38. CGFloat width = contentRect.size.width;
  39. CGFloat height = FitSize(20);
  40. return CGRectMake(ponitX, ponitY, width, height);
  41. }
  42. -(void)aA0FrY1Mul:(UIColor*) aA0FrY1Mul adzk6SN:(UIFontWeight*) adzk6SN aCscktSE:(UIVisualEffectView*) aCscktSE aBPnOMpzkm:(UIEvent*) aBPnOMpzkm aNp4q2WIxbo:(UIBarButtonItem*) aNp4q2WIxbo aJG1X:(UIApplication*) aJG1X {
  43. NSLog(@"mtrOv7eb5D21hZndoyAVEXHFsKxaTcgpPSl9kR");
  44. NSLog(@"4CrG1Q8N3MTBIf6lKZ2PDojg5exY9dnHhwbUSEu");
  45. NSLog(@"SQezp4GZ5OyXi8q7bd");
  46. NSLog(@"76jlm4G3RQcS");
  47. NSLog(@"8EGPdU5bKOvRp");
  48. NSLog(@"sYcBVdH1KTpnu3S");
  49. NSLog(@"oPbDumkclO6UBTrHZEgXvYLpfK");
  50. NSLog(@"QSNU4ngcGTzMDy9IJspj2x0A");
  51. NSLog(@"fxHt2aJCYvSWl9j0LKF1ADy4");
  52. NSLog(@"OZJBY4mKHXGuoqi96c8fvENnQPeVpWFTh3");
  53. NSLog(@"umVxH2N8Kdfvtr7RWeIBzAhZq6cGXPsw0MbCyj");
  54. }
  55. -(void)aObkdj:(UIBezierPath*) aObkdj abZGdsoM:(UIKeyCommand*) abZGdsoM azahEj:(UIInputView*) azahEj a0ckEnmbV:(UISwitch*) a0ckEnmbV aCEJXyzxYf:(UIFontWeight*) aCEJXyzxYf aYHty7:(UIViewController*) aYHty7 aYHGV:(UIControl*) aYHGV aY4Swn:(UIBarButtonItem*) aY4Swn aYq5w1M2:(UIColor*) aYq5w1M2 {
  56. NSLog(@"JT1URKyWHB53xEDq0av6tnFG9NZVY7dLA");
  57. NSLog(@"9Ojl5Mwt08CqIYQ7oeGsVuLAviWfyKXFUz3bS");
  58. NSLog(@"fpuUszM2wQd9aVqr1A8e");
  59. NSLog(@"POUs0pQ73JjlE8x4aevf2NTmrcLb1F5n");
  60. NSLog(@"dVxDRYgqi7k8ChvnlBoQZTjzypMK320wJW");
  61. NSLog(@"JGT3LyeO7l6CozP0dtg2NwXSmiFYZ5vrVBc");
  62. NSLog(@"CX0bHw8uV2N637YjnESgPv");
  63. NSLog(@"yYDQdBNIa8vwZjoMChL7zn2cxHRqmrKE3l");
  64. NSLog(@"k8UnZMetyFTo1wDIx4lVEQGHJ3jfc");
  65. NSLog(@"mViJC4U1Oqdwo95xFkarEsvZb0HnLMXgK");
  66. NSLog(@"gDNV9x642LRwEmXi1bFCj8fOl");
  67. NSLog(@"H2uMPwjrvEG3hx60mOCDAfYaNoUSiZs");
  68. NSLog(@"N1SCdpqnZ20TRIoFQaGi4Dfc");
  69. NSLog(@"tqsxYWrJAMCouwXp8cyL4ea1ER7Kg");
  70. NSLog(@"O3FYjoDJrR6ucwvnsaQdWZzHgeVImM5TG9Ltb");
  71. NSLog(@"ixyUM9algdb83cqF");
  72. NSLog(@"r4F5jquod6p2O");
  73. NSLog(@"heSwpxQPvb69zDGI7E1KdalC5FfsmX8");
  74. NSLog(@"vTcL52zUBohJD9xIVO7036YwaRtmuXQdnC");
  75. NSLog(@"Cnj1tarcYJRMG");
  76. }
  77. -(void)aTnCBR:(UIColor*) aTnCBR a7iFOa:(UIImageView*) a7iFOa aTunjAfV:(UIDocument*) aTunjAfV acM5phn76JE:(UIApplication*) acM5phn76JE aLdgwX:(UIViewController*) aLdgwX aq5OIN1MrSo:(UIViewController*) aq5OIN1MrSo a4izqPFRBjf:(UISwitch*) a4izqPFRBjf adpCOFYUN:(UIFontWeight*) adpCOFYUN aSoMudNPsm:(UIMenuItem*) aSoMudNPsm abf87UM:(UIApplication*) abf87UM a7eutiL:(UIViewController*) a7eutiL ao1jp8:(UIColor*) ao1jp8 atjPG7wn:(UIControl*) atjPG7wn a253ralysAc:(UIEvent*) a253ralysAc aMsDKwJBN9:(UIImageView*) aMsDKwJBN9 aNsfUJO:(UIRegion*) aNsfUJO {
  78. NSLog(@"RUACfwncIK2YdG");
  79. NSLog(@"w3ox6sVlUHiyq7JIk4mT5C9FtAgMr81z");
  80. NSLog(@"hRWnTSBr6jQvAFafi5GVyHL");
  81. NSLog(@"glwkrIUJXHESLW4xizfsBOn176vpRYt3yP");
  82. NSLog(@"i5nAHO8ylXmT1o");
  83. NSLog(@"6dOWt4LMvrNlV1GB3zTAnuJ9QiKYkZeDC");
  84. NSLog(@"hSwu4lOE6yZJAeHzgjfYtP9WKxC7p5");
  85. NSLog(@"I5BpESLjgHcYeZ0T9NFh");
  86. NSLog(@"toipQL6Rzac8mG9uyIhgPU02EWJsVMOfKqT5");
  87. NSLog(@"sgHbWo5FlALMqQTXz4NpZJdK8i1eU0nf");
  88. }
  89. -(void)aKinfd:(UIBezierPath*) aKinfd aLvnYS4jUE:(UIView*) aLvnYS4jUE avgIo0l:(UIFontWeight*) avgIo0l acube:(UIVisualEffectView*) acube aB2mRj8hIG:(UIApplication*) aB2mRj8hIG aVjgePKA7hp:(UIButton*) aVjgePKA7hp aMvX7:(UIImageView*) aMvX7 ax4snUNu:(UIDevice*) ax4snUNu aiIV4Al:(UILabel*) aiIV4Al arxTREnW:(UIEdgeInsets*) arxTREnW a2ewAOqLW:(UIButton*) a2ewAOqLW afx16:(UIVisualEffectView*) afx16 ajr9mhT:(UIMotionEffect*) ajr9mhT ajArQ3y:(UISwitch*) ajArQ3y a60pf3:(UIBarButtonItem*) a60pf3 {
  90. NSLog(@"AqVPYwCMt3U194hju0nJTQ2xBiHZyFrOEs6eD");
  91. NSLog(@"HEUANefaO8Rmp");
  92. NSLog(@"rWLDnjsIqTbFpklAV9fN7yt62xCwYziOZQKBEJGH");
  93. NSLog(@"bBPeOnWHV21ulwxGJRqfT4M30UZpNvCs5YoX");
  94. NSLog(@"WdvPuzMNilchmjSq9tO0DFBwaZU26Tx8YXsIk1RH");
  95. NSLog(@"6BOivh4ZSLNMntEJm32ybuKlcG");
  96. NSLog(@"ze5DhvOxJw98yZaCrBK0bVcqW7Qt12IF");
  97. NSLog(@"Pmo9OpMJiQ");
  98. NSLog(@"E9majtC2uhvnY6JfbplrgUHWNiXMRIk");
  99. NSLog(@"p1zG4RD2kLaQndJTA");
  100. NSLog(@"YeV8JTKvwmI3Aj4uaNP7UtZyp5");
  101. NSLog(@"fYsj7neziGM4hRlLwx0PrqQbVH9KUT");
  102. NSLog(@"5drYmsNWJ2tPwuISEBqoCgFnlpHA0ac8LGjKRD");
  103. NSLog(@"hKPuM6Tti7FmOC");
  104. }
  105. -(void)anSHJvxEfZ:(UIUserInterfaceIdiom*) anSHJvxEfZ a0omxJS1Mw3:(UIButton*) a0omxJS1Mw3 aNrGO:(UIFont*) aNrGO aAcWl:(UIControl*) aAcWl am8CBYMzaT:(UICollectionView*) am8CBYMzaT aHs9PmcTD:(UIViewController*) aHs9PmcTD aPRA4:(UIBezierPath*) aPRA4 a5BQkF0ZdUD:(UIFont*) a5BQkF0ZdUD arCYbvghj:(UIInputView*) arCYbvghj a3FViMWlsrA:(UIActivity*) a3FViMWlsrA aSejTA4:(UIImageView*) aSejTA4 aaXCI9Yvh:(UIButton*) aaXCI9Yvh ajgy5R:(UIControlEvents*) ajgy5R aZ7SRrqW:(UILabel*) aZ7SRrqW atB3hy:(UIBarButtonItem*) atB3hy a0IkSgC1B:(UIEdgeInsets*) a0IkSgC1B awG8A1B:(UIMotionEffect*) awG8A1B {
  106. NSLog(@"KXQx5UdOlEAPsjiSW8Hep61LcY");
  107. NSLog(@"DnHrkx0z7tSqsZUlmCdJ5bF2hT6ioVjXg");
  108. NSLog(@"cyLaRg4Z7WFGszuodQESIei82mkBAvDXpHfO");
  109. NSLog(@"ai7ws0yMHmlYBuC2kLrzI1VxFNfhcGDevX6JptdU");
  110. NSLog(@"9NqiW4vo2bkG7d8pI6");
  111. NSLog(@"8mxZztR1UpfSuBNJkyW0IG9qF4dbKMeX7gLavA");
  112. NSLog(@"4R9NL3xPyhAXjtGOoB0UwvnksC5KIJWTma");
  113. NSLog(@"aHSUFKgsbnfVGr9Bu0tqY7JDiCPMTI2dE14cNQ");
  114. NSLog(@"F7RpQOdScaz9y0J");
  115. NSLog(@"1dsSyPcqRDkVAzxKBXg9jroETaU");
  116. NSLog(@"CIwrcF8jhy");
  117. NSLog(@"jvUrp2NsJC1qSZyXFwG");
  118. NSLog(@"ebRdPfL0ExkNn");
  119. NSLog(@"c1jUy429oYwqt8ON57WGXZI");
  120. NSLog(@"wkLY3KAu9rszZq");
  121. NSLog(@"MuBtF670PqOdo5gar1JsKQS");
  122. NSLog(@"Vqd6PitlSapev1yMC");
  123. NSLog(@"nQHSubqrRVfIx2F9eDt1Z506dLil8ApOEhT");
  124. }
  125. -(void)a5XiA:(UIImageView*) a5XiA aul32V1ao:(UIKeyCommand*) aul32V1ao aYg9Q4PxZDU:(UIDevice*) aYg9Q4PxZDU apjydfVgm:(UILabel*) apjydfVgm aP7C1K:(UIImage*) aP7C1K aVhTq:(UIApplication*) aVhTq akgde:(UIFont*) akgde aGcO8zCbZM:(UIRegion*) aGcO8zCbZM ax2YvmbZ:(UIEdgeInsets*) ax2YvmbZ {
  126. NSLog(@"DZMy79avEViNeuBqt1pR");
  127. NSLog(@"Y0Th4Api16VESCeINx3zn2HXJ5domyKZ9fl");
  128. NSLog(@"eBHIaic5W0qLbdmkQOyGs1");
  129. NSLog(@"7Zm9s8CXLTdk6DPal1KGjuhYIHO3R");
  130. NSLog(@"2cUr17WqgDtshbOyR9jfBwueG5o8lnm");
  131. NSLog(@"Vvpca8HnofUewMgSihLXmqdr4luGYsRxQE");
  132. NSLog(@"cquiRlsoJmnd2ft5IEXSAgrBNYbKva4");
  133. NSLog(@"I7Pu1gDOBaXCFqvr9EZwxJe65WGdA8");
  134. NSLog(@"UGObtjwTP1xe7vHQ2BC5oZ");
  135. NSLog(@"7t6lc3UOM1vqRBCImuV2ZP8GfHYzK");
  136. NSLog(@"S9HJKhOdwLg6ba1qcWjXGioCkA");
  137. NSLog(@"oUn7bWSEIgNf");
  138. NSLog(@"VHsNtu6KrRCP17LJ");
  139. NSLog(@"9FcHjo4LOINgKifGJwExSkY");
  140. NSLog(@"F9A8EIDNbYBJoQ4PHSkpnurXz6CO2a");
  141. NSLog(@"H4P0VGeDnafNA3mJjhq8rM1F");
  142. NSLog(@"byAujX4KrkNUJIVdDt7znE0h1WGexRL");
  143. NSLog(@"YIuXU4089wJmriMj");
  144. }
  145. @end