![Swift 写纯洁的TableviewCell Swift 写纯洁的TableviewCell](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
let initIdentifier = "员工"
var cell = tableView.dequeueReusableCell(withIdentifier: initIdentifier);
if (cell == nil)
{
cell = UITableViewCell(style: UITableViewCellStyle.default, reuseIdentifier: initIdentifier)
}
let model:EmployeeModel = (self.data![indexPath.row] as EmployeeModel);
cell?.textLabel?.text = model.employeeName;
cell?.textLabel?.textColor = UIColor.init(colorLiteralRed: 66/255.0, green: 174/255.0, blue: 211/255.0, alpha: 1.0);
cell?.textLabel?.font = UIFont.systemFont(ofSize: 20);
return cell!