杨锴
2024-09-14 6912d657ec6bb1db9683d5b5be8f0777f001ba11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * This file is part of the SDWebImage package.
 * (c) Olivier Poitrey <rs@dailymotion.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
#import <Foundation/Foundation.h>
#import "SDWebImageCompat.h"
 
/// A weak proxy which forward all the message to the target
@interface SDWeakProxy : NSProxy
 
@property (nonatomic, weak, readonly, nullable) id target;
 
- (nonnull instancetype)initWithTarget:(nonnull id)target;
+ (nonnull instancetype)proxyWithTarget:(nonnull id)target;
 
@end