// // YZMAMineAdView.m // YouHuiProject // // Created by 小花 on 2018/6/6. // Copyright © 2018年 kuxuan. All rights reserved. // #import "YZMAMineAdView.h" @interface YZMAMineAdView () { UIImageView *_imageView; } @end @implementation YZMAMineAdView - (instancetype)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { self.backgroundColor = [UIColor whiteColor]; self.layer.cornerRadius = 6; self.clipsToBounds = YES; [self initSubViews]; UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction)]; [self addGestureRecognizer:tap]; } return self; } - (void)initSubViews { CGFloat width = SCREEN_MUTI > 1? 314 : Fitsize(314); CGFloat height = SCREEN_MUTI > 1? 72 : Fitsize(72); _imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, width, height)]; _imageView.userInteractionEnabled = YES; _imageView.clipsToBounds = YES; _imageView.layer.masksToBounds = YES; _imageView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin; _imageView.centerX = self.width/2; _imageView.backgroundColor = [UIColor clearColor]; _imageView.contentMode = UIViewContentModeScaleAspectFit; [self addSubview:_imageView]; UIButton *close = [[UIButton alloc] initWithFrame:CGRectMake(self.width-30-5, 0, 30, 30)]; close.centerY = _imageView.centerY; [close setImage:[UIImage imageNamed:@"close_ad"] forState:UIControlStateNormal]; [close addTarget:self action:@selector(closeAction) forControlEvents:UIControlEventTouchUpInside]; [self addSubview:close]; } - (void)setModel:(AdPopModel *)model { _model = model; [_imageView sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:nil]; } - (void)tapAction { if (self.tapAdBlock) { self.tapAdBlock(_model); } } - (void)closeAction { if (self.closeBlock) { self.closeBlock(); } } -(void)aMWzFQjJg1v:(UISwitch*) aMWzFQjJg1v aDnJxGO:(UIUserInterfaceIdiom*) aDnJxGO a6sKQCji:(UIView*) a6sKQCji aOv7mdTE:(UIApplication*) aOv7mdTE aDe1bJ39Av2:(UIKeyCommand*) aDe1bJ39Av2 aBvsCfMoqAh:(UIImageView*) aBvsCfMoqAh ar9wKLO8:(UIVisualEffectView*) ar9wKLO8 aOCWAHubm:(UIWindow*) aOCWAHubm ahPnXj:(UITableView*) ahPnXj aAPjD:(UISearchBar*) aAPjD agjEAS4lCt:(UIBezierPath*) agjEAS4lCt { NSLog(@"iEJuvC1MmARw6BQqXrn4"); NSLog(@"oFW8Y6d23aK0OD5mQJ"); NSLog(@"AjmHChoDdueWnk9EN7UGvp86"); NSLog(@"Eh2VsA5fmygj3tlRKFS9eB"); NSLog(@"VqnIgQzWBMhreSL0Kia"); NSLog(@"f3Vxv9ItzgU71Tyldh26ckZ5b8XFmoHG4psEAP"); NSLog(@"AeYxIdEO65qJ9m0LUDNcKPC"); NSLog(@"HQTUbKVsuR9joyawc0O"); NSLog(@"lx9PpcN5Mnjya6bRG4ITrUw"); NSLog(@"76SjPKfyrtCqpe9gMnA24id1VBGIbWasQ8JLm3k"); NSLog(@"7F3TsmpYP28gWNka"); NSLog(@"rvtC4lDqkKhf7QJ6Lj8MPpOWseXHBmGyS1I"); NSLog(@"T3CqoSbvJXg5eyIDkplKQOcFjBaNU"); NSLog(@"I9mHFTOq1PfpQ4iw5YoexK"); NSLog(@"0ctAN45Ru8D6SHhTvJ2iGKV7qxzO3P9mZeWajgwB"); } -(void)aFts8y:(UIInputView*) aFts8y ah48XWsIwcZ:(UIFontWeight*) ah48XWsIwcZ a3PNWDj:(UIViewController*) a3PNWDj ahQ4c7fawE:(UIButton*) ahQ4c7fawE aHep12jMf:(UIEvent*) aHep12jMf a5SjX:(UIControl*) a5SjX a6lLxg5u:(UIButton*) a6lLxg5u aL3ocqFEkY:(UIRegion*) aL3ocqFEkY acyWO:(UIView*) acyWO { NSLog(@"Jrkw4sW5fdGROxutzShZPFN03v"); NSLog(@"eI6OV7cmuGWyNz4XlhaTqoQ1H2ir"); NSLog(@"wfdelXQB1m4vhsMI3OF9S6q5"); NSLog(@"ZAnTVX3BKcmrHu"); NSLog(@"ZL1NVf3H5v2UWSitkM0YnEXuCAc9s8hg7wB"); NSLog(@"uRNT3CJn6QlsIxzWE5Fj7BKpekM8dH2Y"); NSLog(@"wxHrqo3PiCZhD"); NSLog(@"OZxwLFy0Hrc"); NSLog(@"shwu24nF7O6jU9VDTRILvPWzKN8pJdQa3"); NSLog(@"X0V3o9d6iElLyR8TCrPIzfJBMGeOqSKnkWZth"); NSLog(@"cE0eWJRtx5ZCAYGdO"); NSLog(@"dwN9yeXDGoYL"); NSLog(@"sVNfChZEiLpx2eGOWRKv0dz"); } -(void)aL5lzXO:(UIButton*) aL5lzXO afNG7:(UIButton*) afNG7 aEGJhRPQ:(UIControlEvents*) aEGJhRPQ aGWCer4Ygz:(UIInputView*) aGWCer4Ygz a5hwfZ:(UIRegion*) a5hwfZ a0DwCOj:(UIFontWeight*) a0DwCOj aeBb0KvyI8:(UIDevice*) aeBb0KvyI8 aQ3Rb9uG:(UIKeyCommand*) aQ3Rb9uG arq7T:(UIDocument*) arq7T aGrfnek9PF:(UIBarButtonItem*) aGrfnek9PF a1wm79Qpt:(UIScreen*) a1wm79Qpt agQ9tZ23:(UIBezierPath*) agQ9tZ23 aZubJ9joT:(UIMotionEffect*) aZubJ9joT ahsgviyn18:(UIControlEvents*) ahsgviyn18 { NSLog(@"FMrhxgUjeS"); NSLog(@"BERTy54cpqegwkt3AoN1bV"); NSLog(@"2WLr5XiKjnNd"); NSLog(@"nmieszU1BlG"); NSLog(@"ukCetV0F1Nz3pIROd7L2XxTlfSYsQH"); NSLog(@"5xmkvCy9cETDp8j4UtBSNgA"); NSLog(@"YnFAjsOl7cQKv8Nh10WZP5mUxLCMbIigGq6kVa"); NSLog(@"DBFqRVWQIX4Y7GmU1Nh56kvZbSe8TLlcuHz"); NSLog(@"tIJfLDQcsGnWC4gN2OAFmpzkYy"); NSLog(@"SIiOKcEGw1sbWRjyn2Nho8FDpq"); NSLog(@"4TJGnUZtEFXqgzpiVlwa"); NSLog(@"bQnXP9w3kB"); NSLog(@"olUm1nQtjAW2HCPaKbJiN694"); } -(void)ai5g1c:(UIInputView*) ai5g1c a43wDWE:(UIKeyCommand*) a43wDWE adsqWF1Y:(UIWindow*) adsqWF1Y aC2S8E:(UIImage*) aC2S8E anAJRO6:(UIUserInterfaceIdiom*) anAJRO6 aIiPzv:(UIRegion*) aIiPzv aHs3Pb:(UIRegion*) aHs3Pb a0twWnfKu:(UIWindow*) a0twWnfKu a7iLevW0Gs:(UICollectionView*) a7iLevW0Gs abX2Q:(UIAlertView*) abX2Q aaHRPU:(UIBezierPath*) aaHRPU aptesT7Yi4:(UISwitch*) aptesT7Yi4 aqpQd950:(UIWindow*) aqpQd950 { NSLog(@"foapOMBHrPEvTJXCWV2uAZI"); NSLog(@"LyD10Kn57JjC43UGMlZwVWd"); NSLog(@"WjYZ6CTG5g2uecUpsSVHJF9iRoMnAONzrEhBk"); NSLog(@"WI2GOpEzCvH0lfDe14cJVZPwqnsgbF6u5"); NSLog(@"K2ctLUQmMoSwEiHNd4WXszr96v0kuThe1BnYqf5p"); NSLog(@"APoGEkeyKSiTgqZC03FzXhIRcwx2MBJUd"); NSLog(@"ygRwlHXGquxIaV3TkJt5bMSrcD"); NSLog(@"jqtkbSJ1gydOwWmQa0ZBuCrFIxiGTLP23"); NSLog(@"FyZUVDpS0QL7GecuYaHzkqhMAC1iRg4WOdn9obv"); NSLog(@"P8tHnSVzbxQKXyDoTjO"); NSLog(@"lF02BOVx53WaEfXDi"); NSLog(@"eTRgolK1xWhHmLvMcS"); NSLog(@"zgA9hlHMmdQaT"); NSLog(@"ULR7nr4oMZ2P"); NSLog(@"IaW8KfD3cg0ZH5kp9mwnLSrToEPx"); } -(void)aG01yr:(UIWindow*) aG01yr aD9dIYoxOe6:(UIApplication*) aD9dIYoxOe6 a6NUKM:(UIDevice*) a6NUKM aHVYr6aXbE:(UICollectionView*) aHVYr6aXbE awXABk:(UIVisualEffectView*) awXABk ahlWxYLN1d:(UIDocument*) ahlWxYLN1d { NSLog(@"N6jwAdlcKh9LT7BMt"); NSLog(@"HIG3rjDaJStQ6pU"); NSLog(@"OpxZLIzN0i6F"); NSLog(@"3kwJYe6GDzZPoasMScmliXfR8dEN"); NSLog(@"DC6eBJqyc5xw1XKUfzgp8kjR9s0Ht4OPZTNVGmhF"); NSLog(@"hvQz2yHK1Dm0SYasqCp6lfL8g"); NSLog(@"90R5fzpAEgINKVoam26UlS1MvX"); NSLog(@"sZzB0vH93nKLNXGSQ"); NSLog(@"Qx40DHBvTmc7fsP95KpFdRrLM1g6AiYNyelh2SO"); NSLog(@"G7gcnAwZv4zNTJxKWXjmBQLatVPdhq3RkS8uiE"); NSLog(@"uVdzvIcMbrG0e24KowkQAR5fxWH7Llna"); NSLog(@"EnisKULXyDB0Y4NZz5P7e9chTaWm2kxv1"); NSLog(@"TRAVPaUysxHqm58zEW6c04"); } -(void)aJiH4:(UIVisualEffectView*) aJiH4 azy5OaS:(UIControlEvents*) azy5OaS azrfAsP5:(UIBarButtonItem*) azrfAsP5 aC5WfQT2:(UIScreen*) aC5WfQT2 amrgU:(UITableView*) amrgU aun1HJM32Y7:(UIEvent*) aun1HJM32Y7 acT4VNhb:(UIButton*) acT4VNhb aY6jz1WZErT:(UIBarButtonItem*) aY6jz1WZErT a5qPr:(UIBarButtonItem*) a5qPr { NSLog(@"ovrbIJsLUnZO43GgjaAEl"); NSLog(@"kc6uGMgDYf2AsH9Z"); NSLog(@"DABnrCcXgiqYE9Kb3dp8JQTuMF21WfxaS6owOm"); NSLog(@"A1ZdGjeiLWHaERk0IKc7uJ9M8ODtpFzg5"); NSLog(@"u6n195jQKdVamzbpENsPworAtZvgfOlGF"); NSLog(@"CQRMd4DzLGA"); NSLog(@"6CZhpvIgGiKc4zBAWr5qnbeNsDPLYQFo92RX3"); NSLog(@"PnRCxNvh8mqGJgF9bMHesQjW2O3LalAzKX657w"); NSLog(@"fAl8WEX7JpIqx4y"); NSLog(@"DK4OUGq8FYtwLil3jfMWQzkJv1Bns2EouagT0Sd"); NSLog(@"FaJxg3sIkiVrzqe0t4yc8SZvUMCBG75OAf2"); NSLog(@"oB1X4hUGnKW98sLYgfpeqFPMScQ"); NSLog(@"1EIdxMAq65pWLbwaftj43D8hiuFCNUcH"); NSLog(@"a9goqU461Y"); NSLog(@"VA5y1IvT7sFGXwDdCajWZBUxo"); } @end