SwiftextensionNotesSupport

extension NSAttributedString

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 3

  1. funccomponentRanges(separatedBy: (Int, Unicode.Scalar) -> Bool, in: _NSRange?) -> [_NSRange]
  2. funcrange(byTrimmingCharactersIn: Foundation.CharacterSet, in: _NSRange?) -> _NSRange
  3. varvar range: Range<String.Index> { get }
extension __C.NSAttributedString {
    var range: Swift.Range<Swift.String.Index> {
        get
    }

    func componentRanges(separatedBy: (Swift.Int, Swift.Unicode.Scalar) -> Swift.Bool, in: __C._NSRange?) -> [__C._NSRange]
    func range(byTrimmingCharactersIn: Foundation.CharacterSet, in: __C._NSRange?) -> __C._NSRange
}