RPImageLoader
Disclaimer:
- This program is still under active development and in its early stage, consider that breaking changes and rewrites could occur before using it in a stable version.
RPImageLoader is a wrapper for asynchronous image-loading libraries for iOS.
Features:
The Basics
RPImageLoader helps you use any of the provided implementation of asynchronous image-loading and quickly change the chosen implementation by updating the podfile used in your project, thus this projectis highly dependant on CocoaPods.
// Simple usage whatever the provided implementation you choose
let imageView = UIImageView()
let url = URL(string: "http://www.example.com")!
ImageLoader().loadImage(url: url, imageView: imageView)
// Or using a placeholder image
let imageView = UIImageView()
let url = URL(string: "http://www.example.com")!
let placeholder = UIImage(named: "imageName")!
ImageLoader().loadImage(url: url, placeholder: placeholder, imageView: imageView)
In order to switch between the provided libraries you just need to update the podfile:
for example from:
pod 'RPImageLoader/KingFisher', '~> 0.9'
to:
pod 'RPImageLoader/SDWebImage', '~> 0.9'
To Do
- Support more image-loading APIs methods, with more options, cache policies…
Installation
Cocoapods
RPImageLoader can be added to your project using CocoaPods by adding the following lines to your Podfile:
source 'https://github.com/RedP4nda/Specs'
pod 'RPImageLoader/KingFisher', '~> 0.9'
Contributors
Partner

Contributing
Contributions are very welcome 👍😃.
Before submitting any pull request, please ensure you have run the included tests (if any) and they have passed. If you are including new functionality, please write test cases for it as well.
View on GitHub
RPImageLoader Reference