代码拉取完成,页面将自动刷新
Pod::Spec.new do |s|
s.name = "Kingfisher"
s.version = "7.6.2"
s.summary = "A lightweight and pure Swift implemented library for downloading and cacheing image from the web."
s.description = <<-DESC
Kingfisher is a powerful and pure Swift implemented library for downloading and cacheing image from the web. It provides you a chance to use pure Swift alternation in your next app.
* Everything in Kingfisher goes asynchronously, not only downloading, but also caching. That means you can never worry about blocking your UI thread.
* Multiple-layer cache. Downloaded image will be cached in both memory and disk. So there is no need to download it again and this could boost your app dramatically.
* Cache management. You can set the max duration or size the cache could take. And the cache will also be cleaned automatically to prevent taking too much resource.
* Modern framework. Kingfisher uses `NSURLSession` and the latest technology of GCD, which makes it a strong and swift framework. It also provides you easy APIs to use.
* Cancellable processing task. You can cancel the downloading or retriving image process if it is not needed anymore.
* Independent components. You can use the downloader or caching system separately. Or even create your own cache based on Kingfisher's code.
* Options to decompress the image in background before render it, which could improve the UI performance.
* A category over `UIImageView` for setting image from an url directly.
DESC
s.homepage = "https://github.com/onevcat/Kingfisher"
s.screenshots = "https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/logo.png"
s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "onevcat" => "onevcat@gmail.com" }
s.social_media_url = "https://github.com/onevcat"
s.swift_versions = ['5.0']
s.ios.deployment_target = "12.0"
s.tvos.deployment_target = "12.0"
s.osx.deployment_target = "10.14"
s.watchos.deployment_target = "5.0"
s.source = { :git => "https://github.com/onevcat/Kingfisher.git", :tag => s.version }
s.source_files = ["Sources/**/*.swift"]
s.requires_arc = true
s.frameworks = "CFNetwork", "Accelerate"
s.weak_frameworks = "SwiftUI", "Combine"
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。