Contents

dateCheckingResult(range:date:)

Creates and returns a text checking result with the specified date.

Declaration

class func dateCheckingResult(range: NSRange, date: Date) -> NSTextCheckingResult

Parameters

  • range:

    The range of the detected result.

  • date:

    The detected date.

Return Value

Returns an NSTextCheckingResult with the specified range and a resultType of date.

See Also

Text Checking Results for Dates and Times