Created
February 11, 2018 12:06
-
-
Save StanislavK/debaea5b59bf8b2862e9e7575bb4e132 to your computer and use it in GitHub Desktop.
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
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