Add default implementation for height(for:)
This commit is contained in:
parent
279fdd4854
commit
b62dea8702
|
|
@ -33,6 +33,14 @@ public protocol ConfigurableCell {
|
|||
|
||||
}
|
||||
|
||||
public extension ConfigurableCell {
|
||||
|
||||
func height(for _: T) -> CGFloat {
|
||||
return UITableViewAutomaticDimension
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public extension ConfigurableCell where Self: UITableViewCell {
|
||||
|
||||
static var reuseIdentifier: String {
|
||||
|
|
|
|||
Loading…
Reference in New Issue