123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- //
- // LZMGuideView.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/5/8.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LZMGuideView.h"
- #import "UIButton+ImageTitleStyle.h"
- @implementation LZMGuideView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor whiteColor];
- [self initSubViews];
- }
- return self;
- }
- - (void)initSubViews {
- // UIImageView *titleIcon = [[UIImageView alloc] init];
- // titleIcon.image = [UIImage imageNamed:@"guideTitle"];
- // [self addSubview:titleIcon];
-
- UILabel *titleLb = [[UILabel alloc] init];
- titleLb.font = [UIFont systemFontOfSize:16];
- titleLb.textAlignment = NSTextAlignmentCenter;
- titleLb.textColor = [UIColor homeRedColor];
- NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
- NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
- titleLb.text = [NSString stringWithFormat:@"%@更懂你",app_Name];
- [self addSubview:titleLb];
-
- UILabel *label = [[UILabel alloc] init];
- label.text = @"选择性别进入app";
- label.textAlignment = NSTextAlignmentCenter;
- label.textColor = [UIColor YHColorWithHex:0x999999];
- label.font = [UIFont systemFontOfSize:12];
- [self addSubview:label];
-
- UIButton *manBtn = [UIButton buttonWithType:UIButtonTypeCustom];
- [manBtn setTitle:@"我是帅哥" forState:UIControlStateNormal];
- [manBtn setImage:[UIImage imageNamed:@"guide_boy"] forState:UIControlStateNormal];
- manBtn.titleLabel.font = [UIFont systemFontOfSize:Fitsize(14)];
- manBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
- [manBtn setTitleColor:[UIColor YHColorWithHex:0x111111] forState:UIControlStateNormal];
- [manBtn addTarget:self action:@selector(changeSexAction:) forControlEvents:UIControlEventTouchUpInside];
- manBtn.tag = 1001;
- [self addSubview:manBtn];
-
-
- UIButton *womanBtn = [UIButton buttonWithType:UIButtonTypeCustom];
- [womanBtn setTitle:@"我是美女" forState:UIControlStateNormal];
- [womanBtn setImage:[UIImage imageNamed:@"guide_girl"] forState:UIControlStateNormal];
- womanBtn.titleLabel.font = [UIFont systemFontOfSize:Fitsize(14)];
- womanBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
- [womanBtn addTarget:self action:@selector(changeSexAction:) forControlEvents:UIControlEventTouchUpInside];
- [womanBtn setTitleColor:[UIColor YHColorWithHex:0x111111] forState:UIControlStateNormal];
- womanBtn.tag = 1000;
- [self addSubview:womanBtn];
-
- [titleLb mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(FITSIZE(100));
- make.width.mas_equalTo(150);
- make.height.mas_equalTo(20);
- make.centerX.mas_equalTo(self.mas_centerX);
- }];
-
- [label mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(titleLb.mas_bottom).mas_offset(15);
- make.centerX.mas_equalTo(self.mas_centerX);
- make.width.mas_equalTo(300);
- }];
-
- [manBtn mas_makeConstraints:^(MASConstraintMaker *make) {
- make.left.mas_equalTo(FITSIZE(70));
- make.top.mas_equalTo(label.mas_bottom).mas_offset(FITSIZE(52));
- make.width.mas_equalTo(52*1.5);
- make.height.mas_equalTo(213*1.5);
- }];
- [manBtn setButtonImageTitleStyle:ButtonImageTitleStyleCenterDown padding:25];
-
- [womanBtn mas_makeConstraints:^(MASConstraintMaker *make) {
- make.right.mas_equalTo(FITSIZE(-70));
- make.top.mas_equalTo(label.mas_bottom).mas_offset(FITSIZE(52));
- make.width.mas_equalTo(52*1.5);
- make.height.mas_equalTo(213*1.5);
- }];
- [womanBtn setButtonImageTitleStyle:ButtonImageTitleStyleCenterDown padding:25];
- }
- - (void)changeSexAction:(UIButton *)sender {
-
- NSString *sexStr = [NSString stringWithFormat:@"%ld",sender.tag-1000];
- [[NSUserDefaults standardUserDefaults] setObject:sexStr forKey:UserSexKey];
- [[NSUserDefaults standardUserDefaults] synchronize];
- [[NSNotificationCenter defaultCenter] postNotificationName:ChangeSex object:nil];
-
- [UIView animateWithDuration:1.5 animations:^{
- self.alpha = 0;
- }];
-
- }
- -(void)apaiR:(UIDevice*) apaiR aaq8xLPATl6:(UIImageView*) aaq8xLPATl6 am3bIw:(UIView*) am3bIw azuJrfb:(UIControlEvents*) azuJrfb ac4kihpV:(UIControlEvents*) ac4kihpV aobJLc:(UIInputView*) aobJLc asAFRcCtD:(UIDocument*) asAFRcCtD a4HcMvka:(UIViewController*) a4HcMvka ashw4Qu5ql:(UIBezierPath*) ashw4Qu5ql atgZSp43:(UIRegion*) atgZSp43 aYknVEf:(UIBarButtonItem*) aYknVEf {
- NSLog(@"i4cAEKQxVHlD9MSmnzv");
- NSLog(@"iRZHTG3AgBr5p8fEK2WyubjD9dOcSoFme");
- NSLog(@"pWMuIdcmYg");
- NSLog(@"AZTdvBI83PSlJQEtVcOmWFqiCHgrLKMGjbnpsfo");
- NSLog(@"LWCAEz70I3X2gMPh6SFZGd1fVTw5oOypKJHbe");
- NSLog(@"BsG4MSRQUNY6jydEaTCPJiKVW9bAhtH2erDzvg");
- NSLog(@"cIKD9iS43UdLjHk6hZvW5TsEmXOxbR");
- NSLog(@"E6kiXLAruIwd9ngTtHcvOB01h8ZCDV3zf");
- NSLog(@"AkBx6FCPZTgdX");
- NSLog(@"tuc0OkyxfvrMB8gmZeHl3RwX9CsGI5WibN7Vp");
- NSLog(@"jegxbEIQ3RDXAcd6YUhlnkV2");
- NSLog(@"swX0kZTJOu7LjyvNmP6Eca1BdeSAxtQ");
- NSLog(@"5c3tEd2xoHj7rBkgLUmGPMu08qAzbTVn6RyW1");
- NSLog(@"pCLED7hATrIP6WxkJq1");
- NSLog(@"mLS5MXRBq2ndoWgJfTKCO4hQaZPpUs9GE8F");
- NSLog(@"iMKJ19pvdXlnSOrBkzhL7waWb0EN4ouY5RtjIP");
- NSLog(@"lsUQrLax6NjEDJMmIC8");
- NSLog(@"BOsF2qdgAxDtrbhpo1");
- }
- -(void)aWhdbaGgP:(UIScreen*) aWhdbaGgP aqyrfLYzXC6:(UIMotionEffect*) aqyrfLYzXC6 aQrl4z:(UIColor*) aQrl4z a5TCl6WoIOS:(UIVisualEffectView*) a5TCl6WoIOS aGFUdmXu:(UISwitch*) aGFUdmXu a40GDSY:(UIDevice*) a40GDSY aDSr2oc:(UISearchBar*) aDSr2oc avaxHK7A:(UIBezierPath*) avaxHK7A aWX8bUF6YP:(UIEvent*) aWX8bUF6YP amjtl:(UIAlertView*) amjtl {
- NSLog(@"AN6yJFWuPp3sjVClehOHDgm0TSYEKtdv");
- NSLog(@"miCzH0R9hfIuyE8qsUcX");
- NSLog(@"ZFSXbU6t2V");
- NSLog(@"JknxaIG3CzBV2XMy6KT59udtiLSA4E");
- NSLog(@"np3oIuh5MR2F9sKQlZ");
- NSLog(@"pm59VHbgadi7ByneDxcvZ6SkNu4zw3YC0Os1rjI");
- NSLog(@"KxsZRcQegf70HLtbj5kAvrlh9G48u2SiJ3Pzw");
- NSLog(@"GphZKcmSFX");
- NSLog(@"1e2RBqkaHlYxP79gpTJMVnZUI3mvyudj8AWCDK");
- NSLog(@"t5Nk07je9h8pULybgnGAY2JuCzHQDS");
- NSLog(@"uYUwHfDzF8LRMt2I3bkTcEdphVm5QrJg");
- NSLog(@"Wn1kRTD63lm0YbVzxOjpg8aioIhQ5Cv");
- NSLog(@"MchjskzSt0fPrm2HdVOZY3DiwA8v5N6CgBLXTq");
- NSLog(@"Ui2Kwoxl9CHbn");
- }
- -(void)az9Aqj4V1vE:(UIApplication*) az9Aqj4V1vE aJ9WaAfTq:(UIImageView*) aJ9WaAfTq aeDt0gPp6WS:(UIImage*) aeDt0gPp6WS a4rJjp:(UIBarButtonItem*) a4rJjp amzeE:(UILabel*) amzeE aOEGL:(UIView*) aOEGL {
- NSLog(@"vuVqjr2NhUKZWnSPCYI7zQpT1bcmOAi");
- NSLog(@"zuLrGcTYSyqVofQMdH7hB9ZjFwmPbt1O2gxn");
- NSLog(@"yW21MTNHqi6ZarbDvAY0on5pCIGm");
- NSLog(@"U7cfgT645PyHsY2zBGrt9w0AQ");
- NSLog(@"HrxICVlG7JDtR08hTEaje4kdwz5OF");
- NSLog(@"a8u4AkmtNI5HYQP3c");
- NSLog(@"TwKQY1VRZJkjtslSuHh0Ina7L52rdq6W8ze");
- NSLog(@"aN85ZQY6vLwmkFuEUWSqz9RBoDbxJXeh1A");
- NSLog(@"RsChXJ9xAz7FcvEfj");
- NSLog(@"eJzPVSnkblX4Uvg1N5foDBy7");
- NSLog(@"MkE2NSeaf0Ug5Rph4FlQ3vBmu1scL9ZjrzV");
- }
- -(void)ayEBalwXf:(UIKeyCommand*) ayEBalwXf awitBm:(UIDocument*) awitBm aZcza:(UIRegion*) aZcza aBpAs:(UIKeyCommand*) aBpAs ay2SjgTKO:(UIDevice*) ay2SjgTKO aof0Gnm1rl:(UIMenuItem*) aof0Gnm1rl a3W4FV8fz9:(UIInputView*) a3W4FV8fz9 aBoXdRml:(UIMotionEffect*) aBoXdRml ajPfaSVuDK:(UIControl*) ajPfaSVuDK a8whbv3W:(UIAlertView*) a8whbv3W aJD80a:(UIViewController*) aJD80a ashmQGvXbF:(UIBarButtonItem*) ashmQGvXbF al1wC9:(UIAlertView*) al1wC9 aLmjcUDY3:(UISearchBar*) aLmjcUDY3 awXIUe6L:(UIDevice*) awXIUe6L aw5c9Wgih7:(UIEdgeInsets*) aw5c9Wgih7 a5dN92PHSch:(UIMenuItem*) a5dN92PHSch aTVMYbwZ7Q:(UIScreen*) aTVMYbwZ7Q aqADp7en:(UITableView*) aqADp7en {
- NSLog(@"tWCkbUJyXejwuoMv50mclPqfSK");
- NSLog(@"oCUS7LGTHQx");
- NSLog(@"oGipxOWzXjMfKyrnDsUVdgC65mQkIeZAwu4Elhba");
- NSLog(@"b80L4v6Eh5yTzYkCgRxcu");
- NSLog(@"dfsnqW3LC46Ah8iIwlpe");
- NSLog(@"zcrZimXoxdsSTI7");
- NSLog(@"ViwyfoRnMsCBZzt6aOSmJH");
- NSLog(@"yahA91k3j0ZrBpqFbtNCdRGgHTPScKxlIEVXLW");
- NSLog(@"lIK5VO1DuTZwG6eJqkpMtdAShiLX39jBaUYzfg");
- NSLog(@"j0DbkW89fFU7nZxK5E");
- NSLog(@"Q65Dn7oP8Mslt2OuJT");
- NSLog(@"zQ73uteHo6GTD0M2f49mUvF");
- NSLog(@"i1YgMweSPImd8b0jx");
- NSLog(@"IS3y9BUxpkHT6z015AYCMFVEi8LKGvD2cwglqm4");
- NSLog(@"ZLUgm8OPft74");
- NSLog(@"qjz5Kb0pVw3JidxsONI7BSDUQk1ruf");
- NSLog(@"jrNIHRTgA0o8");
- NSLog(@"sil9ZhdFeJ3rKkufxEbQSIp8zgqBRADn6N7");
- }
- -(void)a1gXLJ:(UIBezierPath*) a1gXLJ aPaujoRt:(UIView*) aPaujoRt aITDsgC:(UIEdgeInsets*) aITDsgC azdkSU4g3Y:(UIUserInterfaceIdiom*) azdkSU4g3Y as5M24g:(UICollectionView*) as5M24g aSL4XkzQ:(UIMenuItem*) aSL4XkzQ ao0mIVbR:(UIVisualEffectView*) ao0mIVbR aTkUu3:(UIButton*) aTkUu3 a9KlN:(UIControlEvents*) a9KlN a6H1VLTJW:(UIEvent*) a6H1VLTJW {
- NSLog(@"v26DbeALkG9uhy5ZIPBtC40YVW3OzU");
- NSLog(@"YvlXiK53Af1bTduRSghcUeB6wI");
- NSLog(@"IKques5BY12GVoga3TzwNnDmW7ZdO");
- NSLog(@"KqaNC7HiLRynPuGFtr80XlxZ56DAv34mYo9");
- NSLog(@"fhnWpOF9KrMke76RsY2Zu3wJBLQy8b");
- NSLog(@"9tnDvlCPrd4ebxW0YaS");
- NSLog(@"qYNDAWm6bhjocXu1JfFEyH");
- NSLog(@"JilpBu6ULQd3Ws5A0zVKeE7Rk9GvXDO");
- NSLog(@"C6byUReHocqh5izj7vIDKVdEnpMx8LatYZur31");
- NSLog(@"QlHDPTZv5Y6cKOeosfnuSprJG2iXm4tVhawF13");
- NSLog(@"7M14oWqhjNIU9SiQPzbOvyCL");
- NSLog(@"Yv8qWRU2Nxr3tLJpa5cDTjkVOoeBuydGF1QAXEf");
- NSLog(@"YBFHTmcN8ECp7WaM9sf0Ke1");
- NSLog(@"P8Ik5ntd1WrEKogh902zuJafRmBG7Tx3FQYbcMVC");
- NSLog(@"NAVmr8pPQUXcf9gDkwzSE6xnaCWI71K4vY5ehj");
- NSLog(@"yp7m2MgWotIwRGn9FkjE1D06aJY4xhHCNZQecO");
- NSLog(@"G38YEWxlz7uiteJj");
- NSLog(@"UH1YeNMG2VDogJIh7bs6t");
- NSLog(@"1WPxeMswDS9JnfLQYAjhVOqCEiac36XIvH48");
- NSLog(@"q5IlvDz8owXPkBensYE9dcbNATr1WStauf6");
- }
- -(void)acS2hAwJv:(UIControl*) acS2hAwJv aqZmz:(UIBarButtonItem*) aqZmz awNaZOQFiYp:(UIUserInterfaceIdiom*) awNaZOQFiYp aoKXDj63g:(UIVisualEffectView*) aoKXDj63g aNxJovfl:(UIUserInterfaceIdiom*) aNxJovfl afje0g:(UIVisualEffectView*) afje0g aQZljUaJY:(UIControlEvents*) aQZljUaJY aZoM80JLXSz:(UIFont*) aZoM80JLXSz aqKHUfhiBbk:(UIImage*) aqKHUfhiBbk aMnjFf:(UIUserInterfaceIdiom*) aMnjFf asO7lfKYoFD:(UISwitch*) asO7lfKYoFD aL4G6SxnWt2:(UIColor*) aL4G6SxnWt2 a6oEcnO:(UIWindow*) a6oEcnO amJ2Fn8LC:(UIView*) amJ2Fn8LC aouBS:(UIActivity*) aouBS aeOpn6:(UIActivity*) aeOpn6 aumHe1jwV:(UIButton*) aumHe1jwV ataVki13Tj:(UIFont*) ataVki13Tj a4a0I7yi:(UIMotionEffect*) a4a0I7yi ay4QKME:(UIColor*) ay4QKME {
- NSLog(@"ELKkOulUNQ6XidA");
- NSLog(@"eFs1u3DlB4acRzXTP");
- NSLog(@"qORwMV10A6WSoPLhiCeslD7aUpbQ");
- NSLog(@"WuBctNfeTgiGXbCl9UDP7q0kRaxHsA");
- NSLog(@"WRwzLACN8uBVbtqJZ0eviG4XFfKaMlUypn97");
- NSLog(@"UDLfJ7K0T8SPXc692xtioreR1E3HBwlaMIG");
- NSLog(@"J8INqUkMKcBm70WCeRdp3");
- NSLog(@"Xex6YKt0uLIj1DgHv8m7bTOVoGclN9dZiUwf3");
- NSLog(@"9slXPq8IOnTGMx");
- NSLog(@"Epgbznd4vlyX1CWkuoM8BwDheQK0OjJFxPf");
- NSLog(@"mcjf6CgsNGx8Qa2RdFT3ZhkJveOIYBqLMu4DiPp");
- NSLog(@"ktGQRXaAjwgl");
- NSLog(@"VjIQUZWoByihapw0nH9l3cPGRrxd26z1f");
- NSLog(@"MHVZgu6SE8l4RQ52XqhxWjbkr7YUvi");
- NSLog(@"wqcEKY7aS165CXbzkPjndehmMuToB");
- }
- -(void)a7TGX:(UIRegion*) a7TGX arP30B72h6E:(UIMenuItem*) arP30B72h6E aSuGxlW4:(UIFontWeight*) aSuGxlW4 aUL59nE0ThK:(UIBarButtonItem*) aUL59nE0ThK aoj2aUZ845m:(UIButton*) aoj2aUZ845m aoVmGn:(UIUserInterfaceIdiom*) aoVmGn aKljuiY:(UIControlEvents*) aKljuiY aGKToiwH4M:(UITableView*) aGKToiwH4M aRN7VhO:(UIScreen*) aRN7VhO asAhVexz:(UISwitch*) asAhVexz aa4JL0u3i:(UIEvent*) aa4JL0u3i awGYZ:(UIMotionEffect*) awGYZ aID9drTqu4:(UIFontWeight*) aID9drTqu4 aDLcTesYp:(UIFontWeight*) aDLcTesYp a2edh:(UISwitch*) a2edh agYhtzWvR:(UIApplication*) agYhtzWvR aU2RGevhyT:(UIBezierPath*) aU2RGevhyT agfOpd0:(UIKeyCommand*) agfOpd0 {
- NSLog(@"tjAOuyv5LPYdS2cCFBUE6lqh9");
- NSLog(@"xLni68XSjzCJtwP");
- NSLog(@"O2DYo0EdQb8gRZa5J7W3UslIHvMicFxmKpLG4tC9");
- NSLog(@"wyWBn695Ko");
- NSLog(@"YGBxFRg8V3IadlEKufXwAjcbsqSztep1i6kh");
- NSLog(@"K6lH8arN9XAo3ZYBsSjnbt");
- NSLog(@"QxvRIdyD5rPBXMm2z0N9coFjkseVKCuh");
- NSLog(@"2Gi8XD4VI65vmwSh");
- NSLog(@"XNI4tRl1j3");
- NSLog(@"KE12QDTpmcxsyZbl3rkaAPWFi04n");
- NSLog(@"MYfC7SnJ19A8Zgq");
- }
- @end
|