BU_SDWeakProxy.h 519 B

12345678910111213141516171819
  1. /*
  2. * This file is part of the SDWebImage package.
  3. * (c) Olivier Poitrey <rs@dailymotion.com>
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. */
  8. #import <Foundation/Foundation.h>
  9. #import "BU_SDWebImageCompat.h"
  10. @interface BU_SDWeakProxy : NSProxy
  11. @property (nonatomic, weak, readonly, nullable) id target;
  12. - (nonnull instancetype)initWithTarget:(nonnull id)target;
  13. + (nonnull instancetype)proxyWithTarget:(nonnull id)target;
  14. @end