fix: review notes
This commit is contained in:
parent
50d3d5a36b
commit
ab9fafeb19
|
|
@ -24,7 +24,7 @@ import TIUIKitCore
|
|||
import UIKit
|
||||
|
||||
@available(iOS 13.0, *)
|
||||
open class BaseFiltersCollectionView<CellType: IdentifiableCollectionCell & ConfigurableView,
|
||||
open class BaseFiltersCollectionView<CellType: ReuseIdentifiableCollectionCell & ConfigurableView,
|
||||
PropertyValue: FilterPropertyValueRepresenter & Hashable>: UICollectionView,
|
||||
InitializableViewProtocol,
|
||||
UpdatableView,
|
||||
|
|
@ -22,17 +22,9 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
/// Protocol which ensures that specific type can return reuse identifier for view
|
||||
public protocol AbstractReuseIdentifierProtocol {
|
||||
associatedtype IdentifierType
|
||||
|
||||
static var reuseIdentifier: IdentifierType { get }
|
||||
}
|
||||
|
||||
/// Protocol which ensures that specific type can return string reuse identifier for view
|
||||
public protocol ReuseIdentifierProtocol: AbstractReuseIdentifierProtocol {
|
||||
|
||||
public protocol ReuseIdentifierProtocol {
|
||||
static var reuseIdentifier: String { get }
|
||||
}
|
||||
|
||||
public typealias IdentifiableCollectionCell = UICollectionViewCell & ReuseIdentifierProtocol
|
||||
public typealias ReuseIdentifiableCollectionCell = UICollectionViewCell & ReuseIdentifierProtocol
|
||||
|
|
|
|||
Loading…
Reference in New Issue