Contents

subresource(for:)

Returns a subresource for the given URL.

Declaration

func subresource(for URL: URL!) -> WebResource!

Parameters

  • URL:

    The subresource’s URL.

Return Value

The subresource for URL or nil if the data source hasn’t finished downloading the subresource.

See Also

Accessing subresources