improved reusableIdentifier

This commit is contained in:
Max Sokolov 2016-01-20 19:27:49 +03:00
parent 8c82ec418d
commit 5a61eba23e
2 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public extension ConfigurableCell where Self: UITableViewCell {
static func reusableIdentifier() -> String {
return NSStringFromClass(self).componentsSeparatedByString(".").last ?? ""
return String(self.dynamicType).componentsSeparatedByString(".").last ?? ""
}
}