Skip to content

Commit

Permalink
Fixed incomplete implementation warning.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tewha committed Jul 24, 2012
1 parent cc35e61 commit 5c4c940
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Example/Classes/Models/User.m
Expand Up @@ -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 {
Expand Down

0 comments on commit 5c4c940

Please sign in to comment.