Skip to content

Files

Latest commit

cb40176 · Jan 4, 2016

History

History
43 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.17 KB

Silo

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!

alt tag

Version

2.0

Installation

Download from [here] dld

  • import the Swift Files

Just drag and drop both Silo and SiloExt files.

Usage

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)