Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSTextCheckingResultMBS class.
NSTextCheckingResultMBS.addressCheckingResult(Range as NSRangeMBS, components as Dictionary) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
components: A dictionary containing the address components. The dictionary keys are described in Keys for Address Components.
NSTextCheckingResultMBS.correctionCheckingResult(Range as NSRangeMBS, replacementString as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
replacementString: The suggested replacement string.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeSpelling.
See also:
NSTextCheckingResultMBS.correctionCheckingResult(Range as NSRangeMBS, replacementString as String, alternativeStrings() as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
replacementString: The suggested replacement string.
Returns an NSTextCheckingResultMBS with the specified range and a resultType of NSTextCheckingTypeSpelling.
See also:
NSTextCheckingResultMBS.dashCheckingResult(Range as NSRangeMBS, replacementString as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
replacementString: The replacement string.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeDash.
NSTextCheckingResultMBS.dateCheckingResult(Range as NSRangeMBS, date as Date) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
- dateCheckingResult(Range as NSRangeMBS, date as Date, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
- dateCheckingResult(Range as NSRangeMBS, date as DateTime) as NSTextCheckingResultMBS
- dateCheckingResult(Range as NSRangeMBS, date as DateTime, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
NSTextCheckingResultMBS.dateCheckingResult(Range as NSRangeMBS, date as Date, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
range: The range of the detected result.
date: The detected date.
timeZone: The detected time zone.
duration: The detected duration.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeDate.
See also:
NSTextCheckingResultMBS.dateCheckingResult(Range as NSRangeMBS, date as DateTime) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
- dateCheckingResult(Range as NSRangeMBS, date as Date) as NSTextCheckingResultMBS
- dateCheckingResult(Range as NSRangeMBS, date as Date, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
- dateCheckingResult(Range as NSRangeMBS, date as DateTime, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
NSTextCheckingResultMBS.dateCheckingResult(Range as NSRangeMBS, date as DateTime, timeZone as NSTimeZoneMBS, duration as double) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
date: The detected date.
timeZone: The detected time zone.
duration: The detected duration.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeDate.
See also:
NSTextCheckingResultMBS.grammarCheckingResult(Range as NSRangeMBS, details() as Dictionary) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
details: An array of details regarding the grammatical errors. This array of strings is suitable for presenting to the user.
Returns an NSTextCheckingResultMBS with the specified range and a resultType of NSTextCheckingTypeGrammar.
NSTextCheckingResultMBS.linkCheckingResult(Range as NSRangeMBS, URL as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.NSTextCheckingAirlineKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the airline of a transit result.
NSTextCheckingResultMBS.NSTextCheckingCityKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the city component of the address.
NSTextCheckingResultMBS.NSTextCheckingCountryKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the country component of the address.
NSTextCheckingResultMBS.NSTextCheckingFlightKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the flight component of a transit result.
NSTextCheckingResultMBS.NSTextCheckingJobTitleKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the job component of the address.
NSTextCheckingResultMBS.NSTextCheckingNameKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the name component of the address.
NSTextCheckingResultMBS.NSTextCheckingOrganizationKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the organization component of the address.
NSTextCheckingResultMBS.NSTextCheckingPhoneKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the phone number component of the address.
NSTextCheckingResultMBS.NSTextCheckingStateKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the state or province component of the address.
NSTextCheckingResultMBS.NSTextCheckingStreetKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the street address component of the address.
NSTextCheckingResultMBS.NSTextCheckingZIPKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A key that corresponds to the zip code or postal code component of the address.
NSTextCheckingResultMBS.orthographyCheckingResult(Range as NSRangeMBS, orthography as NSOrthographyMBS) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
orthography: An orthography object that describes the script.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeOrthography.
NSTextCheckingResultMBS.phoneNumberCheckingResult(Range as NSRangeMBS, phoneNumber as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.quoteCheckingResult(Range as NSRangeMBS, replacementString as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
replacementString: The replacement string.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeQuote.
NSTextCheckingResultMBS.replacementCheckingResult(Range as NSRangeMBS, replacementString as String) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSTextCheckingResultMBS.spellCheckingResult(Range as NSRangeMBS) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range: The range of the detected result.
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeSpelling.
NSTextCheckingResultMBS.transitInformationCheckingResult(Range as NSRangeMBS, components as Dictionary) as NSTextCheckingResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Regular Expressions | MBS MacCocoa Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
components: A dictionary containing the transit components. The currently supported keys are NSTextCheckingAirlineKey and NSTextCheckingFlightKey.
The items on this page are in the following plugins: MBS MacCocoa Plugin.