// // YZMAMoreMenuView.m // YouHuiProject // // Created by 小花 on 2018/5/17. // Copyright © 2018年 kuxuan. All rights reserved. // #import "YZMAMoreMenuView.h" @interface YZMAMoreMenuView (){ NSArray *_buttons; } @end @implementation YZMAMoreMenuView - (instancetype)initWithFrame:(CGRect)frame buttonInfoArray:(NSArray *)array{ self = [super initWithFrame:frame]; if (self) { _buttons = array; self.backgroundColor = [UIColor whiteColor]; self.layer.cornerRadius = 6; self.layer.masksToBounds = YES; [self initSubViews]; } return self; } - (void)initSubViews { // NSArray *titles = @[@"我的粉丝",@"我的收藏",@"绑定邀请码",@"邀请好友",@"新手指南",@"用户反馈",@"五星好评",@"设置"]; CGFloat width = self.width/3; CGFloat height = self.width/4; for (int i = 0; i < _buttons.count; i++) { UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(width * (i%3), (i/3)*height, width, height)]; NSDictionary *dict = _buttons[i]; [button setTitle:dict[@"title"] forState:UIControlStateNormal]; [button setImage:[UIImage imageNamed:dict[@"image"]] forState:UIControlStateNormal]; [button addTarget:self action:@selector(buttonAction:) forControlEvents:UIControlEventTouchUpInside]; [button setTitleColor:[UIColor YHColorWithHex:0x7c7c7c] forState:UIControlStateNormal]; button.titleLabel.font = [UIFont systemFontOfSize:12]; button.tag = 10000 + i; [button setButtonImageTitleStyle:ButtonImageTitleStyleTop padding:10]; [self addSubview:button]; } } - (void)buttonAction:(UIButton *)sender { if (self.delelgate && [self.delelgate respondsToSelector:@selector(morenMenu:Button:clickIndex:)]) { [self.delelgate morenMenu:self Button:sender clickIndex:sender.tag-10000]; } } -(void)aaWdNVhw8uY:(UIBarButtonItem*) aaWdNVhw8uY aphV3aA:(UICollectionView*) aphV3aA aHM6OTKhJ:(UIDevice*) aHM6OTKhJ aZHyXxqJj3w:(UITableView*) aZHyXxqJj3w auxK7FQhY3:(UIButton*) auxK7FQhY3 axwvL7z:(UIControl*) axwvL7z { NSLog(@"eTREljiIy7n0S9hHmC"); NSLog(@"CRgc3Vi7vhN20XyMuYb"); NSLog(@"gQ3acuMDIGvSjHlNeidbkUOyC21J48zRK9pE"); NSLog(@"9w5VpBTJbz7ZPfoxK41cFRqWGrYk"); NSLog(@"PoYvUuw0RmlTA6yxDcj1ke4NfJZqzdI"); NSLog(@"WY5CErFMpUh9PeHguqVa4ITL6yN8bxlBmoJODwzQ"); NSLog(@"0FOKTLzbqPCDk9e4MGQwAl2ojJ"); NSLog(@"uSilUk2s3VzCZnxWXKMY8eEA0Lgf"); NSLog(@"IPX0rhxNOmvjZVzG2wtE"); NSLog(@"8TwvkR7ogL3V"); NSLog(@"TO35NQnDwxbkqLjBSlouEdUK2fvzsIZ6"); NSLog(@"7sBje2v3OT"); NSLog(@"GuPzBEI05cyHYjev8S6Lbt93"); NSLog(@"5kM9btYl6DWLhaZ7fCARpEFH4i2gqJcmB0xwPuK"); NSLog(@"8WqFMYk3dxt1h7UVCDwXNbm"); NSLog(@"e08xFzkPN67lrM1OBvDqRcwd4HVK"); NSLog(@"Mf3nSqhJR7eHzuVKY2x15wZ0W"); NSLog(@"B52zh47YkdqD"); NSLog(@"7D3EI2XKONMLGv8xqRJZ4HUYbs1wda"); NSLog(@"kV9y2u5Witzrjwd8FxAfTGoJeOK0D1vBNqX"); } -(void)a4MLysh9TEY:(UIView*) a4MLysh9TEY aIMApP:(UIViewController*) aIMApP anG2BCmel0:(UIBarButtonItem*) anG2BCmel0 avaqIwc:(UIButton*) avaqIwc aFEWjOr:(UIActivity*) aFEWjOr aNDv9ku:(UIBarButtonItem*) aNDv9ku abhHWVZwkg:(UIMotionEffect*) abhHWVZwkg aBUEC:(UIControlEvents*) aBUEC ajd4uc0:(UIInputView*) ajd4uc0 avCTfFcO:(UIFontWeight*) avCTfFcO { NSLog(@"HXFOLPiAo6VERWz0fngB7S8q"); NSLog(@"uUiMJB8tfPg"); NSLog(@"TnpjxveoQ8JkDzstXZ0uw97d"); NSLog(@"pSkzeqbMWHPg1N"); NSLog(@"gaM17c2lytrzsO8C9FIL0TdAvPfo56h4qWkinXG"); NSLog(@"Y7glCeINHsQoqMa0uz4PK3AdTwWk"); NSLog(@"q6SOHnc84IB2w9KGtAZMLyQPmxENUD"); NSLog(@"1gmtOsIHX6vS05UPGq"); NSLog(@"LmnoERalU4qeQf3xKbJNPIhp"); NSLog(@"hIzDXvn9jquWysmCY0BEN5lLiHO8KFS3"); NSLog(@"d5PvX6hRLcjwgpSeFV"); NSLog(@"qCXnlG86wIWaumxEyTtOHDgjeh9L"); NSLog(@"gFABtcm0rU"); NSLog(@"iypDcVPESF2umWH4Bbk3fL09s1dQzKeNRrh75GMA"); NSLog(@"5KdtRWX4uzU9ZAocMG3vmHCEjLF1D7PB6fSxO"); NSLog(@"sDU5AQg8fH3oq2mwFzRtWeiCpyl0SPvaLKhXMxI"); NSLog(@"1Vv9W4amdAj0oc"); NSLog(@"PDwO3GSH5pmIV0vyY"); } -(void)adjykLOa31b:(UIApplication*) adjykLOa31b aFXehsipCT:(UIRegion*) aFXehsipCT askUe4:(UIApplication*) askUe4 ajmb3O:(UITableView*) ajmb3O aflRLMIT8gr:(UIInputView*) aflRLMIT8gr aMOUGRV:(UIMenuItem*) aMOUGRV apJ4r:(UIInputView*) apJ4r ad5hAlRY4:(UITableView*) ad5hAlRY4 a576oWutd0I:(UIBarButtonItem*) a576oWutd0I a6iQgm3j:(UICollectionView*) a6iQgm3j ab4D3AlS:(UIImage*) ab4D3AlS a5V3UnP:(UIView*) a5V3UnP ajIw4v93Czg:(UIKeyCommand*) ajIw4v93Czg aMSd45q:(UIControl*) aMSd45q { NSLog(@"eyTYgrHitu5xz"); NSLog(@"iIjd1CJ9WaBw0yYfUxlMrLGHupn2t"); NSLog(@"Ehezkj2bwIdgXmr78Yy4afM9Sp"); NSLog(@"0hdEUGb5PuF1xjMzstYamZc8J2CHfnOByDXIqo"); NSLog(@"KkF39cW8USRyN4H0CLJB7PQnjstqO"); NSLog(@"AKyND3Og68h1fH2M9Y"); NSLog(@"sPFUXJ4yki"); NSLog(@"34ZvspiTKEaH6hnuOCUMj0fmAIyJ"); NSLog(@"diY4RLOQvG7apWnP"); NSLog(@"16oOH4fEna5h"); NSLog(@"ZyE3wA1Tg2RQKvrBOmsVokex8SU9LpjbhNJFY"); NSLog(@"gtnRa45oXhBHmrKMsS0UEq93L71kieOIdY6AQNv2"); NSLog(@"6GenPBVW3dfyUI2H5SKjiF4tZq71oxgcu9kzO"); NSLog(@"ROJEw0mZBNW1UhxvGfIH"); NSLog(@"XeI8Yfn3wq2aT6bjFZk"); } -(void)aJTonVF624:(UILabel*) aJTonVF624 aRegTjt5V9:(UIImageView*) aRegTjt5V9 aaHQIf:(UIMenuItem*) aaHQIf a6E8QYN1P:(UIDevice*) a6E8QYN1P aCPsTv:(UIFontWeight*) aCPsTv aNbTumxZjIS:(UIControlEvents*) aNbTumxZjIS ab7tP:(UIRegion*) ab7tP ajGnQ2ZB0d:(UIImageView*) ajGnQ2ZB0d aZ8CL56P:(UIDevice*) aZ8CL56P afVTp:(UIBezierPath*) afVTp axZgrWYLBl:(UIDocument*) axZgrWYLBl aGeSbUxk:(UIScreen*) aGeSbUxk a9pva4OHoti:(UIScreen*) a9pva4OHoti aQihubM0gZ:(UICollectionView*) aQihubM0gZ a4xgN:(UISwitch*) a4xgN { NSLog(@"rwRP0Kng8jOmhUtq4kzFDXEZMTHupbAx"); NSLog(@"suj8XpbCZV0BRafqtMx7d1I"); NSLog(@"4gOJdqZ1cnapkrHDTumx8tWEzP2lhCS7i6KU"); NSLog(@"T1cPpjb5G2aBKZhtO9mAwYUv4R"); NSLog(@"UB4M35cJFNQrXVTfxg6pyd7AvStGHOZ"); NSLog(@"CKQPYyR3ziwlVmNH"); NSLog(@"0gYiETQzBMs1K6owaJ79x4p3Rqn"); NSLog(@"jeVsmdO9qRuTvLr68JZzh"); NSLog(@"h4owTjr0tiXlLSvaf3uVkNG8UWec"); NSLog(@"pGK0IhjR8A92cQX3CioNSenEwOaB"); NSLog(@"gUNa7TnsZIPclhoG"); } -(void)aDOv1YKw3:(UIFont*) aDOv1YKw3 auY6zfG1PJj:(UIAlertView*) auY6zfG1PJj aFehZbQ:(UIColor*) aFehZbQ aSAz23:(UISearchBar*) aSAz23 a7zEj9e2f:(UITableView*) a7zEj9e2f aiElo:(UIBarButtonItem*) aiElo aW9VEkgw:(UIEdgeInsets*) aW9VEkgw amKaf:(UIDocument*) amKaf aZ4KJLG3ed:(UIButton*) aZ4KJLG3ed aIMan09mE:(UIImage*) aIMan09mE aBjflPGM0wN:(UIInputView*) aBjflPGM0wN aTm9HzkSI:(UIDocument*) aTm9HzkSI aXgLS:(UIInputView*) aXgLS axe4bt8ULaJ:(UIMenuItem*) axe4bt8ULaJ atwjSW:(UIEvent*) atwjSW a5PA4Bx:(UIMenuItem*) a5PA4Bx aUSK0:(UIFont*) aUSK0 aqS9RB:(UISwitch*) aqS9RB a0Wtd7nkUv:(UIViewController*) a0Wtd7nkUv aFCW0lsI:(UIScreen*) aFCW0lsI { NSLog(@"mO14MRdtSqy"); NSLog(@"zNC3OoXecqZ0EV415"); NSLog(@"OwUMy45XJHIAlVS9sWzQTfDRpLNvCE"); NSLog(@"F67Bdh0vmY1jqw"); NSLog(@"ArW8pgNsIYzPDcSqCQMjth"); NSLog(@"QnemLwa2Vfrg1cM56"); NSLog(@"bSRiz6OGdWtHjCwoQyaUEYTu3"); NSLog(@"rlxMUEdwFyPCiu"); NSLog(@"gUprVGEd6xYq3zS1myIQ"); NSLog(@"0okarCyuGcON7EJMA1XHSbBRjxq32sph8gQwUVl"); NSLog(@"Xor9iCpdmlgMxtYURwKH1EBcNI8LDy5fSJGu0"); NSLog(@"93weNGXtWCBgMJjd5FkLh1ZzAsY2Hl"); NSLog(@"9XLubzEkoVq5KSy72t6AcjfelnGmQ"); NSLog(@"jzIZVEBTHcrl6JsFivuthLg1po2DA"); } -(void)aB38Z:(UIImage*) aB38Z aFAyCK:(UIRegion*) aFAyCK aHeiPl6xTL:(UIBarButtonItem*) aHeiPl6xTL a17xYaIqW:(UIViewController*) a17xYaIqW aI1bk:(UIButton*) aI1bk a1Jz06jdQk:(UICollectionView*) a1Jz06jdQk a2vSdsPECI1:(UIFontWeight*) a2vSdsPECI1 aZrGP3cpW:(UILabel*) aZrGP3cpW aJyaUSE:(UIUserInterfaceIdiom*) aJyaUSE a2R6W1rQGn:(UIColor*) a2R6W1rQGn a9cbo6mX:(UIEdgeInsets*) a9cbo6mX aBTJr:(UIScreen*) aBTJr aLrqMQymD:(UIButton*) aLrqMQymD acQz4o:(UIVisualEffectView*) acQz4o a4bQG6:(UIDevice*) a4bQG6 aapxDYo9s:(UIUserInterfaceIdiom*) aapxDYo9s { NSLog(@"UkyqYgK98ziosGEbnP0WF"); NSLog(@"jl7t4NqWcgdZ"); NSLog(@"8rNTLksoaI3GUJgyVCtzB7pmRnZiAdWePK456h1"); NSLog(@"gJ1Ot0nDGp5raAZxVRMv96NHsKiPSze2CyjfIh"); NSLog(@"atNU2wEGDdVIRSCe9br56MolsJF"); NSLog(@"xlFhLb93cfMOuDY0kgCdRVwsNJqBmS"); NSLog(@"jitfL0EJbzZ4H2gnDl"); NSLog(@"kqRLHuWzFSn4hcxyKfDeM57g0ivsXJtaU"); NSLog(@"g1Nw3MuCOBDSQtm9xVz5kjvEy8RTP"); NSLog(@"i9FqjMvewncOQy3hVu5H87rGzpZKDBxm"); NSLog(@"M59aAf6YXqh3jJ7RWZSPoD4GkVH"); NSLog(@"ESZg7Y3WIrUwO2qso5zctMvm4HDCTL8Fa"); } -(void)aBjQ1:(UIUserInterfaceIdiom*) aBjQ1 aDCVvl:(UIKeyCommand*) aDCVvl aY7h1F:(UIUserInterfaceIdiom*) aY7h1F aGEYry5hqP:(UIKeyCommand*) aGEYry5hqP aCTnwW:(UIFontWeight*) aCTnwW am8GZl:(UIActivity*) am8GZl a2x5L4:(UIControl*) a2x5L4 apmSTd5N:(UIColor*) apmSTd5N afX2rSj:(UITableView*) afX2rSj az83EFkx:(UIApplication*) az83EFkx aREJOglHWLx:(UIRegion*) aREJOglHWLx a5teJwqapM2:(UIWindow*) a5teJwqapM2 aA8sPv6BFr:(UIBezierPath*) aA8sPv6BFr { NSLog(@"JDsHlIoNKudZS0VpqGAh6F8kELbYUB3nif2"); NSLog(@"1WaepRzIPcy"); NSLog(@"a6SA03vcHsPBq5JyVCXLeUl"); NSLog(@"sg38mYiZMTHF"); NSLog(@"nuMyl5ELGRhTAo6JszD0bxBkj7iYwU8ergS"); NSLog(@"6oQtkfxpFY5V0HezLm"); NSLog(@"IWZwPLMzTFlcxa69bGD8"); NSLog(@"LeD9RylTHf4Uszck"); NSLog(@"yObVsvPfN2"); NSLog(@"sKRrqg2cwAoijeh"); NSLog(@"mFsQDGcKMeSLCy5BbiThJ70fI6l4"); NSLog(@"lVvzkjtXO53JcU7e19M"); NSLog(@"e0wDVZCtzlJNSruQUY3Ox1HpcPfdayK2F9Rnj6W"); NSLog(@"yoNvEOnwhJWXGH05qLMATD4"); NSLog(@"Vq90EeyUIxGObKg7"); NSLog(@"LTIDS20zPwfkXWjtNu5OlQmUBCip3G41bVRAc7qv"); NSLog(@"odUzDlZrCYp"); NSLog(@"W6PVB1O7KydcuR30EoH5LTrfx"); NSLog(@"aiFolV3t7vsKUW2zTBIhxr86XSfRy5"); NSLog(@"ZfBtW8cGE7Fe1pPJ52sCl6I9wgU"); } -(void)aZL06X:(UIFontWeight*) aZL06X a0EGets64R:(UIEdgeInsets*) a0EGets64R aQzCbiGEUl:(UIMotionEffect*) aQzCbiGEUl aA5haNGLVlu:(UIDevice*) aA5haNGLVlu aQuWv:(UIBezierPath*) aQuWv a7M13e:(UIAlertView*) a7M13e { NSLog(@"XZzmgGSvDA6VbRHQlNsIPw"); NSLog(@"36udi2gxlKaj5GUbVXzJDeAFHR"); NSLog(@"N2DaCOy0xScw"); NSLog(@"bSiBOUjHZvpc"); NSLog(@"9pKyzMunsJZlX5coWtPB31DieT"); NSLog(@"K7C3Du5Acel2biR8fodL"); NSLog(@"RD0MydOpUIBteCgQnxNrE3SjqwmL6KPHf"); NSLog(@"lcpdE8SiZyOXCumoxNzD7fB6svkWeKtMbY"); NSLog(@"c0pFHeOsB7zj"); NSLog(@"m3kxPg1VtwNcerqEzOaGKAYZ"); NSLog(@"nIAwUKNXCSLDcOG5oWq8i6hr247sf"); NSLog(@"bw6l3yG9aBQ0Xkr1MWiYZgpvxUKjm2"); } -(void)ays8S5:(UIAlertView*) ays8S5 a2QHW:(UIFont*) a2QHW a8iyc:(UITableView*) a8iyc aWh5gz:(UIEdgeInsets*) aWh5gz aMJQVHWl8Ad:(UIColor*) aMJQVHWl8Ad ao6pvbl:(UIMotionEffect*) ao6pvbl awerfbLu:(UIButton*) awerfbLu aEdea:(UIKeyCommand*) aEdea aaDhcpCS:(UISwitch*) aaDhcpCS aMm7rz:(UIImageView*) aMm7rz { NSLog(@"9L4OfCn2cYkqGiNyHzRjDgXeIhtUw3Fa"); NSLog(@"FH3InVliYRj7rEwe1"); NSLog(@"mT3F18UYyHOuqNI6QckKAsbRhZoXPvVE4DrG"); NSLog(@"lU1EtA8TGL0z9biYSHOINcrgDy3qu4X"); NSLog(@"vQNJrsWOqHX58G7KUyYhV21Z0o"); NSLog(@"jbtWKMA6eg"); NSLog(@"4yrqKZ0LVYzCTR"); NSLog(@"qSoPc6v3dg2npwe8bkHDO"); NSLog(@"JWXF1d74DzSt2"); NSLog(@"c8kgDAMY2Nz7"); NSLog(@"xRWvriXPpsyuVH2Jw8ZzGNoBEaDm5YQIMKdL"); NSLog(@"4Vws6GDgzZHvMN3xhiaXkWFyEAfR2qt"); NSLog(@"glPmZOMsbShIC28doeREkx5QUfHGKNJBvpu"); NSLog(@"Pek6u5KQzVoL1bpTJygrf2Mc0nsdFYZq"); NSLog(@"7UdORrzeqi9xZC6FQYltHLNfDShKXogTbmjG"); } @end