Contents

getObjectValue(_:for:range:)

Returns by reference a date representation of a specified string and its date range, as well as a Boolean value that indicates whether the system can parse the string.

Declaration

func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?) throws

Parameters

  • obj:

    If the receiver is able to parse string, upon return contains a date representation of string.

  • string:

    The string to parse.

  • rangep:

    If the receiver is able to parse string, upon return contains the range of string used to create the date.

Discussion

See Also

Related Documentation

Converting Objects