Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josejuanqm/silo
Very easy to use image loader for swift
https://github.com/josejuanqm/silo
Last synced: about 1 month ago
JSON representation
Very easy to use image loader for swift
- Host: GitHub
- URL: https://github.com/josejuanqm/silo
- Owner: josejuanqm
- License: mit
- Created: 2016-01-02T03:50:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-05T18:07:50.000Z (almost 9 years ago)
- Last Synced: 2024-08-15T17:57:53.164Z (3 months ago)
- Language: Swift
- Size: 173 KB
- Stars: 19
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://i.imgur.com/g7BimCx.gif)
### Version
2.0### Installation
Download from [here] [dld]
- import the Swift FilesJust 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
```swift
imageView.toSiloView(String)
imageView.toSiloView(String, loaderColor: UIColor)//Set loader color after initialization
imageView.setLoaderColorForSiloView(UIColor.redColor())
```#### Initialize a new UIImageView
```swift
UIImageView(withUrl: String, frame: CGRect)
UIImageView(withUrl: String, loaderColor: UIColor, frame: CGRect)
```[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)
[dld]: