init(scheme:host:path:)
Returns a pattern object for the specified scheme, host, and path strings.
Declaration
init(scheme: String, host: String, path: String) throwsParameters
- scheme:
On output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Return Value
A pattern object, or nil if any of the strings are invalid and an error will be set.