Skip to content

Instantly share code, notes, and snippets.

@BeauNouvelle
Created April 11, 2019 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BeauNouvelle/6221597d66e4d8d942f440a9272ed3d4 to your computer and use it in GitHub Desktop.
Save BeauNouvelle/6221597d66e4d8d942f440a9272ed3d4 to your computer and use it in GitHub Desktop.
extension UITableView {
public func register<T: UITableViewCell>(cellClass: T.Type) {
register(cellClass, forCellReuseIdentifier: cellClass.reuseIdentifier)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment