Kingfisher.podspec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Pod::Spec.new do |s|
  2. s.name = "Kingfisher"
  3. s.version = "5.5.0"
  4. s.summary = "A lightweight and pure Swift implemented library for downloading and cacheing image from the web."
  5. s.description = <<-DESC
  6. 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.
  7. * Everything in Kingfisher goes asynchronously, not only downloading, but also caching. That means you can never worry about blocking your UI thread.
  8. * 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.
  9. * 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.
  10. * 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.
  11. * Cancellable processing task. You can cancel the downloading or retriving image process if it is not needed anymore.
  12. * Independent components. You can use the downloader or caching system separately. Or even create your own cache based on Kingfisher's code.
  13. * Options to decompress the image in background before render it, which could improve the UI performance.
  14. * A category over `UIImageView` for setting image from an url directly.
  15. DESC
  16. s.homepage = "https://github.com/onevcat/Kingfisher"
  17. s.screenshots = "https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/logo.png"
  18. s.license = { :type => "MIT", :file => "LICENSE" }
  19. s.authors = { "onevcat" => "onevcat@gmail.com" }
  20. s.social_media_url = "http://twitter.com/onevcat"
  21. s.swift_version = "4.2"
  22. s.swift_versions = ['4.0', '4.2', '5.0']
  23. s.ios.deployment_target = "10.0"
  24. s.tvos.deployment_target = "10.0"
  25. s.osx.deployment_target = "10.12"
  26. s.watchos.deployment_target = "3.0"
  27. s.source = { :git => "https://github.com/onevcat/Kingfisher.git", :tag => s.version }
  28. s.source_files = ["Sources/**/*.swift", "Sources/Kingfisher.h"]
  29. s.public_header_files = ["Sources/Kingfisher.h"]
  30. s.osx.exclude_files = [
  31. "Sources/Views/AnimatedImageView.swift",
  32. "Sources/Extensions/UIButton+Kingfisher.swift",
  33. "Sources/Extensions/WKInterfaceImage+Kingfisher.swift"
  34. ]
  35. s.watchos.exclude_files = [
  36. "Sources/Views/AnimatedImageView.swift",
  37. "Sources/Extensions/UIButton+Kingfisher.swift",
  38. "Sources/Extensions/ImageView+Kingfisher.swift",
  39. "Sources/Extensions/NSButton+Kingfisher.swift",
  40. "Sources/Views/Indicator.swift",
  41. "Sources/Image/Filter.swift",
  42. "Sources/Image/Placeholder.swift"
  43. ]
  44. s.ios.exclude_files = [
  45. "Sources/Extensions/NSButton+Kingfisher.swift",
  46. "Sources/Extensions/WKInterfaceImage+Kingfisher.swift"
  47. ]
  48. s.tvos.exclude_files = [
  49. "Sources/Extensions/NSButton+Kingfisher.swift",
  50. "Sources/Extensions/WKInterfaceImage+Kingfisher.swift"
  51. ]
  52. s.requires_arc = true
  53. s.frameworks = "CFNetwork", "Accelerate"
  54. end