A lightweight, pure-Swift library for downloading and caching images from the web.
Kingfisher is a powerful, pure-Swift library for downloading and caching images from the web, providing elegant async APIs for iOS, macOS, tvOS, watchOS, and visionOS applications. The library handles the complete image lifecycle with multi-layer caching, built-in processing, and extensive UI component integrations.
Core API Entry Points:
Sources/General/KingfisherManager.swift
- Central coordinatorSources/General/KF.swift
- Builder pattern API (KF.url()...
)Sources/Extensions/ImageView+Kingfisher.swift
- UIKit/AppKit extensionsSources/SwiftUI/KFImage.swift
- SwiftUI componentsEssential Build Commands:
# Install dependencies and run all tests
bundle install && bundle exec fastlane tests
# Build for specific platform
swift build
# Full release workflow
bundle exec fastlane release version:X.X.X
For LLMs and Developers:
Configuration Files:
Package.swift
- Swift Package Manager manifestKingfisher.podspec
- CocoaPods specificationfastlane/Fastfile
- Build automationSources/Documentation.docc/
- DocC documentationKey Patterns:
.kf
property) in Sources/General/Kingfisher.swift
Sources/General/KF.swift
Sources/General/KingfisherOptionsInfo.swift
Sources/Image/ImageProcessor.swift