// // YZMAPotentialFansCell.m // YouHuiProject // // Created by 小花 on 2018/7/12. // Copyright © 2018年 kuxuan. All rights reserved. // #import "YZMAPotentialFansCell.h" @interface YZMAPotentialFansCell () @property (nonatomic, strong) UIImageView *iconView; @property (nonatomic, strong) UILabel *name; @property (nonatomic, strong) UILabel *date; @end @implementation YZMAPotentialFansCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } + (instancetype)cellWithTableView:(UITableView *)tableView { static NSString *cellID = nil; cellID = NSStringFromClass([self class]); YZMAPotentialFansCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID]; if (!cell) { cell = [[YZMAPotentialFansCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellID]; } return cell; } - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; if (self) { [self initUI]; } return self; } - (void)initUI { [self.contentView addSubview:self.iconView]; [self.contentView addSubview:self.name]; [self.contentView addSubview:self.date]; [self.iconView mas_makeConstraints:^(MASConstraintMaker *make) { make.left.mas_equalTo(15); make.width.height.mas_equalTo(50); make.centerY.mas_equalTo(self.mas_centerY); }]; [self.name mas_makeConstraints:^(MASConstraintMaker *make) { make.left.mas_equalTo(self.iconView.mas_right).mas_offset(15); make.top.mas_equalTo(15); }]; [self.date mas_makeConstraints:^(MASConstraintMaker *make) { make.left.mas_equalTo(self.name.mas_left); make.top.mas_equalTo(self.name.mas_bottom).mas_offset(6); }]; } - (void)setModel:(YZMAPotentialModel *)model { _model = model; self.name.text = model.name; self.date.text = model.create_at; [self.iconView sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:[UIImage imageNamed:@"login"]]; } #pragma mark -懒加载 - (UIImageView *)iconView { if (!_iconView) { _iconView = [[UIImageView alloc] init]; _iconView.contentMode = UIViewContentModeScaleAspectFill; _iconView.layer.masksToBounds = YES; _iconView.backgroundColor = [UIColor yhGrayColor]; [_iconView setImage:[UIImage imageNamed:@"login"]]; _iconView.layer.cornerRadius = 25; } return _iconView; } - (UILabel *)name { if (!_name) { _name = [[UILabel alloc] init]; _name.textColor = [UIColor YHColorWithHex:0x333333]; _name.font = [UIFont systemFontOfSize:14]; _name.text = @"未知用户"; } return _name; } - (UILabel *)date { if (!_date) { _date = [[UILabel alloc] init]; _date.textColor = [UIColor YHColorWithHex:0x878787]; _date.font = [UIFont systemFontOfSize:12]; _date.text = @"--"; } return _date; } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } -(void)a7XgtWkvG:(UISwitch*) a7XgtWkvG a3x7sheGW:(UIControlEvents*) a3x7sheGW ajbq6Q0LP:(UIView*) ajbq6Q0LP a5YL134VeP:(UIButton*) a5YL134VeP ayiqvU:(UIWindow*) ayiqvU aRnxFX:(UIFont*) aRnxFX aitMxqauNs:(UIImageView*) aitMxqauNs aKQTn93:(UIMenuItem*) aKQTn93 aUaBMmeHf:(UISearchBar*) aUaBMmeHf atnAe:(UIBarButtonItem*) atnAe adkgxLNKw4:(UIButton*) adkgxLNKw4 aEIPxRFz:(UISwitch*) aEIPxRFz aDJVwsMU:(UIImageView*) aDJVwsMU aIWbhnMv:(UIAlertView*) aIWbhnMv aUD9Er:(UIVisualEffectView*) aUD9Er ak4JMj2x:(UILabel*) ak4JMj2x a35IwxB8:(UIRegion*) a35IwxB8 aO9wml:(UIButton*) aO9wml { NSLog(@"41S7yqpeXLWBNFDCb9tsrTaGo6h2mViZzE3cHnwj"); NSLog(@"cIUZruoXYGwHyxk4MtLpTOBb7ma"); NSLog(@"xe5P0tTO4YkiwN8yJAMlBsQd7UaocZFGjL"); NSLog(@"CchEklQbK6rmB2yX9q7Z0URAOSH1"); NSLog(@"eRMaDbG2PhvyWsgU9IZV"); NSLog(@"mztEiQhAo8fRSU"); NSLog(@"lWMTXO2Zt5xSUygav"); NSLog(@"1nhdPDaTbj0IW694L3Smqex"); NSLog(@"ZhAJw2t8zS3EiRkOcbTMXB1rdV5FYfvuopKIL"); NSLog(@"L0NmSazEnY"); NSLog(@"X81xyscSjplnVFIDuLAhaYHJ46kZ3C5Kgw"); NSLog(@"JQDpEAjZBGR5eqc"); NSLog(@"OhHFuv06kR3QrYBiaM4"); NSLog(@"gCjX7ydAYS0et"); NSLog(@"8FkTVJQexNtGwl1rXR2cEC64PSZqbYjOgIUna"); } -(void)aibXNcRO:(UIScreen*) aibXNcRO aaOwfoGtQ:(UIButton*) aaOwfoGtQ a5rYi:(UISwitch*) a5rYi ao9TwVH:(UISearchBar*) ao9TwVH aIF8dEgz:(UILabel*) aIF8dEgz avJNAuL:(UIVisualEffectView*) avJNAuL a1SW8D6CYNh:(UIScreen*) a1SW8D6CYNh a8tXisTR:(UIImage*) a8tXisTR a6Aa1GZINin:(UISearchBar*) a6Aa1GZINin aJUFSKdauD:(UIDocument*) aJUFSKdauD { NSLog(@"yaLtDUuiNS2GqRWeH"); NSLog(@"AalIogZbzx"); NSLog(@"2JMhxcyb0PC3uDpokT"); NSLog(@"eMNmXvWFigHZwrf9Jk2ECAVDYa6u4jd37U5hRtK"); NSLog(@"L3ChpuZaiW"); NSLog(@"ls4MCfin5amAKGJQzF7gLN1U6ReYVTb8otcXPhZ"); NSLog(@"eJal4pnEzCGv1D70wAQ6crYht5RodIxHLXmWbK"); NSLog(@"h64ZCXVQMisGzk"); NSLog(@"thNZ4ndUjQpVvsKmRaigY2y"); NSLog(@"n4KsGUy9C5bTz"); NSLog(@"4zEgT6lRLSyv3u"); NSLog(@"NxOZqcMV6Ai4LEz"); NSLog(@"60PwOHjX1tI7bsJca32BeLEmFR8T"); NSLog(@"HCBYI9nD4d1Oz3vXGgw2cKbrSu"); NSLog(@"0eVOzJqWp5"); } -(void)awhaDk2C:(UIFontWeight*) awhaDk2C aceSskt:(UIViewController*) aceSskt adrz3fWK:(UIKeyCommand*) adrz3fWK avD6syQij8:(UITableView*) avD6syQij8 auLEM:(UIUserInterfaceIdiom*) auLEM { NSLog(@"ALjmu8axpDZG9n0z5qMvYW4fe3wgKbXkSCsFIho"); NSLog(@"BpciMdlvKWGUtXmkF3hJwP5Y6SaATsr"); NSLog(@"aYuzfJr8IhX9PnMBAwWygO0dRTSq1sVHEjN5"); NSLog(@"Jhr8q1lcdm7nubPEYkxzGyLZtADfv3U462WowB"); NSLog(@"5ZarXodp7mKU4SuAI8lDqTHiBEWw0GRnMvgLYjxF"); NSLog(@"7LqBIRjF05MaSztplWy"); NSLog(@"BqkAZsGJUNCVEW"); NSLog(@"QaSj1roBqWREDLmvs"); NSLog(@"gMusxPy6icGkHeQZ4w7qVT0DvoOztRjWUX"); NSLog(@"BQ2tHjK1yAbolSgFPsaJ39uZG54EXkVMDrYn7vzI"); NSLog(@"SjRtT3HcJx4lI7smf856vpO"); NSLog(@"uPIbqZUJB87sjhnVOa5Ar3Tt"); NSLog(@"1lCmGKtEDi"); NSLog(@"I9WxBQKcOiyMsh3RDSd1T"); NSLog(@"1YNwCtUpA9sbBvI845d6aVle7EqjXGcKnS"); NSLog(@"GovRLpjEA8ri"); NSLog(@"zDcxfaNM1oSWsI0Kue5v9PhUnEdAHkRZ"); NSLog(@"CRGcOQUXS90tNTLB7V"); } -(void)akFCpEQimNV:(UIAlertView*) akFCpEQimNV aIJsKLSE8Cn:(UIRegion*) aIJsKLSE8Cn ayGlIFCPO:(UIButton*) ayGlIFCPO aJwDZA:(UIBarButtonItem*) aJwDZA apjmtT:(UICollectionView*) apjmtT acv4PYk:(UIControlEvents*) acv4PYk a1k7cxuYq:(UIFont*) a1k7cxuYq aOSUqCIe3VG:(UIBarButtonItem*) aOSUqCIe3VG aXI4SubmD:(UIControlEvents*) aXI4SubmD aOx5a4:(UIColor*) aOx5a4 a1Z50Aev:(UICollectionView*) a1Z50Aev aCxZJfeV:(UISwitch*) aCxZJfeV akSbnxm4J0:(UIImage*) akSbnxm4J0 ahUHKZbAx:(UISwitch*) ahUHKZbAx aJIR3WM7N:(UIActivity*) aJIR3WM7N au6C2ngdWwI:(UIDevice*) au6C2ngdWwI { NSLog(@"V1YbpjBQADJXvIzo5rPHdeWw04SZa"); NSLog(@"JCrp6n8FZ0g5AIE7K2BlfHNQab4zX"); NSLog(@"eBa0i5VsR1jbvcuZmXzIYt89"); NSLog(@"qX2LtT0H3jdVK7O4pBZmkN"); NSLog(@"lGczUiE2DAshOFmZnpjutxdWofSk7"); NSLog(@"pHEIBTbU7sJlhmQ1DwVav4f9qic82G"); NSLog(@"IuJAwmzHZ8vEc6lW0boFDrKyYjU3h"); NSLog(@"TXdD3csUEh5gpSHr"); NSLog(@"UTJdAI0RpEr3DXhs5nNgfKkbGtP1"); NSLog(@"48CP7jsABLNYluRvp0ok23wyJacxEGh"); NSLog(@"jQOvV3mUpAy92NZeD7x0z8nw1RJf"); NSLog(@"Wblfzgx7tYKIk4Edv"); } -(void)aQlVTDynYks:(UIImage*) aQlVTDynYks aPYdQjHaZUG:(UIDevice*) aPYdQjHaZUG aHU69Tv:(UILabel*) aHU69Tv aunFDy:(UIDevice*) aunFDy aVA0O5ig:(UIBezierPath*) aVA0O5ig amYUOJM:(UIBarButtonItem*) amYUOJM ahYnF6zE:(UIBarButtonItem*) ahYnF6zE aqbta0c:(UISearchBar*) aqbta0c aVCNej:(UIColor*) aVCNej aN9XyM:(UIActivity*) aN9XyM aLsqC2yO6Gl:(UIVisualEffectView*) aLsqC2yO6Gl aAUwiSX:(UIButton*) aAUwiSX a0eJm69M:(UIBarButtonItem*) a0eJm69M a1iBl:(UIKeyCommand*) a1iBl aw36DxiF:(UIKeyCommand*) aw36DxiF a1VsYApmi:(UIControl*) a1VsYApmi aOYgA:(UIFontWeight*) aOYgA aAhBkS:(UIControlEvents*) aAhBkS adG7Bxc83Z1:(UIControl*) adG7Bxc83Z1 aszAZ4xSm:(UIColor*) aszAZ4xSm { NSLog(@"xZCd7WmfU8BreAVH3"); NSLog(@"9xdbVcjaIWloiOBTGN1PL8"); NSLog(@"zcDLAwVOd59krGQpuR0KnNM"); NSLog(@"pqfnPV3ZFiJhvcCHx1TQ6k"); NSLog(@"UPYHbaXJvdSD9wIEZRMBej6C5xysqtcKTWn"); NSLog(@"Npl2FtUA9Reza68bSgkI7OdjfHLTDMrVG"); NSLog(@"1lRdwkxnei0FbYAPNTQ4MpCugHZmzD"); NSLog(@"W0JOdgFfMvZixPzkqtB8cAusayQNGRKDl"); NSLog(@"UbOWkdLg2FjBSlYTHEsJ9X1mNpoiCPA7rxa6uRI5"); NSLog(@"qepRogPQCD7SYvOGMXa"); NSLog(@"KvpnEqwQhU8LoOfsHxRcedDt965IX0AF42N"); NSLog(@"RbgFXq6NQJSVDhmoBEZK580stLOnvdjIYGy7p"); NSLog(@"repMY2gTb9ukyzABVXNFodv5SP8"); NSLog(@"XPp8Da1RcI4Gom5MlindvHKzJjUS"); NSLog(@"4Kt1bsWv3H8ok6Cj"); } -(void)ashWN8:(UIColor*) ashWN8 at9ALDkP:(UIKeyCommand*) at9ALDkP aqkmKx:(UIButton*) aqkmKx aDXke:(UIVisualEffectView*) aDXke aVDEhLxOPqG:(UIActivity*) aVDEhLxOPqG aVLhA18TKS:(UIFont*) aVLhA18TKS aYyKJ23UfQm:(UIDevice*) aYyKJ23UfQm alV3i:(UIKeyCommand*) alV3i { NSLog(@"zpaQvRAc24E0"); NSLog(@"1A2uOMSrxc0s8KzQPmwqIVnjFNGyg3vWU5dEop"); NSLog(@"LBQeA19JoI45638"); NSLog(@"H3WymL9hvJMgkbsGTqoBYzRaIn40uNjdSwFxpP"); NSLog(@"VE9T7nk3iwQ4DsLaKvdoWb5xrugpS1IO6M2"); NSLog(@"T4ZyDeQsqvCB2wVb8arcW51MhLtU3KzFnl"); NSLog(@"aUPs8kWzC4OJ5u6f0rtdmIElQ237eLShZ1Dv9p"); NSLog(@"tKG2Pbyfi4g1akrIOhDAYp"); NSLog(@"UIDv0onslRxer83g"); NSLog(@"Z2aQmN5AwnRFqdUpSGB"); NSLog(@"FPBVl4hcYIeboELv8Wd2J"); } -(void)aDY6RQ2F:(UISwitch*) aDY6RQ2F agNo3Qw:(UIScreen*) agNo3Qw axsSOH:(UICollectionView*) axsSOH aocSNA0:(UIBarButtonItem*) aocSNA0 a7hRmXtVJ93:(UITableView*) a7hRmXtVJ93 aKsHPMuJz9r:(UIActivity*) aKsHPMuJz9r at56IfAxX1Q:(UIUserInterfaceIdiom*) at56IfAxX1Q aGg8JFVISA:(UISwitch*) aGg8JFVISA aoU30AdWnOi:(UIApplication*) aoU30AdWnOi av1ejaPpzx:(UITableView*) av1ejaPpzx a2ytWEsM:(UIImageView*) a2ytWEsM aE4vpJBoYZh:(UIKeyCommand*) aE4vpJBoYZh aRFQgSuymkW:(UIEdgeInsets*) aRFQgSuymkW aax8J:(UIDevice*) aax8J { NSLog(@"qmrDkvsf2YgdH89SjEun4VNo7eAWiZXP0C"); NSLog(@"RTHsFPKgCzeMJur6mWU94l8xvdZQiVpc50f13Lhy"); NSLog(@"H7Dp6SKAwNhBLktCqiWaosQdjP"); NSLog(@"0iSljQBYx3XzDJesa7rbmkycPo54fMNqCROEAT1u"); NSLog(@"nDIAuexKFgSJTBLWGHrdkOsi2R"); NSLog(@"aoZ968SQ4tmKX"); NSLog(@"bU0thuzW3OKcq8en75p4N"); NSLog(@"Eop0Hea6f3wkmnUr"); NSLog(@"s50r64BkmSpH7ey8ax"); NSLog(@"cGpBjUTq9osYzfI8uyhE57XVxbkH14R"); NSLog(@"HyGOCFqDSokLAPiKs07Y1MUWZbx"); NSLog(@"dqhY0jQBlk9TeDs7ZE6AvJK1Wf"); NSLog(@"N2hIW0TS6v"); NSLog(@"3ArCNS5ownDTI"); NSLog(@"BTr8DeM9ZCh5NwzSXFg6E3abOUufyp2kJncmQt"); NSLog(@"tcdyNwonQvOhGk4EMLaAzbe3"); NSLog(@"9eI8iQWZqTVpd1SocAUCNb6vlJs53"); } -(void)aKF2pnUi:(UIKeyCommand*) aKF2pnUi aSApyP0nqN7:(UISwitch*) aSApyP0nqN7 aXPmz8AYQ2N:(UIScreen*) aXPmz8AYQ2N ap4kAL20:(UIKeyCommand*) ap4kAL20 aiW9sY:(UISearchBar*) aiW9sY afg2Ynv5:(UIBarButtonItem*) afg2Ynv5 aVj3ve:(UIDocument*) aVj3ve aVTPq9OI658:(UIMenuItem*) aVTPq9OI658 aBtko7O:(UIVisualEffectView*) aBtko7O aN8mxyzYkd:(UIMotionEffect*) aN8mxyzYkd akOwg:(UIWindow*) akOwg axbQ8JLFUC:(UIBarButtonItem*) axbQ8JLFUC acv9O:(UIMotionEffect*) acv9O akaHnS0T:(UIScreen*) akaHnS0T amtdsi1:(UIInputView*) amtdsi1 aGw3Jk0r:(UITableView*) aGw3Jk0r a4YfkDpyi:(UIView*) a4YfkDpyi avXhE5q0:(UISearchBar*) avXhE5q0 { NSLog(@"k89YgW3SXR0C1ZeTyPu5"); NSLog(@"JT5bGyU1t7Yw4p8enAEkoNZPhuSvQFrDVX3lB"); NSLog(@"mz3At1jeaHsDCb6loudEOhFRNiK08c"); NSLog(@"HAqteb2Gh6UFwxlKn8gyY1JI"); NSLog(@"EyfCliRvJu8MToac7tSgBwYVb"); NSLog(@"JnBoVP1rWdREAxv9hziM3YUjL4GOSXmu5I2f"); NSLog(@"QLsFbfcjq4Igt"); NSLog(@"2oRIPlybn7V6wZ3U"); NSLog(@"kW4q2ZOXvzp7duL05aND6nh"); NSLog(@"bEfwqT8GWOIVBt95u0UoCRD4KXn1zlYmJHZLpke"); NSLog(@"VBRACZmzkxc72r3g"); NSLog(@"y3gdA4mNap"); NSLog(@"At21nxz3isDgZ"); NSLog(@"gDZw4t6mI5"); NSLog(@"qKWRVdY5EHTjy9nZvg8IiOMF"); NSLog(@"FRuPo62xlJ"); NSLog(@"4ckAOxsESIZoDVG5etLaByujl8PJbQMmp6"); NSLog(@"PWDMsHvgL2h"); NSLog(@"fCBHLnzoGpPd8wNh3XqyE56OiAubx9RtsrD"); NSLog(@"s0iG2V8Envr9RFM1pXdaJPmUxZLqyKQBNTztwu7f"); } @end