Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSTextCheckingResultMBS class.
NSTextCheckingResultMBS.alternativeStrings as String()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.copy as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.grammarDetails as Dictionary()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This array of strings is suitable for presenting to the user.
NSTextCheckingResultMBS.rangeAtIndex(index as Integer) as NSRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
index: The index of the result.
Returns the range of the result.
A result must have at least one range, but may optionally have more (for example, to represent regular expression capture groups).
Passing rangeAtIndex the value 0 always returns the value of the the range property. Additional ranges, if any, will have indexes from 1 to numberOfRanges-1.
NSTextCheckingResultMBS.rangeWithName(name as string) as NSRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.resultByAdjustingRangesWithOffset(offset as Integer) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
offset: The amount the ranges are adjusted.
Returns a new NSTextCheckingResultMBS instance with the adjusted range or ranges.
The items on this page are in the following plugins: MBS MacCocoa Plugin.