123456789101112131415161718192021222324252627 |
- /*****************************************************************************
- * VLC for iOS
- *****************************************************************************
- * Copyright (c) 2015 VideoLAN. All rights reserved.
- * $Id$
- *
- * Authors: Tobias Conradi <videolan # tobias-conradi.de>
- *
- * Refer to the COPYING file of the official project for license.
- *****************************************************************************/
- #import <UIKit/UIKit.h>
- @interface VLCNetworkImageView : UIImageView
- + (NSCache *)sharedImageCache;
- + (void)setSharedImageCache:(NSCache *)sharedCache;
- @property (nonatomic) NSURLSessionDataTask *downloadTask;
- - (void)setImageWithURL:(NSURL *)url;
- - (void)cancelLoading;
- @property (nonatomic, readwrite) BOOL animateImageSetting;
- // if set the image view replaces the constraint on image uodates with a
- // constraint that has the same aspect ratio as the image
- @property (nonatomic) IBOutlet NSLayoutConstraint *aspectRatioConstraint;
- @end
|