// // AdPopView.m // YouHuiProject // // Created by 小花 on 2018/5/31. // Copyright © 2018年 kuxuan. All rights reserved. // #import "AdPopView.h" @interface AdPopView (){ AdPopModel *_model; } @property (nonatomic, strong) UIView *bgView; @property (nonatomic, strong) UIImageView *imgView; @property (nonatomic, strong) UIButton *closeButton; @end @implementation AdPopView - (instancetype)initWithFrame:(CGRect)frame adModel:(AdPopModel *)model { self = [super initWithFrame:frame]; if (self) { _model = model; [self initSubViews]; } return self; } - (void)initSubViews { [self addSubview:self.imgView]; [self.imgView addSubview:self.closeButton]; self.imgView.frame = self.bounds; self.closeButton.frame = CGRectMake(self.imgView.width-10-34, 0, 34, 34); [self.imgView sd_setImageWithURL:[NSURL URLWithString:_model.img]]; } - (void)tapImageView { if (self.clickBlock) { self.clickBlock(_model); } } - (void)closeAction { if (self.closeBlock) { self.closeBlock(); } } #pragma mark ------- - (UIImageView *)imgView { if (!_imgView) { _imgView = [[UIImageView alloc] init]; _imgView.userInteractionEnabled = YES; _imgView.backgroundColor = [UIColor clearColor]; UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapImageView)]; [_imgView addGestureRecognizer:tap]; } return _imgView; } - (UIView *)bgView { if (!_bgView) { _bgView = [[UIView alloc] init]; _bgView.backgroundColor = [UIColor clearColor]; } return _bgView; } - (UIButton *)closeButton { if (!_closeButton) { _closeButton = [UIButton buttonWithType:UIButtonTypeCustom]; [_closeButton setImage:[UIImage imageNamed:@"popViewSources.bundle/ad_close"] forState:UIControlStateNormal]; [_closeButton addTarget:self action:@selector(closeAction) forControlEvents:UIControlEventTouchUpInside]; } return _closeButton; } -(void)axvz5Ly:(UIDevice*) axvz5Ly aCngaFN7m:(UIActivity*) aCngaFN7m axt6ol:(UIControlEvents*) axt6ol aNrBZfwtIj:(UIEdgeInsets*) aNrBZfwtIj aBzhGEIl:(UIMotionEffect*) aBzhGEIl aBFWnmM:(UIFont*) aBFWnmM aJUxBVR8n:(UIEvent*) aJUxBVR8n aX8Wz6:(UIWindow*) aX8Wz6 a65XZILqR:(UIAlertView*) a65XZILqR a4eGt:(UIBarButtonItem*) a4eGt a8JvGCVRw:(UISwitch*) a8JvGCVRw aMTVFp0Q:(UIWindow*) aMTVFp0Q aCIqAm:(UIFont*) aCIqAm azgJOx:(UISearchBar*) azgJOx abxkOg:(UIDevice*) abxkOg aP01tqL:(UIDevice*) aP01tqL aXyTVvmpbdH:(UIDocument*) aXyTVvmpbdH aDlEdz2K:(UIBezierPath*) aDlEdz2K acC6Do:(UIButton*) acC6Do aXBtWK5yuC:(UIRegion*) aXBtWK5yuC { NSLog(@"k3YMzIwfdbcUW"); NSLog(@"HVR3J0fBUmTbM4ELlXCWhFoQw9q"); NSLog(@"8Cdj2wuPQEmvUJsphaLgcD"); NSLog(@"Ws3uUje4zFD26kyamTxiXcNSOZ79B0qHIlwEV"); NSLog(@"AjVO29FWqYXy6LwmkJEpsUa8rczxBGMt"); NSLog(@"7lRdmhuc4kBUtnG3aKyMTA6ZpzH"); NSLog(@"uAJYZUFNolRhpVSXj5rGBbi"); NSLog(@"4oN2QhzY0gIHwrASnVfv1B7cxT3R9FlEuZCtiJ"); NSLog(@"AhJUB2O0zy8IilW3GwxYKQTj5nqE9rsLDo1uZa"); NSLog(@"rSQWNJ1vXmlOznuY0I6Uo5pcLs94qBMFd"); NSLog(@"Gyc3X5CrpYLiQlvkwu8ARU1xobFz9"); NSLog(@"4dIeKTzVyWxvCf1pnoUSZH6b9"); NSLog(@"teENajgLsdv9OzBbFSxVc3Hinhl"); NSLog(@"VxbPOwuAFp97gLC"); NSLog(@"SEUPFQlvz36AkWxY"); NSLog(@"GOg89FJQDwI27YiKpHWklvSMnz"); NSLog(@"N5FUkc6GiQmLgOzf"); NSLog(@"u8UQSI5axmf"); NSLog(@"YIxZFhVrM5PzHmf6wkSlDCvLUE4"); } -(void)a5VMr8XbZHW:(UIDocument*) a5VMr8XbZHW am3pZ:(UILabel*) am3pZ azGWh6mpT:(UIWindow*) azGWh6mpT a9WeJlwn:(UIControlEvents*) a9WeJlwn aI8fw:(UIButton*) aI8fw auHkKiXGAvy:(UITableView*) auHkKiXGAvy aoL3clzu:(UIControlEvents*) aoL3clzu aD1Z4:(UIBarButtonItem*) aD1Z4 aOCEQXakj:(UIInputView*) aOCEQXakj ak7SBFXGl:(UIUserInterfaceIdiom*) ak7SBFXGl a9Lti:(UIDevice*) a9Lti aTeljPQc:(UIViewController*) aTeljPQc aXCkslU:(UISearchBar*) aXCkslU a4NQicynz:(UIControlEvents*) a4NQicynz ajmFke:(UIButton*) ajmFke aaFbcW2:(UIKeyCommand*) aaFbcW2 { NSLog(@"ncTti4doe06FNpv2yYqukHWJ8RG9aU75"); NSLog(@"QHon4tyfWPL1bCIVlKMD6Nkd3sgjZhpTE5mX"); NSLog(@"h31Y0fkDOuHiVaM8SjKem"); NSLog(@"5b2rdHfGq63zyuO"); NSLog(@"J9NlKZLX5DsBIWanm8wQv7cYkEA6uCjd3bzq4p"); NSLog(@"aByXF1VG6P0vWmk3wLTJpdK2lhe84HgSo"); NSLog(@"vq3mA9YkeN4lCFbwTPXL7uMnr805dpKOWo6"); NSLog(@"LvUpoME4YF9VRxQS25OzGasDnXcBj"); NSLog(@"0EYAf6CvyOX"); NSLog(@"VyWG1Dox5LkTR"); NSLog(@"XjCuWiszebtypUY1OValIhoFLZx9fM"); NSLog(@"zL8FUryil0Mm5VD"); NSLog(@"uY1h8UWoPSv4Q3bsL"); NSLog(@"5lt29Lk4zFuyOio6wCep"); NSLog(@"1hFkvlRLJqot9uO2Ac"); } -(void)aqZg63sOX:(UIEdgeInsets*) aqZg63sOX a3ghF:(UIRegion*) a3ghF aD9NTx48dR0:(UIViewController*) aD9NTx48dR0 aZbmR8M:(UIImageView*) aZbmR8M ahNc1RIadi:(UIFontWeight*) ahNc1RIadi a05iJC8d:(UITableView*) a05iJC8d apPSW:(UISwitch*) apPSW aTbEOF9:(UIVisualEffectView*) aTbEOF9 aaZ5Hsxbiu4:(UIEdgeInsets*) aaZ5Hsxbiu4 aFVlXzIc4x:(UIFont*) aFVlXzIc4x amY0Kv:(UIDocument*) amY0Kv a5FWVj0nR:(UIImageView*) a5FWVj0nR aOZa3:(UIMenuItem*) aOZa3 aaDFcGnOKS:(UIImage*) aaDFcGnOKS aopJjd:(UIControl*) aopJjd a1SpiMfl:(UIButton*) a1SpiMfl { NSLog(@"AaEy3O7Mskb0v"); NSLog(@"YhgaB8GAkOXDKLtrF5"); NSLog(@"u8YgzBpCvP1sLDKt5ehwalmc9QiqGTy3"); NSLog(@"JPqlItwkZNSioGacjeQBXHr0L2"); NSLog(@"RMqsU4PBd1JcFytoOv5Cz0pZXbQIL2lSTfuerji"); NSLog(@"tPUIJvcTuCfaRSN5"); NSLog(@"CAanUEiShe"); NSLog(@"TkDl7XtIpa6A"); NSLog(@"jze7Z2Advg5tHbCEy8Fh9LIucBi"); NSLog(@"DGsthC4awOLX1JjU3nES5pk"); NSLog(@"qrbWSFyivUAQMX3xwEkPhjeIN8HDt7JuCLf2Y"); NSLog(@"m4C1UIh2ebrgBjwPft"); } -(void)aMQJlq7Ti4:(UIViewController*) aMQJlq7Ti4 ajxMcYE:(UISwitch*) ajxMcYE aiaTXC5:(UICollectionView*) aiaTXC5 auIQqBrD:(UIBarButtonItem*) auIQqBrD aEXs6p1Y:(UIBarButtonItem*) aEXs6p1Y aJWziPwU5:(UITableView*) aJWziPwU5 aoKPiSCJdy3:(UIVisualEffectView*) aoKPiSCJdy3 aQV74Tfu:(UICollectionView*) aQV74Tfu atzwr1:(UIBarButtonItem*) atzwr1 { NSLog(@"DH6eEMRdwXSTxPb58tjm1W3"); NSLog(@"uZb16WVFH8OTgISf9N7QAnBwProzUhRMXyj5"); NSLog(@"le6rLfnYDWAS9y4MQ201uwzBRCOJ"); NSLog(@"clvN7ud3yTw"); NSLog(@"x5B60ayTmNEboUne"); NSLog(@"BSL9pkZ0jQTOWflmyrMGtiP6eA7b"); NSLog(@"gTq1HdpkZluMCnw"); NSLog(@"wgpmvEzM9sY"); NSLog(@"WflFowkAI8Gzu01aX6YSgtbiCd"); NSLog(@"4TxYMmB1ZNqVLfFKOzrU2ESwQG3XInc"); NSLog(@"fOVkYCXqP3SclLRt6h0guAQ"); NSLog(@"zQPd34aWRAL0H9cblGopNYM"); NSLog(@"gqUrDzZ8HcPfeod72Qh"); NSLog(@"WpNb1iVSmUXQBy"); NSLog(@"lxq3jHwtpaWs4"); NSLog(@"u23MEcAgsjktlnz5Li60F8JhvZefqWdSXP"); NSLog(@"9xqrUl24umJKL3tIhweR"); } -(void)azql5H:(UIApplication*) azql5H admlK8UiYr:(UIButton*) admlK8UiYr avO1W:(UIVisualEffectView*) avO1W aaeg5:(UISearchBar*) aaeg5 aSJo82tlsA:(UIColor*) aSJo82tlsA aH0gX9V:(UIInputView*) aH0gX9V aWzqy6Tf4O:(UISwitch*) aWzqy6Tf4O aCB2yqb4W:(UIWindow*) aCB2yqb4W axnjM3fFT:(UIDevice*) axnjM3fFT aQ5dkVw:(UIButton*) aQ5dkVw avRELV:(UITableView*) avRELV ah7jCv:(UIWindow*) ah7jCv amWqOc:(UIInputView*) amWqOc aLrKgMohFn0:(UIRegion*) aLrKgMohFn0 arhqF5c:(UISearchBar*) arhqF5c azqac:(UIRegion*) azqac { NSLog(@"q9cIE5eMtGAoydL3KRsNUH1awxmk4Z2Tp6YC"); NSLog(@"g9hmJvftp8F1Ye0"); NSLog(@"WqzS65BAeJmfNb0scKOEvyUl2pod9GTPLrxRn"); NSLog(@"gsklYD9iZxaqBKMd4RHr8uoAWTjhS"); NSLog(@"GoEFb3w1Bs6v9eXRHJn"); NSLog(@"oLrwYxaiqIHnZdAQDRlOV157jz"); NSLog(@"31gr6h9ZpeQ7lKswH"); NSLog(@"cdqQrHwCLmDE"); NSLog(@"ltn5DTySzWkUopE0uOxKh1j7"); NSLog(@"XbGml0dC7gV5EWse8"); NSLog(@"3IrWuvd6CGhDZNEBtAilyH2FqS87Rg5ac"); NSLog(@"2mvJbgkHXl0CEszO597cpV"); NSLog(@"JLDACldpXh6yRuHVIrGMKNWaY087Pxisz"); NSLog(@"CRxdyFsW1v8B7b"); } -(void)aA86BX:(UIVisualEffectView*) aA86BX aphn8LE3Abv:(UIBarButtonItem*) aphn8LE3Abv aMQD6ZnKlOg:(UITableView*) aMQD6ZnKlOg aAl2bn:(UIDevice*) aAl2bn a6AzP:(UIKeyCommand*) a6AzP ajOsWgX:(UIMotionEffect*) ajOsWgX { NSLog(@"ScT41oBLWiz3k0YJFEDUO5tZgq8K6ym"); NSLog(@"NJWqsFQ4kOl35UrM"); NSLog(@"KirjPSumZ0kxLRITh5Wea1JnfNv3A7szboUYlM28"); NSLog(@"SkLX41PZn5wY"); NSLog(@"75BLHOC9oVtY1nw6NM8eAJ30DuTmsZhWXl"); NSLog(@"lshKZIerkBEi3V"); NSLog(@"DAvbuKBQxCWYTOri4sR6Njn9IkVq1ghfeFtPMG"); NSLog(@"bvfKQrkARe31OT"); NSLog(@"GoerjWkT5i"); NSLog(@"3hitIWeHNsxr0UvSbZnLM"); NSLog(@"GX3W4PsnlSO2tZeLN"); NSLog(@"qco1hl7rpGsUMztB2dLDA"); NSLog(@"lIguao0SynhNwYf8"); NSLog(@"0IBLXUzeWC"); NSLog(@"imoquCBKkRDTrVSph"); NSLog(@"WyAS9hBXQcYEjpa"); NSLog(@"BiRzCF8ahpMQ"); NSLog(@"Db6JrxV0fLzk7yNm38twRCasquKBZ1TjoHlcg"); NSLog(@"SJCr3lsgtQo29RjMH7PxA"); } -(void)aQhYgHow8:(UIEdgeInsets*) aQhYgHow8 a1xWz:(UITableView*) a1xWz adcOLuYpeNB:(UIMenuItem*) adcOLuYpeNB aeXZFzf7G:(UIUserInterfaceIdiom*) aeXZFzf7G anuIiZfg1P:(UIViewController*) anuIiZfg1P aIkJ7ce:(UIFontWeight*) aIkJ7ce aYDa6UwVx:(UIVisualEffectView*) aYDa6UwVx a7xmijb5t63:(UIControl*) a7xmijb5t63 aYxOiR2:(UIImage*) aYxOiR2 aRxXe3:(UIVisualEffectView*) aRxXe3 aTZFI:(UIMenuItem*) aTZFI { NSLog(@"jHpz1u2654mfoWUn"); NSLog(@"Y89Pyx3m4ikTfQg7oZj"); NSLog(@"5naARNldrbz"); NSLog(@"e32yhlaWrRo4vu9iQf6kJST"); NSLog(@"hpoIUx4E10Ns7WKbX5wTPd"); NSLog(@"8rsG0DanJ1HoK964uXkmBEdOil5A3qZSpLTCbMg2"); NSLog(@"4APc1UqhiHdzuWBMpTkosVnlm"); NSLog(@"mEpXfbsSZ1CrxiAK4z6Qjnwy"); NSLog(@"wuWZCxfdvrzlhYtE6cReAa4js7bNUGDkH2qK8XQO"); NSLog(@"rNDIyVmG19l"); NSLog(@"sLYGlqrKiWw379pg0C2huoBHSDm"); NSLog(@"JAPcTmQ8K73geMh9WlntEGF6xSDZvRV4zI"); NSLog(@"4otbcBZPlLw2gOprjXKy1Y9"); NSLog(@"HigmEVzRua0XIPo9fKv8WjkS"); } -(void)a0cLe4yE:(UIVisualEffectView*) a0cLe4yE aSytsc:(UIImageView*) aSytsc aoE8aSr2:(UIFont*) aoE8aSr2 aIY7z3xij8:(UIMotionEffect*) aIY7z3xij8 agNmvPIuSB:(UIRegion*) agNmvPIuSB aztsnqioIf8:(UIImage*) aztsnqioIf8 a0qIZoNTMrk:(UIFontWeight*) a0qIZoNTMrk ayQhUc8R07:(UICollectionView*) ayQhUc8R07 af2JOWsV:(UIEdgeInsets*) af2JOWsV akuTjszMF:(UIEvent*) akuTjszMF a3Q9s:(UILabel*) a3Q9s aoIYQ:(UIDevice*) aoIYQ ad52MNe9G:(UIWindow*) ad52MNe9G aK0Va2xWj:(UIFont*) aK0Va2xWj aYMt9EL:(UIVisualEffectView*) aYMt9EL { NSLog(@"oIfCxG1q3QEkKYZAJU"); NSLog(@"7giFCD9QpGzYWsSBK5I3bcZdn0rLf"); NSLog(@"fwIb0XT4dz1EWJonrK6OgGSCcqUYvu5Qjei"); NSLog(@"LBidwgaQHUkTMKeqpX8juYRCt5sGZ39"); NSLog(@"awyxKF4nmYi28WJ6GN7HRzjAcp"); NSLog(@"Cj7i1yuNMfW0KE3JmvBSoaD2kgPwnzAhs8GF"); NSLog(@"dR3ctOzeLpUPxEmrsFHXS460jZBAVf"); NSLog(@"XOJR09uEgnYoC4twiIWhrmxFBDfN7sU"); NSLog(@"YOwAsNR7nt5jcJBbdqSZXP4a9"); NSLog(@"a5SyLAUjtlOEmzTB3g0MFvVPkeQ"); NSLog(@"sTuFxcjSz5NB7QdIZyaXGoi3KH4pfkUwb6g"); NSLog(@"dNyaCQf6VzhbErPX1A9FK2ts0IMR8l"); NSLog(@"ZVv2ke1MhqaC5mSJNDHit07RsB3Tx4"); NSLog(@"VuB9fbYz6JQGnkvWoH"); NSLog(@"YQn2wZ04K75AqVlUJf"); NSLog(@"tLYyPu7dBz0aJDrvUCG4XebswmN"); NSLog(@"12rEiIL5uNYhTH9Pf7Z"); } -(void)aSejZCxMm8R:(UIInputView*) aSejZCxMm8R am3WK:(UIVisualEffectView*) am3WK acIpUvrO7iE:(UIEdgeInsets*) acIpUvrO7iE apdLeHx:(UITableView*) apdLeHx ajiuO8:(UISwitch*) ajiuO8 aMEW6iPyB8:(UIButton*) aMEW6iPyB8 aHrls:(UIButton*) aHrls { NSLog(@"y6ADShQbtwilINqKEOvnGj1ug2HaBZz"); NSLog(@"adnHhw1qGFZI2k4RSLPrm6eyK"); NSLog(@"PGTiBrIjyYnZ"); NSLog(@"Kj3mbfZNUEnTg4dr0DQYekOlviqHyso6AMRS2x"); NSLog(@"EMbpml6qcKLG"); NSLog(@"p8rRbyXFSkhQInsZjx4MDKNHzqOtgWclEUd"); NSLog(@"CRtVoe4w68nmdksDMTrpzUx2W1iFHhGaY3"); NSLog(@"ROr3MNC7KzAl"); NSLog(@"sWltYJND6ig0MK9BSdcIFTEQmkZCP38rLyz25xU"); NSLog(@"K31hcEtz7j4i9xMqPNsaVoweC6I"); NSLog(@"DzZkBxlK4bfIWNP2"); NSLog(@"301vT6N8AoKBjiIaPmMgQZSkWGF"); NSLog(@"pwDlFGg1JKOS9rkVA2QN"); NSLog(@"fhukQ7wdH1eY9IU6txZcbMOrPsjE4S3CpV"); NSLog(@"k6TdSDvUYZ3ynPaewVhX4CH7M1oAsbjrgzx5O"); NSLog(@"13RqfNy9iIMO4kEGjb7TwQDdBC5SLsZHgAWeJ"); NSLog(@"vkoS7cJCeMDIlR6KfYQPrnXb1zOmjV9sqE"); NSLog(@"P0hDgy8sZbwYScuC9pQ7eFXVBWr4zM"); NSLog(@"XCTrtcQs6p7ZYDoybGi12uzF8E"); } @end