VLCNetworkImageView.h 724 B

1234567891011121314151617181920212223
  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. @end