KingfisherWrapper
-
Sets an image to the button for a specified state with a source.
Note
Internally, this method will use
KingfisherManager
to get the requested source, from either cache or network. Since this method will perform UI changes, you must call it from the main thread. BothprogressBlock
andcompletionHandler
will be also executed in the main thread.
-
Cancels the image download task of the button if it is running. Nothing will happen if the downloading has already finished.
-
Sets a background image to the button for a specified state with a source.
Note
Internally, this method will use
KingfisherManager
to get the requested source Since this method will perform UI changes, you must call it from the main thread. BothprogressBlock
andcompletionHandler
will be also executed in the main thread.
-
Cancels the background image download task of the button if it is running. Nothing will happen if the downloading has already finished.
-
Sets an image to the image view with a source.
Note
Note:
Internally, this method will use
KingfisherManager
to get the requested source Since this method will perform UI changes, you must call it from the main thread. BothprogressBlock
andcompletionHandler
will be also executed in the main thread.
-
Cancel the image download task bounded to the image view if it is running. Nothing will happen if the downloading has already finished.