From 52559ccec3bb0acbe343106f2232ad6f2ae09957 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Tue, 10 Jan 2012 13:35:41 -0800 Subject: [PATCH] Adding documentation to -setReachabilityStatusChangeBlock: --- AFNetworking/AFHTTPClient.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AFNetworking/AFHTTPClient.h b/AFNetworking/AFHTTPClient.h index e5a1650..5cc6913 100644 --- a/AFNetworking/AFHTTPClient.h +++ b/AFNetworking/AFHTTPClient.h @@ -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;