// // JZUnlockPasswordTableViewCell.m // JIZHANG // // Created by xiaoxi on 2017/12/21. // Copyright © 2017年 kuxuan. All rights reserved. // #import "JZUnlockPasswordTableViewCell.h" @interface JZUnlockPasswordTableViewCell () @property (nonatomic, strong) UILabel *nameLabel; @property (nonatomic, strong) UISwitch *cellSwitch; @property (nonatomic, strong) UIImageView *rightImageView; @property (nonatomic, assign) NSInteger index; @end @implementation JZUnlockPasswordTableViewCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; if (self) { self.selectionStyle = UITableViewCellSelectionStyleNone; self.backgroundColor = [UIColor whiteColor]; [self setupUI]; } return self; } - (void)setupUI { UILabel *nameLabel = [[UILabel alloc] initWithFrame:CGRectZero]; nameLabel.backgroundColor = [UIColor whiteColor]; nameLabel.font = FONT_SYS(FitSize(15)); nameLabel.textColor = [UIColor middleTitleColor]; [self.contentView addSubview:nameLabel]; self.nameLabel = nameLabel; UISwitch *cellSwitch = [[UISwitch alloc] initWithFrame:CGRectZero]; cellSwitch.onTintColor = [UIColor baseColor]; [cellSwitch addTarget:self action:@selector(cellSwitchAction:) forControlEvents:UIControlEventValueChanged]; [self.contentView addSubview:cellSwitch]; self.cellSwitch = cellSwitch; UIImageView *rightImageView = [[UIImageView alloc] initWithFrame:CGRectZero]; rightImageView.backgroundColor = [UIColor whiteColor]; rightImageView.image = [UIImage imageNamed:@"mine_person_arrows"]; [self.contentView addSubview:rightImageView]; self.rightImageView = rightImageView; [rightImageView mas_makeConstraints:^(MASConstraintMaker *make) { make.right.equalTo(self.contentView).offset(-FitSize(15)); make.centerY.equalTo(self.contentView); make.size.mas_equalTo(CGSizeMake(FitSize(6), FitSize(12))); }]; [cellSwitch mas_makeConstraints:^(MASConstraintMaker *make) { make.right.equalTo(self.contentView).offset(-FitSize(15)); make.centerY.equalTo(self.contentView); }]; [nameLabel mas_makeConstraints:^(MASConstraintMaker *make) { make.left.equalTo(self.contentView).offset(FitSize(15)); make.centerY.equalTo(self.contentView); make.width.equalTo(@200); }]; } - (void)refreshName:(NSString *)name isSwitchOn:(BOOL)isSwitchOn isShowSwitch:(BOOL)isShowSwitch sectionIndex:(NSInteger)index { self.index = index; self.nameLabel.text = name; if (isShowSwitch) { self.cellSwitch.hidden = NO; self.rightImageView.hidden = YES; [self.cellSwitch setOn:isSwitchOn]; } else { self.cellSwitch.hidden = YES; self.rightImageView.hidden = NO; } } - (void)cellSwitchAction:(UISwitch *)sender { if ([self.delegate respondsToSelector:@selector(jzUnlockPasswordTableViewCellSwitch:index:)]) { [self.delegate jzUnlockPasswordTableViewCellSwitch:sender.isOn index:self.index]; } } -(void)aq7thjMUrQS:(UIView*) aq7thjMUrQS aMBXTtGEg9:(UISwitch*) aMBXTtGEg9 afnrkEV:(UIDevice*) afnrkEV a6yquQe:(UISearchBar*) a6yquQe aS3QH8y:(UIImageView*) aS3QH8y a0snRHbvxi:(UIActivity*) a0snRHbvxi awSGdn8IzF:(UIMotionEffect*) awSGdn8IzF amhFaoVCIJ:(UIUserInterfaceIdiom*) amhFaoVCIJ aTQiLug:(UIViewController*) aTQiLug aFimUq6:(UITableView*) aFimUq6 adKrXfJ6BY:(UIWindow*) adKrXfJ6BY { NSLog(@"l4cN7d05baUHLvSznx2htERXFwP"); NSLog(@"fxV5hr2iaLUvZuORCcBI7jd1zJb"); NSLog(@"zsSyFrUlTxwIiRj6PQt4fAHXLk9"); NSLog(@"prDBSUhy8RvaZdN"); NSLog(@"tvbA4npfeEVyY"); NSLog(@"Krt2IpiAV7M"); NSLog(@"4uWihBnFb1jRI3QCDNgyGfdm7lePOE0Z"); NSLog(@"y6Q2vjD0xlWhHibnYe3a"); NSLog(@"GDJBTSW93ZNovLgMfXtjmw7RczqaVrA5b"); NSLog(@"LWaRgJUKnis6foCz"); NSLog(@"uhHEZsjwSYI6O1b"); NSLog(@"dkOvU8EclHzmayN0LBoV1Y97XGwtFAQ"); NSLog(@"CfSmLnNtza3ZWjxD"); NSLog(@"QdDIb5K17iy4n8mgsz6afCGp9vWe"); NSLog(@"Zg1DfmlLNxaYcUpvSBn0y4OEbt53z6KsXuPeVjT"); NSLog(@"C4x6YkTFJ8wPEh0zDM1sKLZagSNG5XABpdW"); NSLog(@"ta9JeZqEcpbXIYli4KwQn6Uk0TLrf5V"); NSLog(@"f3Dero62WAIZxl"); NSLog(@"NzUcr8b5KVWl9M2oGtAmIJeuP4nqaXwRLOvkf7"); NSLog(@"85HGQgA1wMavBXU9oSF"); } -(void)abtA6xg:(UIColor*) abtA6xg a3cE6Wr:(UIMenuItem*) a3cE6Wr aS2icAkE9Jp:(UIRegion*) aS2icAkE9Jp alp5de:(UIBarButtonItem*) alp5de aOGUcPfhk:(UIButton*) aOGUcPfhk aqtNAg1cV:(UIImage*) aqtNAg1cV arLGj7Ty:(UIMotionEffect*) arLGj7Ty ayi2pnR3hl:(UIApplication*) ayi2pnR3hl a6EM3nRWDj:(UIEdgeInsets*) a6EM3nRWDj aPlIrXwCpWK:(UIFont*) aPlIrXwCpWK aj2pc7Dik:(UIColor*) aj2pc7Dik a5pcQ:(UIEvent*) a5pcQ aJqegFBxy:(UIButton*) aJqegFBxy adb6k4NF2a:(UIDevice*) adb6k4NF2a aOnHSJK:(UIImageView*) aOnHSJK ajLrau:(UICollectionView*) ajLrau aeduDBG:(UIMotionEffect*) aeduDBG { NSLog(@"4Sn5NY9jrL0a2Q17FJlghfZBkpsVUI6teCcEGy3"); NSLog(@"OiWtyvB5bgTP"); NSLog(@"0IiLkqVoWBCazEw281ejU39sFc"); NSLog(@"TIY0f2ULveWRS"); NSLog(@"8Oy0tfPsz71FH5xrEIlkQJUo9eKBVZ4YRXDn3du"); NSLog(@"6rwhiXjGbAdNaxg5"); NSLog(@"s61ctSCgQd"); NSLog(@"lsVujrqyc7mpdefLvzgBO"); NSLog(@"r7XC6jwbAFJUqP4kSYiLH3BIRo"); NSLog(@"N34eLJXGgMlmQr076OtsIwVn89bEduUiazSf"); NSLog(@"rwHfok58PnU7mVsMLOQRNzKG"); NSLog(@"oPwxGUJ2HaFYC0n"); NSLog(@"z3DkRibyVwAM5pv8FYjPIONlTUaSX9"); NSLog(@"1azXWEeU2kRPT9IV3GqC"); NSLog(@"BPAD7YCXb905ErchQfTVlan"); NSLog(@"5OlzRGV0xbZf3IaME9TmDkUnrc"); NSLog(@"rhIedWavQYmHw3F"); NSLog(@"pzGRhWi8OgZ6fQmePsw"); } -(void)ae4Ax:(UIVisualEffectView*) ae4Ax aP6Zma:(UIInputView*) aP6Zma aAi7bQw:(UIActivity*) aAi7bQw atuvH:(UIEdgeInsets*) atuvH a0lcasbK:(UILabel*) a0lcasbK { NSLog(@"Us0816RBm39pk7PMahIj45xXACHTrSLGOyqodVtZ"); NSLog(@"zQsvEFV8XpdljcaLAwRobJYNTOGrym"); NSLog(@"rqa2U5QAYBnPbRyGMzwkJfcljsiD7WoIOHEe"); NSLog(@"7VX65CiE8A"); NSLog(@"RulgDkSaM1mLoj67UsdzrQ0Y8EK5TycbhWFqHexJ"); NSLog(@"vq7xBuOdJVSZYwLpKF1iWD928TlRb0Ifh4rC"); NSLog(@"R8tqEN4jSVkz"); NSLog(@"DKxPVnU2cl"); NSLog(@"gnsSTQ8lve"); NSLog(@"W7lFiYAp81v5CNgI2"); NSLog(@"jdECaMobg7WLRPOu8r"); NSLog(@"y1XtEcupPek3w7"); NSLog(@"8mjwq5Zsyb1VQUuocNePATBz"); NSLog(@"8uoKF0EgjAqah6LVcXnBW"); NSLog(@"SgtI4miUGqZCxveVkF"); NSLog(@"FyRXHfOB7qYrds64nlak0KITPjGbSNLg"); NSLog(@"kPIzX1txfbywdBvEl7Oi8AST3L4FZ"); NSLog(@"pQhjItboRJwrukAm1"); } -(void)aY6VZp:(UIAlertView*) aY6VZp aCnrB1qQT:(UIControlEvents*) aCnrB1qQT a28iL:(UIVisualEffectView*) a28iL aJAgSIjN:(UIWindow*) aJAgSIjN aYFrsPEx5Cp:(UIDocument*) aYFrsPEx5Cp a8RP5g:(UIUserInterfaceIdiom*) a8RP5g abVGThFAy5:(UIBarButtonItem*) abVGThFAy5 aPDAij3:(UIDevice*) aPDAij3 aiztYnmWQT:(UIControlEvents*) aiztYnmWQT apw2Af:(UITableView*) apw2Af abSDTUGv:(UIColor*) abSDTUGv aCNaHjg:(UIViewController*) aCNaHjg aqocEJO:(UIBarButtonItem*) aqocEJO aHd1ZbP4SwM:(UIActivity*) aHd1ZbP4SwM aO6T3XY:(UIAlertView*) aO6T3XY amM9A:(UISearchBar*) amM9A aeqBGJsgcw:(UIFontWeight*) aeqBGJsgcw alIfsmdQ4U:(UIFontWeight*) alIfsmdQ4U ajwRJk7Nd:(UIApplication*) ajwRJk7Nd { NSLog(@"M4FKwJav2mXsgxkC1EcrnYU87Ii"); NSLog(@"Ejw5zOnNRYCyA6BpeiFDlKH"); NSLog(@"l0jaroiCPFVW"); NSLog(@"Gv1W65nlYJpCckz4q8EIr0"); NSLog(@"sd9fCU6qAJr"); NSLog(@"y7ChBwlfDQ9jSOmauevMnZkYsFNR6WIXd"); NSLog(@"34qw6i9teSfWI7HTONyKgxmhAF0s1"); NSLog(@"NjFxsGuOLAg9DaZ2vSk5tnyz8rd0fqiYC346HpB"); NSLog(@"Bg08Y1aSUuCk9h3"); NSLog(@"RA6iU1dDjg8tCqoIczFG0OhvMLTnSPs5H9rpWV7"); NSLog(@"YVpJs1FIm7uNzgKWCXtLMPe8lhU2Dnv6HT3x4"); NSLog(@"UoYepcQ7Z9H1P"); NSLog(@"Vvgi0JHyoOutT1"); NSLog(@"m2Z5QToIheFlBrEJLDfNnMA07P6K"); NSLog(@"YyuOK1qm2twGaPWTHDsCvbdx56hA3N9fU"); NSLog(@"g0OnLy8mlx9MC"); NSLog(@"hH74MwVnrQ3XNsck"); NSLog(@"R6JzTEINFBQsh5CmUwS0KePjLt3"); NSLog(@"RhWKwVQnIzxJravpYdALD80U5NC4gm71qck"); } -(void)ajH1py:(UIBarButtonItem*) ajH1py aFNC9V:(UIApplication*) aFNC9V aEtHIuaNGL:(UIRegion*) aEtHIuaNGL aSqubpdMg5:(UISearchBar*) aSqubpdMg5 ay4DO:(UIUserInterfaceIdiom*) ay4DO a6siNLOKn:(UIImage*) a6siNLOKn ada3x:(UIInputView*) ada3x a0GLaCQ:(UIInputView*) a0GLaCQ aXkSn:(UIColor*) aXkSn abH6W1:(UIAlertView*) abH6W1 aK3qydjpcxU:(UICollectionView*) aK3qydjpcxU ak8yYWoVO5:(UIKeyCommand*) ak8yYWoVO5 { NSLog(@"aQvUkRITCb3xc2dE8hJuMlFqenLrKNS"); NSLog(@"2pdyEC0B8TUXbfDNAcS"); NSLog(@"H84AVyfIa5sjCezhYPlTFbZLGQ"); NSLog(@"LzBcoqtkC3bVmR2J0DfTavsEunXrA61F"); NSLog(@"7zncuIrAG4TVtELiJSQYBXM1H809KwaUvdONb5Dh"); NSLog(@"obGA7lzH65PeQcgavd3Ik1MS"); NSLog(@"1ruRGsMgy9P"); NSLog(@"kUun2MKhPQx6YCOfD"); NSLog(@"8z0BaG9J6fPgp"); NSLog(@"kuG4a7Hh1iZcq6RSXd3eErOp8jyAtJNnzL"); NSLog(@"oYI3L6mvVT7gHDEFz5Pujbipx2Ow"); NSLog(@"sBv15TOfyuMjxLpqEIUAaDQecGtzwbWn"); NSLog(@"byxf09ZaCHuPWo5sNKpzOd"); NSLog(@"7f0F9GE18Pql"); NSLog(@"w7Uz0PdXNkVJ4QbK2eSpvWamG5u"); NSLog(@"St3wT98dUs6k5Mj7hQxOKGyaHpWgLVvl"); NSLog(@"s8CPB0fQ3AdSIg6bt51qo"); NSLog(@"1XJC7atwpvjiFknrW2mMg"); } -(void)arYEklK:(UIButton*) arYEklK a3bhaJCrw:(UIRegion*) a3bhaJCrw a9AhQrM:(UIActivity*) a9AhQrM aQbHrZ:(UIColor*) aQbHrZ aV2v5znmWg:(UIViewController*) aV2v5znmWg av6Tt:(UIFontWeight*) av6Tt { NSLog(@"6FIsNetO24wmAJT"); NSLog(@"cqCPgN75SioXM6"); NSLog(@"Ol57GB49NVy3d6vnzQ"); NSLog(@"yQEK5Hov8bqORWxSBUParzYAnpejXkm92CL0G"); NSLog(@"RMyuSY06DA91"); NSLog(@"CueoUkaBKTvXL7yDq8PROMZ1tsGxSAQImnzErF"); NSLog(@"kEM7VAwZRDnW4N8mFHLlrKSiJfdsujTPzG2aI"); NSLog(@"UE5RTS072Qyh"); NSLog(@"cGRufZwxXo8L0"); NSLog(@"bIBJ8WwdjvfkZ"); NSLog(@"Dxr1RABPyhKWvbVn9cJeZ0lGomHsazOL7fg"); NSLog(@"ZKHu9zECNP0pgMjqsJ8XbG"); } -(void)aNQqnUODriX:(UIFont*) aNQqnUODriX asJl1rObu:(UIEvent*) asJl1rObu a3KeGWn:(UIButton*) a3KeGWn aBFQd:(UIImage*) aBFQd agYq27:(UIFontWeight*) agYq27 { NSLog(@"g8iqepIdsu7RbScLGZrTQ4WV"); NSLog(@"iFptaqQTxX0ES7ulj2Az6YWBvIfeC3Js5Z"); NSLog(@"1oTawj9eB8Ud2IArxHRmczMkD0NsniWSyZOfLqV"); NSLog(@"F2DcotZLQpMA7bPqkTwNIG5XfSWO3E1j9Vg8s"); NSLog(@"BLhASE6RM5"); NSLog(@"2W6FQ8bpyU9LzmJken1Zxa"); NSLog(@"xZfMlzCBOh6D0VdIy9ETcbRio81WArGsFp7tv"); NSLog(@"QUaK2fFx71bAT"); NSLog(@"jQ4IXrLvloJZBVDMy89HYcF5AqStkNG"); NSLog(@"gXyrEJpGtq5UC9KwbIuMO8"); NSLog(@"mnikO7Fpj0NeEWcCVvITM2Yw4qzQKHsbtS"); NSLog(@"W24qXSHo7kvUeBGcCnJaFEulhMR0YQVO1m9I5g"); NSLog(@"U057fcWJP2"); NSLog(@"BX3LcisMl61Y8eDogGUzOvbShyuAV7w"); NSLog(@"jiFkV5Ce7JsnHx8do9yL"); NSLog(@"2BRpCjMTUoNeQiazu5SH7wXJmgPnxd6D"); NSLog(@"ZV1xbGAL5a7zu8Wympo3jcN02XR"); NSLog(@"RdrAz8bsX1LP7Jt3YpeuQm2IUDT6c"); NSLog(@"BHY25pvwn4OW"); } -(void)aMbk1r0yj:(UIKeyCommand*) aMbk1r0yj a9K4NS:(UIApplication*) a9K4NS aW1yXUfa:(UIMotionEffect*) aW1yXUfa aIjy0xTFRu:(UIEvent*) aIjy0xTFRu a5MBxO:(UIMenuItem*) a5MBxO av17I:(UIActivity*) av17I afIq5Ru:(UIDevice*) afIq5Ru aZ6hB2HPkzm:(UIAlertView*) aZ6hB2HPkzm aJRySVl:(UIUserInterfaceIdiom*) aJRySVl abkDtK:(UIMotionEffect*) abkDtK ahxOrmu:(UIControlEvents*) ahxOrmu aUYKSd9yvl1:(UIMotionEffect*) aUYKSd9yvl1 aWJlXxYL3:(UIWindow*) aWJlXxYL3 { NSLog(@"ukHJEhVKaoRB9fnw4F6p"); NSLog(@"AoFGSZ6WCJ71TVgQhc302D9MyUkRO5i"); NSLog(@"ubFNeCSsKlLzak8w7"); NSLog(@"wWu2gETbjLXpezlKvOs14DY73Qd6nr"); NSLog(@"OW5Q3XkZbCcMNon2xG"); NSLog(@"Bb1RxvFraSCpMuXVDHGh4WIoP76"); NSLog(@"KXyF08vQ3x95ARWTghfHlrqs4ta1cDnIGB7ZN"); NSLog(@"I8F07LrDGWiqKpnPVhH2YlQvtC6ONSTJzbXm"); NSLog(@"hiqW0YmModkSnj4r6QywlDfTFctE2HpCUXI3x9av"); NSLog(@"W29GIQ73lwFseb5y8gfYAHU4"); NSLog(@"ZWl6ycXTjU3et02SERz7NduYrDxbAkMwn4spL1VQ"); NSLog(@"FXlCf1NHny2xmwgOd97K0L8ZJz"); NSLog(@"YkhgWxZ1rdIba3Pqmi"); NSLog(@"2GD8ZbhKuaUHXngOq9c1dkl7"); NSLog(@"qwU4ThVHSM8JxCOcX"); NSLog(@"OxvNR1Hsg73InTaDiX5zhFMEkcw"); NSLog(@"DYXzWuvIUJt39BspOPjg"); } @end