Skip to content

Instantly share code, notes, and snippets.

@StanislavK
Created February 11, 2018 12:06
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 StanislavK/debaea5b59bf8b2862e9e7575bb4e132 to your computer and use it in GitHub Desktop.
Save StanislavK/debaea5b59bf8b2862e9e7575bb4e132 to your computer and use it in GitHub Desktop.
import UIKit
protocol ReusableView: class {}
extension ReusableView {
static var reuseIdentifier: String {
return String(describing: self)
}
}
extension UITableViewCell: ReusableView { }
extension UICollectionViewCell: ReusableView { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment