Adding documentation to -setReachabilityStatusChangeBlock:

This commit is contained in:
Mattt Thompson 2012-01-10 13:35:41 -08:00
parent c713179420
commit 52559ccec3

View file

@ -162,6 +162,9 @@ extern NSString * AFQueryStringFromParametersWithEncoding(NSDictionary *paramete
///-----------------------------------
/**
Sets a callback to be executed when the network availability of the `baseURL` host changes.
@param block A block object to be executed when the network availability of the `baseURL` host changes.. This block has no return value and takes a single argument, which is `YES` if the host is available, otherwise `NO`.
*/
- (void)setReachabilityStatusChangeBlock:(void (^)(BOOL isNetworkReachable))block;