contains
TypeScriptcontains(location: SDKHandle): booleanSwift declarationfunc contains(_ location: any NSTextLocation) -> Boolclass · iOS 15.0+ · SDK 27.1
class NSTextRangecontains(location: SDKHandle): booleanSwift declarationfunc contains(_ location: any NSTextLocation) -> Boolcontains23749(textRange: NSTextRange): booleanSwift declarationfunc contains(_ textRange: NSTextRange) -> Boolstatic initLocation(location: SDKHandle): NSTextRangeSwift declarationconvenience init(location: any NSTextLocation)static initLocationEnd(location: SDKHandle, endLocation?: (SDKHandle) | null): (NSTextRange) | nullSwift declarationinit?(location: any NSTextLocation, end endLocation: (any NSTextLocation)?)intersects(textRange: NSTextRange): booleanSwift declarationfunc intersects(_ textRange: NSTextRange) -> BoolisEqual(textRange: NSTextRange): booleanSwift declarationfunc isEqual(to textRange: NSTextRange) -> Boolunion(textRange: NSTextRange): NSTextRangeSwift declarationfunc union(_ textRange: NSTextRange) -> Selfintersection(textRange: NSTextRange): (NSTextRange) | nullSwift declarationfunc intersection(_ textRange: NSTextRange) -> Self?get isEmpty(): booleanSwift declarationvar isEmpty: Bool { get }get endLocation(): SDKHandleSwift declarationvar endLocation: any NSTextLocation { get }get location(): SDKHandleSwift declarationvar location: any NSTextLocation { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSTextRange.init()
inherited init: cannot prove legal (class declares 3 custom initializers)