I want to use [String] as generic parameter.
public class Cell<T : Equatable> {}
Here is a line where I get an error:
class TagsCell : Cell<[String]>, CellType {
}
I've added this code, but it doesn't help
public func == (lhs: [String], rhs: [String]) -> Bool {
return lhs.count == rhs.count && (zip(lhs, rhs).contains { $0.0 != $0.1 }) == false
}