美文网首页
iOS注释参考

iOS注释参考

作者: 文子飞_ | 来源:发表于2021-02-06 10:53 被阅读0次
iOS注释参考
/**
 * Creates a SDWebImageDownloader async downloader instance with a given URL
 *
 * The delegate will be informed when the image is finish downloaded or an error has happen.
 *
 * @see SDWebImageDownloaderDelegate
 *
 * @param url            The URL to the image to download
 * @param options        The options to be used for this download
 * @param context        A context contains different options to perform specify changes or processes, see `SDWebImageContextOption`. This hold the extra objects which `options` enum can not hold.
 * @param progressBlock  A block called repeatedly while the image is downloading
 * @note the progress block is executed on a background queue
 * @param completedBlock A block called once the download is completed.
 *
 * @return A token (SDWebImageDownloadToken) that can be used to cancel this operation
 */
image.png

相关文章

网友评论

      本文标题:iOS注释参考

      本文链接:https://www.haomeiwen.com/subject/gjontltx.html