Instance Method

finishLoading

Causes the receiver to treat the processing of the request as complete.

Declaration

- (void)finishLoading;

Discussion

If a dataRequest is present and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the request, invoke finishLoading after providing as much of the requested data as the resource contains.

See Also

Reporting the Result of the Request

response

The URL response for the loading request.

- finishLoadingWithResponse:data:redirect:

Causes the receiver to finish loading a resource for which a resource loader’s delegate took responsibility .

Deprecated
cancelled

A Boolean value that indicates whether the request has been cancelled.

- finishLoadingWithError:

Causes the receiver to handle the failure to load a resource for which a resource loader’s delegate took responsibility.

finished

A Boolean value that indicates whether loading of the resource has finished.