Instance Method

init

Initializes a URL components object with nil for every component.

Declaration

- (instancetype)init;

Return Value

Returns the initialized URL components object, or nil if an error occurs.

See Also

Creating URL Components

+ componentsWithString:

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

+ componentsWithURL:resolvingAgainstBaseURL:

Returns a URL components object by parsing the URL from an NSURL object.

- initWithString:

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

- initWithURL:resolvingAgainstBaseURL:

Initializes a URL components object by parsing the URL from an NSURL object.