mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-29 00:50:40 +00:00
Merge pull request #360 from lxcid/bug/block-copy
Block should always be declared using the copy attribute.
This commit is contained in:
commit
afb0aa41b7
@ -21,8 +21,8 @@
|
|||||||
*/
|
*/
|
||||||
@interface ASBasicImageDownloaderMetadata : NSObject
|
@interface ASBasicImageDownloaderMetadata : NSObject
|
||||||
@property (nonatomic, strong) dispatch_queue_t callbackQueue;
|
@property (nonatomic, strong) dispatch_queue_t callbackQueue;
|
||||||
@property (nonatomic, strong) void (^downloadProgressBlock)(CGFloat);
|
@property (nonatomic, copy) void (^downloadProgressBlock)(CGFloat);
|
||||||
@property (nonatomic, strong) void (^completionBlock)(CGImageRef, NSError *);
|
@property (nonatomic, copy) void (^completionBlock)(CGImageRef, NSError *);
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation ASBasicImageDownloaderMetadata
|
@implementation ASBasicImageDownloaderMetadata
|
||||||
|
Loading…
x
Reference in New Issue
Block a user