Skip to content

Instantly share code, notes, and snippets.

@joelmarquez90
Created January 2, 2018 15:03
Show Gist options
  • Save joelmarquez90/9033d41c8607534e0cdbe0ce87125317 to your computer and use it in GitHub Desktop.
Save joelmarquez90/9033d41c8607534e0cdbe0ce87125317 to your computer and use it in GitHub Desktop.
class TournamentTableViewCell: BaseTableViewCell<Tournament> {
override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
selectionStyle = .none
textLabel?.font = R.font.proximaNovaLight(size: FontSize.Medium)
textLabel?.textColor = UIColor.flatBlack
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
override func setupCell() {
textLabel?.text = model?.name
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment