Silo is a extremely easy to use and very basic image loader for iOS built in Swift.
if you use Silo in your project please let me know!
Download from [here] dld
- import the Swift Files
Just drag and drop both Silo and SiloExt files.
If you are using AutoLayout please call after the view appears or in ViewDidAppear method
UIImageView from storyboard
imageView.toSiloView(String) imageView.toSiloView(String, loaderColor: UIColor) //Set loader color after initialization imageView.setLoaderColorForSiloView(UIColor.redColor())
Initialize a new UIImageView
UIImageView(withUrl: String, frame: CGRect) UIImageView(withUrl: String, loaderColor: UIColor, frame: CGRect)