For quick 2.2 I use this
extension SequenceType where Generator.Element == Character {
}
but when I want to convert to Swift 3, I have to use
SequenceinsteadSequenceType
But
extension Sequence where Generator.Element == Character {
}
yeilds
Using the Undeclared Generator Type
So how to solve this problem?
source
share