Instance Method

finishLoadingWithError:

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

Declaration

- (void)finishLoadingWithError:(NSError *)error;

Parameters

error

An error object indicating the reason for the failure.

Discussion

When a resource loader’s delegate takes responsibility for loading a resource, it calls this method when a failure occurred when loading the resource. This method marks the loading request as finished and notifies the resource loader object that the resource could not be loaded.

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
- finishLoading

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

cancelled

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

finished

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