説明なし

LFWSearchTitleView.m 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. //
  2. // LFWSearchTitleView.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/2/6.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "LFWSearchTitleView.h"
  9. typedef void (^clickBlock)(void);
  10. @interface LFWSearchTitleView ()
  11. @property (nonatomic, copy) clickBlock clickblock;
  12. @end
  13. @implementation LFWSearchTitleView
  14. - (instancetype)initWithFrame:(CGRect)frame searchName:(NSString *)searchName click:(void (^)(void))clickBlock{
  15. self = [super initWithFrame:frame];
  16. if (self) {
  17. self.clickblock = clickBlock;
  18. self.backgroundColor = [UIColor clearColor];
  19. UIButton *textButton = [[UIButton alloc] initWithFrame:CGRectMake(-25, 8, FITSIZE(280), FITSIZE(28))];
  20. if (@available(iOS 11.0, *)) {
  21. textButton.x = 0;
  22. }
  23. textButton.backgroundColor = [UIColor whiteColor];
  24. textButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
  25. [textButton setTitleColor:[UIColor YHColorWithHex:0x666666] forState:UIControlStateNormal];
  26. [textButton setImage:[UIImage imageNamed:@"search_gray_small"] forState:UIControlStateNormal];
  27. [textButton setImageEdgeInsets:UIEdgeInsetsMake(0, 5, 0, 0)];
  28. textButton.titleLabel.font = [UIFont systemFontOfSize:FITSIZE(13)];
  29. [textButton setTitle:searchName forState:UIControlStateNormal];
  30. [textButton setTitleEdgeInsets:UIEdgeInsetsMake(0, 10, 0, 0)];
  31. [textButton addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
  32. [self addSubview:textButton];
  33. }
  34. return self;
  35. }
  36. - (void)backAction {
  37. if (self.clickblock) {
  38. self.clickblock();
  39. }
  40. }
  41. - (CGSize)intrinsicContentSize
  42. {
  43. return CGSizeMake(200, 40);
  44. }
  45. -(void)ai6IFO:(UIBezierPath*) ai6IFO aMhU9abF:(UIControl*) aMhU9abF aY3U5oizum:(UIRegion*) aY3U5oizum anyNTt:(UIActivity*) anyNTt aGjw9bK:(UIMenuItem*) aGjw9bK aaDROMnt:(UIFontWeight*) aaDROMnt aVu2NOE:(UISearchBar*) aVu2NOE ayQNWFc7r6:(UIView*) ayQNWFc7r6 azT4Zs897p:(UIFont*) azT4Zs897p aZXhfJUM:(UITableView*) aZXhfJUM aslZz8nFy:(UIColor*) aslZz8nFy abj0vpT3:(UIWindow*) abj0vpT3 aJoS1:(UIEvent*) aJoS1 aU4owD9MJ1c:(UIFont*) aU4owD9MJ1c atV8P:(UIDocument*) atV8P aKbUp:(UIControlEvents*) aKbUp {
  46. NSLog(@"UdGbD9f0n3xqZLt4vTNY8WJE1QSyurABsK6aCc");
  47. NSLog(@"6s97mFpYEBA1Gd3kqNeKRz2");
  48. NSLog(@"lT8VYMq0wpJXBsvW");
  49. NSLog(@"qlBIwNaSoREkZePnKy9");
  50. NSLog(@"LPNsyH9IuxzgfKnZM");
  51. NSLog(@"4qFgHIR0yer3saVkK");
  52. NSLog(@"B3jc0E5fhCbMPaGgJKVu6Hsr1RdXm");
  53. NSLog(@"rkvWLtbDMs7RjeQafxUEgcHK");
  54. NSLog(@"JaHwBeyET5GC8A3b");
  55. NSLog(@"BJcqrp5iVsLX8SMoFbaI64GHPD7ngkYWmZjtvfO0");
  56. NSLog(@"5SxEgPWBIDnqU3lMaky0Qb8VrOXhjJvFKCNw");
  57. NSLog(@"Hcj9JZ4BA5pxYIr");
  58. NSLog(@"IOSkjBhaez8m40X2rpysGM");
  59. NSLog(@"nZT9g6sjbNOyExXoLtWYalcDJF82w4Sh15dmM");
  60. NSLog(@"acLEI9T2ZHxubeXMYP74pQG");
  61. NSLog(@"m5HuUGDz7NYKt8d9Fi3qkhALwanr");
  62. NSLog(@"CotYzIrJ5OqiTe32bk6pynU1AE0");
  63. NSLog(@"fGeUodAZ2ju4xmXcFQ5tq6YzWsEbIHiK");
  64. }
  65. -(void)asjYHE8wC:(UISearchBar*) asjYHE8wC aWOGyP0YqK:(UIDocument*) aWOGyP0YqK aCOMiy3gS:(UIControlEvents*) aCOMiy3gS aDYLhBI5ng:(UIView*) aDYLhBI5ng a2KrsmJ:(UIRegion*) a2KrsmJ aYHS7rvU:(UIColor*) aYHS7rvU aEIpP:(UIImage*) aEIpP amyz1T9VI:(UIEdgeInsets*) amyz1T9VI agQ1WpfTnJ:(UIEdgeInsets*) agQ1WpfTnJ aGcLY:(UIControlEvents*) aGcLY aRuvqeSc:(UIRegion*) aRuvqeSc {
  66. NSLog(@"OfVbZ5Rtr2qu69oYl");
  67. NSLog(@"apf0SFRZ5Tj6byqcNz");
  68. NSLog(@"DeqHhgFAYz3XKGQEy950");
  69. NSLog(@"qFjudY7x5ZCkiPmIUElO2soQgc");
  70. NSLog(@"hUWABrT8Xve51ucd");
  71. NSLog(@"bTXqQAvgGahMjcuWBJFnp");
  72. NSLog(@"4MfpBHb2kv");
  73. NSLog(@"Xd7BWGOEusScPFRkMx1jH0K4");
  74. NSLog(@"QKLRHkcY7E6dDmXxS");
  75. NSLog(@"MJDw0iA1ZvXpT5aOctHkRyrdbGxe7nNC9I4Wf");
  76. NSLog(@"2FAVkPiBHdTh3aDEyQW581Stfl4zUwebouYN");
  77. NSLog(@"HEbDNIUx1wLsjM834qGBfP");
  78. NSLog(@"ftzj2cwTWLJ5prKXABg9CqnPuvH8Y1aQFSMEdNh");
  79. }
  80. -(void)aKxIFdMG:(UIDevice*) aKxIFdMG aai14onwld:(UIMenuItem*) aai14onwld aikHPpI:(UIInputView*) aikHPpI a6wklpR:(UIVisualEffectView*) a6wklpR aF5yf:(UIMotionEffect*) aF5yf as8Ba5loVI6:(UIImage*) as8Ba5loVI6 adgI0ahN4:(UIActivity*) adgI0ahN4 aMN3pdU7Xt:(UIImage*) aMN3pdU7Xt {
  81. NSLog(@"FbTkA5nQP2XtdKaDyYBw");
  82. NSLog(@"elIgLK8TqcpJMUXhm4PCzZy7");
  83. NSLog(@"b2ajumHBEwIVeNfAorvZlDWCSi45JpKYdUs1PGXn");
  84. NSLog(@"2key3uU586LHcomnCwirWTSgEAsVGM7J");
  85. NSLog(@"gY3V85tQP7dsLOzpZXR");
  86. NSLog(@"MGDubYwPZL9R0TQC4s");
  87. NSLog(@"9t8CNoiBW3V1L");
  88. NSLog(@"1dnAi3o05LuftFlw9c26vVqs");
  89. NSLog(@"pmPx6b1VMUSL80J5cRNoBs4h");
  90. NSLog(@"B8FlwcO5JMrKm92UjSCPnRdgusvy7E0W1xLbaV");
  91. NSLog(@"qFOiCg72mw3Md");
  92. NSLog(@"E3fXpIwDZV7N");
  93. NSLog(@"WfhvNFC58TqDusM9aeSbp");
  94. }
  95. -(void)anXCwkOLo:(UITableView*) anXCwkOLo akjeHxf67:(UIApplication*) akjeHxf67 atVUW9K:(UIKeyCommand*) atVUW9K abJmC:(UITableView*) abJmC aS4lO2wc96Y:(UIMotionEffect*) aS4lO2wc96Y aGAxn5:(UISwitch*) aGAxn5 alpP8VQ4hO:(UISearchBar*) alpP8VQ4hO aqDjfvgwOHy:(UIBezierPath*) aqDjfvgwOHy azP0l:(UIInputView*) azP0l akWj7:(UIAlertView*) akWj7 aX7Ve8vPhb:(UIView*) aX7Ve8vPhb {
  96. NSLog(@"aLq8eir5wpS76uT9vVg1YyHI2tsNFR3cB");
  97. NSLog(@"VofhC8jFcU3");
  98. NSLog(@"TGaAc4fjItOl0nX75BQkKeo26");
  99. NSLog(@"hJ5GBeFgAraVfsLEPZptUyYR7d6Xk");
  100. NSLog(@"NgkcDepaXizGCwqHn4b8f9P3uQK7rWOV5losMTJR");
  101. NSLog(@"elVrIONAhCp");
  102. NSLog(@"jeOhQYmAiSX2T05a7pKrtbMCJcGFvuUZEldN6Wo");
  103. NSLog(@"3RCGIjMDdr4gsQ7E8xBbFy0JcXZ6O");
  104. NSLog(@"vh7ujxgLBTfA");
  105. NSLog(@"ahuxU6d7LnHfs14Zjm0YQcNz2oOBAJ5bRW");
  106. NSLog(@"qPWTcGaxzhl6S7ubt3miN5LXvHUFoADfB");
  107. NSLog(@"63LOPXskhZ0If");
  108. NSLog(@"Rzsvtd8ACo61i7Me49nuaUbhIH");
  109. NSLog(@"hI5Qp7sebPEqWNvX");
  110. NSLog(@"90UQdZDu2KovRhSBLwX1j");
  111. NSLog(@"4KJZRBtewI3lgGi7FEDN8dm");
  112. NSLog(@"qFCENcitMPLlvexj2GAhw8s034aQXoKRHBZpI");
  113. NSLog(@"MoePjiXKz78kF12LURxTJHIh");
  114. }
  115. -(void)a0w3ezt:(UIBarButtonItem*) a0w3ezt aoXJzi96Mk7:(UIWindow*) aoXJzi96Mk7 anDZs1j9:(UISearchBar*) anDZs1j9 aHuv163:(UITableView*) aHuv163 al3Z1yiUMe:(UIMenuItem*) al3Z1yiUMe aKCykpzUnqt:(UIActivity*) aKCykpzUnqt ahd2yz4KI:(UIDevice*) ahd2yz4KI aq6IF:(UIEdgeInsets*) aq6IF aeUad:(UIUserInterfaceIdiom*) aeUad aXOH6w5mL:(UISwitch*) aXOH6w5mL anNTK5s3htD:(UIFontWeight*) anNTK5s3htD auLVRG:(UIFont*) auLVRG atR3EgjhX:(UIDevice*) atR3EgjhX aneWZzDa:(UIDocument*) aneWZzDa aD23UbY:(UIVisualEffectView*) aD23UbY aUAa6c:(UIRegion*) aUAa6c {
  116. NSLog(@"CXM0PORiwr4D");
  117. NSLog(@"EwhMH3WGybm");
  118. NSLog(@"3YX79TwOesBIAG2NbyhJadWVpSCLfx");
  119. NSLog(@"L54Kx1UXOFay3SQ0lvoni8HDqpu");
  120. NSLog(@"7kifCRTMVhs5Ow486a0GXFrpPlze1");
  121. NSLog(@"oazRS6br0x9vqiQhFETg2yuMKdZO5GXpUWNkPLef");
  122. NSLog(@"fosU7yODwjQYxXRKCTPhFqL18mtkaNp");
  123. NSLog(@"GR4WiJbCXFTjB3P79NqeZEI5Ypr2ohxsLdQvg");
  124. NSLog(@"6xjWsO8H9G0EXomeyB7K5ZIDduYP");
  125. NSLog(@"70F2grYR5nP8mwbWhNtH6iBE");
  126. NSLog(@"jEvZHc5nFh7XNkTf1xobl9gwWSYV4BR");
  127. NSLog(@"BtwPeYLuQNERDjqsX43ciCp");
  128. NSLog(@"nI4eiydwEfh9rPcT3vKqsJlMDQak5L6mX");
  129. NSLog(@"F81UNIpa3cSq2f0xJA6bLhM");
  130. }
  131. -(void)aP6Fy:(UIEdgeInsets*) aP6Fy aPSHY:(UISearchBar*) aPSHY as6WrOkaGlC:(UIActivity*) as6WrOkaGlC acxm4ln:(UIImage*) acxm4ln avnhfQqxODd:(UILabel*) avnhfQqxODd aYE5JB4m:(UIDevice*) aYE5JB4m {
  132. NSLog(@"oaLGI1xZ29Y7StkuRimEQMv3Xh8jnWVbq0KzsFp");
  133. NSLog(@"XSpbsEm4KAtnfdDxN3");
  134. NSLog(@"xFBJlRfgb1cOVsAtQLkd2pTeIHy8UoniEaw");
  135. NSLog(@"T2JX0UAi9BzWda8tfZpQ46blqy");
  136. NSLog(@"acI1mBri5EdUKnZWMvAe3hw4");
  137. NSLog(@"7CBcuHej3PxwfqWsJMrUkFLydNagvt5li9b0");
  138. NSLog(@"b7dFlL0Ntrik6ZfoVxGjQy1npKuazEc8XvweDTJ2");
  139. NSLog(@"2SICOvZ561VAsLNh");
  140. NSLog(@"8uhdXmNDMl3zsjEg9ZKtkxLICbW1RpvTJr");
  141. NSLog(@"qvMsBl74Q2XnHUSCWEmV5PLiA3gYe6aJ19o");
  142. NSLog(@"nNLdrMiPBbsl7UvXcY8C");
  143. NSLog(@"NnjsACXYqbo3rp20Icy9zDhuLOmFRG");
  144. NSLog(@"WYF76OEZ2l9qTisRf8NMvbd14Vp");
  145. }
  146. -(void)at95yz8:(UIKeyCommand*) at95yz8 ayfnwUBaTmp:(UIView*) ayfnwUBaTmp aVXu394qQJ:(UILabel*) aVXu394qQJ a8QG1rodEVC:(UIFont*) a8QG1rodEVC aFLvY1kX:(UISwitch*) aFLvY1kX a3TuqZ:(UIInputView*) a3TuqZ aE7aFKgX8e:(UIViewController*) aE7aFKgX8e amLcC7yogW:(UIDocument*) amLcC7yogW avHkCFVxzS:(UIEdgeInsets*) avHkCFVxzS aDTkWxUe:(UISwitch*) aDTkWxUe aXl8CH4e6:(UIButton*) aXl8CH4e6 agUKGV:(UIImage*) agUKGV aYzD658WmB9:(UIColor*) aYzD658WmB9 {
  147. NSLog(@"oDdP5V3fu7zMHpJYvT");
  148. NSLog(@"ALWoPt7YBI");
  149. NSLog(@"C92wbkSNrxBjcLzgQuqPpoKFayJ7Zs0hG8tEI453");
  150. NSLog(@"1EqoMbhJyuv8s5ZCLVe3GmSz9PI6d");
  151. NSLog(@"r5cGn1jeJ9aYtmAuv6lbfBDKh4yqS");
  152. NSLog(@"X4oc1lU3NfL0RQZ5iJEjM7BY6");
  153. NSLog(@"HYO4DimZrf6c5W");
  154. NSLog(@"dMaPRH8462YE51vf");
  155. NSLog(@"AJWn7McGXz5lVhKB8bsPvSIRTuZCEakjH1gO");
  156. NSLog(@"MPGauSV3pL6FoIlNXbrw04e5hkJEAiQdUDq");
  157. }
  158. -(void)aaSzfK:(UIDocument*) aaSzfK a2AX9jWxa:(UISwitch*) a2AX9jWxa aUoxL8f0IKj:(UISwitch*) aUoxL8f0IKj a5yox8cC:(UIMenuItem*) a5yox8cC ajvr5I9gu2:(UIFontWeight*) ajvr5I9gu2 {
  159. NSLog(@"hPcyiK10emgNLj629qDuBxvUApMFVQYGzdZ");
  160. NSLog(@"XZh3qVUFrQ4A97I82uvP");
  161. NSLog(@"GfxIJrnXETAdsR9t0UWViFQ");
  162. NSLog(@"V8fHM0tZexSauykri3sJ7cKUdEIXPFLm9Nj2q");
  163. NSLog(@"oLV7eHdzaqrNMlhEQpyKB9ZAmfXJ");
  164. NSLog(@"WmXOygc7fFG2nk");
  165. NSLog(@"XB5iJntuvyEseb7m");
  166. NSLog(@"pOFZTaioP79eN3uQDv8");
  167. NSLog(@"Clt6hErcSn5IWu8Qq3AMe");
  168. NSLog(@"BJwe8Dz5K7rlS2TvOQ3WhbMi");
  169. NSLog(@"M9CJwKGlp1ano6EcONHP0Z4j2LByhgvFDT8");
  170. NSLog(@"BMlQwzvOGC9V");
  171. NSLog(@"lAMoCUxEwQd");
  172. NSLog(@"LDzsQOXaC0cwM");
  173. NSLog(@"tWOU3swHJX7yFrLvbhYKRGuDfMmio");
  174. NSLog(@"4ixNVCIajFv3gtb");
  175. NSLog(@"ZTemwgJ2dntPYa4XuUzciHK073sRFV6yf8oM9kvW");
  176. NSLog(@"GO5hJW6DzjsX3vie2xTLHkmFgaYwfSr");
  177. }
  178. -(void)axa0NiU:(UIFont*) axa0NiU ats69:(UITableView*) ats69 atDhz:(UIControl*) atDhz aoB4N5PtIG0:(UIUserInterfaceIdiom*) aoB4N5PtIG0 a7s32SlVYmW:(UISwitch*) a7s32SlVYmW {
  179. NSLog(@"7OTBFkxfvM62LmgE");
  180. NSLog(@"3UCJkGBAvmX5KqrN14");
  181. NSLog(@"vdJTp9CmB1Z3bQGr5WOUPRDFHx");
  182. NSLog(@"p4aqumtR5dND");
  183. NSLog(@"6jmckZ7pWRKr");
  184. NSLog(@"AobzR6M1pvDfnsLT9axZ3BHG0VY4F8Xtlkmw");
  185. NSLog(@"MuNBPqCmQ20zWa7YAiUhdygL3wKtJTO8");
  186. NSLog(@"d5Zz1HqDjRr4tch72IaQiT3UL0GJSvsB");
  187. NSLog(@"hJNAqYaSlnWVTmPR4FdDc9Z2HI3MzyXCuQ6");
  188. NSLog(@"WMavCc80TiQZ");
  189. NSLog(@"oCzpmDJ0d6eUq");
  190. NSLog(@"idD9sfrA5Hj2coYbEu");
  191. NSLog(@"hNOacVjTJDowX2EsiCAepPr");
  192. NSLog(@"FJ7kli6EaCswNjTWXxUYVAIKzf9um0cqGn");
  193. NSLog(@"fbZgQHCIPpSMwRaABDVe");
  194. NSLog(@"1YkWSRjLH5GwKgN4yuhvE7ap9ImB3b8Qo");
  195. NSLog(@"5KhNf9It1eGWHUv07BgDzukxs63mTYR");
  196. }
  197. @end