redefining an utility substring seems overkill

pull/110/head
colourful-land 7 years ago
parent 86e1b64026
commit f63fe8bac3
  1. 4
      Trust/Extensions/String.swift

@ -103,10 +103,6 @@ extension String {
return String(self[startIndex..<endIndex])
}
func substring(from: Int, to: Int) -> String {
return substring(with: Range(uncheckedBounds: (from, to)))
}
func nextLetterInAlphabet(for index: Int) -> String? {
guard let uniCode = UnicodeScalar(self) else {

Loading…
Cancel
Save