mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add image loading delegate method / cache instead of respondsToSelector
This commit is contained in:
@@ -95,6 +95,15 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@optional
|
||||
|
||||
/**
|
||||
* Notification that the image node started to load
|
||||
*
|
||||
* @param imageNode The sender.
|
||||
*
|
||||
* @discussion Called on a background queue.
|
||||
*/
|
||||
- (void)imageNodeDidStartLoading:(ASNetworkImageNode *)imageNode;
|
||||
|
||||
/**
|
||||
* Notification that the image node failed to download the image.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user