Skip to content

Instantly share code, notes, and snippets.

@kuotinyen
Created December 21, 2018 09:56
Show Gist options
  • Save kuotinyen/3afb9b75de20398c49abd2f6c028f4e9 to your computer and use it in GitHub Desktop.
Save kuotinyen/3afb9b75de20398c49abd2f6c028f4e9 to your computer and use it in GitHub Desktop.
a base tableView cell for setup views.
class BaseTableViewCell: UITableViewCell {
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        setupViews()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setupViews() {
        
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment