// // AddVideoMomberCell.m // watch // // Created by Apple on 2019/1/25. // Copyright © 2019年 xTT. All rights reserved. // #import "AddVideoMomberCell.h" #import "User.h" #import "Device.h" @implementation AddVideoMomberCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code self.selectionStyle = UITableViewCellSelectionStyleNone; // self.memberHeadView.layer.cornerRadius = 3; // self.memberHeadView.layer.masksToBounds = YES; } -(void)setModel:(VideoUserModel *)model{ self.memberHeadView.image = [myHelper getClickRelationshipImageWithCodeID:model.relationship_image_id deviceType:cUser.cDevice.deviceType.integerValue]; self.relationshipNameLabel.text = model.relationship; if(model.ifSelect){ self.selectImageView.image = [myHelper getImageWithName:@"选中"]; }else{ self.selectImageView.image = [myHelper getImageWithName:@"未选中"]; } } @end