VLCNetworkImageView.h 783 B

123456789101112131415161718192021222324
  1. /*****************************************************************************
  2. * VLC for iOS
  3. *****************************************************************************
  4. * Copyright (c) 2015 VideoLAN. All rights reserved.
  5. * $Id$
  6. *
  7. * Authors: Tobias Conradi <videolan # tobias-conradi.de>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import <UIKit/UIKit.h>
  12. @interface VLCNetworkImageView : UIImageView
  13. + (NSCache *)sharedImageCache;
  14. + (void)setSharedImageCache:(NSCache *)sharedCache;
  15. @property (nonatomic) NSURLSessionDataTask *downloadTask;
  16. - (void)setImageWithURL:(NSURL *)url;
  17. - (void)cancelLoading;
  18. @property (nonatomic, readwrite) BOOL animateImageSetting;
  19. @end