Fixed incomplete implementation warning.

sharedProfileImageRequestOperationQueue is declared in interface extension, but only implemented on Mac OS X. This causes an incomplete implementation warning. Added same #if around interface as surrounds impelmentation.

This only affects sample code.
This commit is contained in:
Steven Fisher 2012-07-23 17:19:17 -07:00
parent cc35e61ff6
commit 5c4c94081b

View file

@ -26,7 +26,9 @@
NSString * const kUserProfileImageDidLoadNotification = @"com.alamofire.user.profile-image.loaded";
@interface User ()
#if __MAC_OS_X_VERSION_MIN_REQUIRED
+ (NSOperationQueue *)sharedProfileImageRequestOperationQueue;
#endif
@end
@implementation User {