Created
September 11, 2018 08:07
-
-
Save ShoMasegi/31cdbb1fe7488842e6eca427b29914e3 to your computer and use it in GitHub Desktop.
hatena_uitableview_reuse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol Reusable: class { | |
static var reuseIdentifier: String { get } | |
} | |
extension Reusable where Self: UIView { | |
static var reuseIdentifier: String { | |
return String(describing: self) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment