Contents

componentsWithString:

Returns a URL components object by parsing a URL in string form.

Declaration

+ (instancetype) componentsWithString:(NSString *) URLString;

Parameters

  • URLString:

    The URL string to parse.

Return Value

Returns the new URL components object, or nil if the URL string could not be parsed.

See Also

Creating URL components