|
JubeatPlus 3.9.11
|
An image view that loads itself from imageURL on demand.
More...
#include <StoreImageView.h>


Instance Methods | |
| (void) | - startDownloadImage |
Starts fetching imageURL , unless there is no URL or a fetch is already running. | |
| (void) | - unloadImage: |
| Cancels any fetch and puts a given image up instead. | |
| (void) | - downloaderFinished: |
| Takes the fetched bytes as the view's image. | |
| (void) | - downloaderError: |
| Clears the fetch. | |
| Instance Methods inherited from <DownloaderDelegate> | |
| (void) | - downloaderProceed: |
| Sent periodically as data arrives, and once more on completion. | |
Properties | |
| NSString * | imageURL |
| Where to fetch the artwork from. | |
| Downloader * | imageDownloader |
| The fetch in flight, or nil when none is. | |
An image view that loads itself from imageURL on demand.
| - (void) downloaderError: | (id) | downloader |
Clears the fetch.
The view keeps whatever image it already had.
| downloader | The failed fetch. Unused. |
Reimplemented from <DownloaderDelegate>.
| - (void) downloaderFinished: | (id) | downloader |
Takes the fetched bytes as the view's image.
On a Retina screen the image is rebuilt at the screen's scale, because -initWithData: always decodes at scale 1 and would otherwise draw at twice its intended size.
| downloader | The finished fetch. |
Reimplemented from <DownloaderDelegate>.
| - (void) startDownloadImage |
Starts fetching imageURL , unless there is no URL or a fetch is already running.
| - (void) unloadImage: | (nullable UIImage *) | image |
Cancels any fetch and puts a given image up instead.
Despite the name it sets an image rather than clearing one — pass nil to blank the view.
| image | The image to show. |
|
readwritenonatomicstrong |
The fetch in flight, or nil when none is.
|
readwritenonatomicstrong |
Where to fetch the artwork from.