Whitespace formatting by Xcode re-indentation
This commit is contained in:
parent
d9da9e5c1a
commit
83da1edd13
17 changed files with 522 additions and 522 deletions
|
|
@ -80,15 +80,15 @@ typedef enum {
|
|||
AFNetworkReachabilityStatusReachableViaWiFi = 2,
|
||||
} AFNetworkReachabilityStatus;
|
||||
#else
|
||||
#warning SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available.
|
||||
#warning SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available.
|
||||
#endif
|
||||
|
||||
#ifndef __UTTYPE__
|
||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
||||
#warning MobileCoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.
|
||||
#else
|
||||
#warning CoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.
|
||||
#endif
|
||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
||||
#warning MobileCoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.
|
||||
#else
|
||||
#warning CoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
|
|
|
|||
|
|
@ -28,15 +28,15 @@
|
|||
#import <Availability.h>
|
||||
|
||||
#ifdef _SYSTEMCONFIGURATION_H
|
||||
#import <netinet/in.h>
|
||||
#import <netinet6/in6.h>
|
||||
#import <arpa/inet.h>
|
||||
#import <ifaddrs.h>
|
||||
#import <netdb.h>
|
||||
#import <netinet/in.h>
|
||||
#import <netinet6/in6.h>
|
||||
#import <arpa/inet.h>
|
||||
#import <ifaddrs.h>
|
||||
#import <netdb.h>
|
||||
#endif
|
||||
|
||||
#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#endif
|
||||
|
||||
#ifdef _SYSTEMCONFIGURATION_H
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@
|
|||
|
||||
// Workaround for change in imp_implementationWithBlock() with Xcode 4.5
|
||||
#if defined(__IPHONE_6_0) || defined(__MAC_10_8)
|
||||
#define AF_CAST_TO_BLOCK id
|
||||
#define AF_CAST_TO_BLOCK id
|
||||
#else
|
||||
#define AF_CAST_TO_BLOCK __bridge void *
|
||||
#define AF_CAST_TO_BLOCK __bridge void *
|
||||
#endif
|
||||
|
||||
// We do a little bit of duck typing in this file which can trigger this warning. Turn it off for this source file.
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@
|
|||
#import <Availability.h>
|
||||
|
||||
#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#import "AFURLConnectionOperation.h"
|
||||
|
||||
#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#endif
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
@param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
|
||||
|
||||
@discussion By default, URL requests have a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
|
||||
*/
|
||||
*/
|
||||
- (void)setImageWithURL:(NSURL *)url
|
||||
placeholderImage:(UIImage *)placeholderImage;
|
||||
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
@param failure A block object to be executed when the image request operation finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
|
||||
|
||||
@discussion If a success block is specified, it is the responsibility of the block to set the image of the image view before returning. If no success block is specified, the default behavior of setting the image with `self.image = image` is executed.
|
||||
*/
|
||||
*/
|
||||
- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest
|
||||
placeholderImage:(UIImage *)placeholderImage
|
||||
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue