Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
small change'
Browse files Browse the repository at this point in the history
  • Loading branch information
zbowling committed Oct 7, 2011
1 parent e1d89f8 commit dd84bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFNetworking/UIImageView+AFNetworking.m
Expand Up @@ -42,11 +42,11 @@ @implementation UIImageView (_AFNetworking)
@implementation UIImageView (AFNetworking)

- (AFHTTPRequestOperation *)imageRequestOperation {
return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, kUIImageViewImageRequestObjectKey);
return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, &kUIImageViewImageRequestObjectKey);
}

- (void)setImageRequestOperation:(AFImageRequestOperation *)imageRequestOperation {
objc_setAssociatedObject(self, kUIImageViewImageRequestObjectKey, imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
objc_setAssociatedObject(self, &kUIImageViewImageRequestObjectKey, imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

+ (NSOperationQueue *)sharedImageRequestOperationQueue {
Expand Down

0 comments on commit dd84bad

Please sign in to comment.