The iOS framework that grows only as fast as its documentation
<NIOperationDelegate> Protocol Reference

Overview

The delegate protocol for an NIOperation.

Inheritance diagram for <NIOperationDelegate>:
NIChameleonObserver NINetworkImageView

Tasks

[NIOperationDelegate] State Changes
(void) - nimbusOperationDidStart:
 
(void) - nimbusOperationWillFinish:
 
(void) - nimbusOperationDidFinish:
 
(void) - nimbusOperationDidFail:withError:
 

Method Documentation

nimbusOperationDidStart:

The operation has started executing.

- (void)nimbusOperationDidStart:(NIOperation *)operation;
Discussion

nimbusOperationWillFinish:

The operation is about to complete successfully.

- (void)nimbusOperationWillFinish:(NIOperation *)operation;
Discussion

This will not be called if the operation fails.

This will be called from within the operation's runloop and must be thread safe.

nimbusOperationDidFinish:

The operation has completed successfully.

- (void)nimbusOperationDidFinish:(NIOperation *)operation;
Discussion

This will not be called if the operation fails.

nimbusOperationDidFail:withError:

The operation failed in some way and has completed.

- (void)nimbusOperationDidFail:(NIOperation *)operation withError:(NSError *)error;
Discussion

operationDidFinish: will not be called.