If you have shifted your Xcode to version 9, the Swift standard library of Swift 4 provides a method to convert from Range<String.Index> to NSRange directly ...
確定! 回上一頁