Merge pull request #360 from lxcid/bug/block-copy

Block should always be declared using the copy attribute.
This commit is contained in:
Nadine Salter 2015-03-07 14:47:57 -08:00
commit afb0aa41b7

View File

@ -21,8 +21,8 @@
*/
@interface ASBasicImageDownloaderMetadata : NSObject
@property (nonatomic, strong) dispatch_queue_t callbackQueue;
@property (nonatomic, strong) void (^downloadProgressBlock)(CGFloat);
@property (nonatomic, strong) void (^completionBlock)(CGImageRef, NSError *);
@property (nonatomic, copy) void (^downloadProgressBlock)(CGFloat);
@property (nonatomic, copy) void (^completionBlock)(CGImageRef, NSError *);
@end
@implementation ASBasicImageDownloaderMetadata