StringProtocol
extension StringProtocol where Index == String.Index
-
Create a NSRange from a Range.
Declaration
Swift
public func nsRange(from range: Range<Index>) -> NSRangeParameters
rangea Range.
Return Value
a NSRange.
View on GitHub
StringProtocol Extension Reference