One Logo Pool Ball
Foundation · IOS API REFERENCE

NSTextCheckingResult

class · iOS 4.0+ · SDK 27.1

class NSTextCheckingResult

Members (34)

static

addressCheckingResult

TypeScript
static addressCheckingResult(range: SDKHandle, components: NativeMap<NSTextCheckingKey, string>): NSTextCheckingResult
Swift declaration
class func addressCheckingResult(range: NSRange, components: [NSTextCheckingKey : String]) -> NSTextCheckingResult
static

correctionCheckingResult

TypeScript
static correctionCheckingResultRangeReplacementString(range: SDKHandle, replacementString: string): NSTextCheckingResult
Swift declaration
class func correctionCheckingResult(range: NSRange, replacementString: String) -> NSTextCheckingResult
static · iOS 7.0+

correctionCheckingResult

TypeScript
static correctionCheckingResultRangeReplacementStringAlternativeStrings(range: SDKHandle, replacementString: string, alternativeStrings: Array<string>): NSTextCheckingResult
Swift declaration
class func correctionCheckingResult(range: NSRange, replacementString: String, alternativeStrings: [String]) -> NSTextCheckingResult
static

dashCheckingResult

TypeScript
static dashCheckingResult(range: SDKHandle, replacementString: string): NSTextCheckingResult
Swift declaration
class func dashCheckingResult(range: NSRange, replacementString: String) -> NSTextCheckingResult
static

dateCheckingResult

TypeScript
static dateCheckingResultRangeDate(range: SDKHandle, date: globalThis.Date): NSTextCheckingResult
Swift declaration
class func dateCheckingResult(range: NSRange, date: Date) -> NSTextCheckingResult
static

dateCheckingResult

TypeScript
static dateCheckingResultRangeDateTimeZoneDuration(range: SDKHandle, date: globalThis.Date, timeZone: TimeZone, duration: number): NSTextCheckingResult
Swift declaration
class func dateCheckingResult(range: NSRange, date: Date, timeZone: TimeZone, duration: TimeInterval) -> NSTextCheckingResult
static

grammarCheckingResult

TypeScript
static grammarCheckingResult(range: SDKHandle, details: Array<Record<string, unknown>>): NSTextCheckingResult
Swift declaration
class func grammarCheckingResult(range: NSRange, details: [[String : Any]]) -> NSTextCheckingResult
static

linkCheckingResult

TypeScript
static linkCheckingResult(range: SDKHandle, url: string): NSTextCheckingResult
Swift declaration
class func linkCheckingResult(range: NSRange, url: URL) -> NSTextCheckingResult
static

orthographyCheckingResult

TypeScript
static orthographyCheckingResult(range: SDKHandle, orthography: NSOrthography): NSTextCheckingResult
Swift declaration
class func orthographyCheckingResult(range: NSRange, orthography: NSOrthography) -> NSTextCheckingResult
static · iOS 4.0+

phoneNumberCheckingResult

TypeScript
static phoneNumberCheckingResult(range: SDKHandle, phoneNumber: string): NSTextCheckingResult
Swift declaration
class func phoneNumberCheckingResult(range: NSRange, phoneNumber: String) -> NSTextCheckingResult
static

quoteCheckingResult

TypeScript
static quoteCheckingResult(range: SDKHandle, replacementString: string): NSTextCheckingResult
Swift declaration
class func quoteCheckingResult(range: NSRange, replacementString: String) -> NSTextCheckingResult
static · iOS 4.0+

regularExpressionCheckingResult

TypeScript
static regularExpressionCheckingResult(ranges: SDKHandle, count: number, regularExpression: NSRegularExpression): NSTextCheckingResult
Swift declaration
class func regularExpressionCheckingResult(ranges: NSRangePointer, count: Int, regularExpression: NSRegularExpression) -> NSTextCheckingResult
static

replacementCheckingResult

TypeScript
static replacementCheckingResult(range: SDKHandle, replacementString: string): NSTextCheckingResult
Swift declaration
class func replacementCheckingResult(range: NSRange, replacementString: String) -> NSTextCheckingResult
static

spellCheckingResult

TypeScript
static spellCheckingResult(range: SDKHandle): NSTextCheckingResult
Swift declaration
class func spellCheckingResult(range: NSRange) -> NSTextCheckingResult
static · iOS 4.0+

transitInformationCheckingResult

TypeScript
static transitInformationCheckingResult(range: SDKHandle, components: NativeMap<NSTextCheckingKey, string>): NSTextCheckingResult
Swift declaration
class func transitInformationCheckingResult(range: NSRange, components: [NSTextCheckingKey : String]) -> NSTextCheckingResult
init

init

TypeScript
static init(): NSTextCheckingResult
Swift declaration
init()
method · iOS 4.0+

range

TypeScript
rangeAt(idx: number): SDKHandle
Swift declaration
func range(at idx: Int) -> NSRange
method · iOS 11.0+

range

TypeScript
rangeWithName(name: string): SDKHandle
Swift declaration
func range(withName name: String) -> NSRange
method · iOS 5.0+

adjustingRanges

TypeScript
adjustingRanges(offset: number): NSTextCheckingResult
Swift declaration
func adjustingRanges(offset: Int) -> NSTextCheckingResult
get

url

TypeScript
get url(): (string) | null
Swift declaration
var url: URL? { get }
get

addressComponents

TypeScript
get addressComponents(): (NativeMap<NSTextCheckingKey, string>) | null
Swift declaration
var addressComponents: [NSTextCheckingKey : String]? { get }
get · iOS 7.0+

alternativeStrings

TypeScript
get alternativeStrings(): (Array<string>) | null
Swift declaration
var alternativeStrings: [String]? { get }
get · iOS 4.0+

components

TypeScript
get components(): (NativeMap<NSTextCheckingKey, string>) | null
Swift declaration
var components: [NSTextCheckingKey : String]? { get }
get

date

TypeScript
get date(): (globalThis.Date) | null
Swift declaration
var date: Date? { get }
get

duration

TypeScript
get duration(): number
Swift declaration
var duration: TimeInterval { get }
get

grammarDetails

TypeScript
get grammarDetails(): (Array<Record<string, unknown>>) | null
Swift declaration
var grammarDetails: [[String : Any]]? { get }
get · iOS 4.0+

numberOfRanges

TypeScript
get numberOfRanges(): number
Swift declaration
var numberOfRanges: Int { get }
get

orthography

TypeScript
get orthography(): (NSOrthography) | null
Swift declaration
@NSCopying var orthography: NSOrthography? { get }
get · iOS 4.0+

phoneNumber

TypeScript
get phoneNumber(): (string) | null
Swift declaration
var phoneNumber: String? { get }
get · iOS 4.0+

range

TypeScript
get range(): SDKHandle
Swift declaration
var range: NSRange { get }
get · iOS 4.0+

regularExpression

TypeScript
get regularExpression(): (NSRegularExpression) | null
Swift declaration
@NSCopying var regularExpression: NSRegularExpression? { get }
get

replacementString

TypeScript
get replacementString(): (string) | null
Swift declaration
var replacementString: String? { get }
get · iOS 4.0+

resultType

TypeScript
get resultType(): NSTextCheckingResult_CheckingType
Swift declaration
var resultType: NSTextCheckingResult.CheckingType { get }
get

timeZone

TypeScript
get timeZone(): (TimeZone) | null
Swift declaration
var timeZone: TimeZone? { get }

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →