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: 3 months 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-04-24T19:01:48.986Z (6 months ago)
- Language: Swift
- Size: 173 KB
- Stars: 18
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - Silo - Image loading framework with loaders. (Media / Image)
- awesome-ios-star - Silo - Image loading framework with loaders. (Media / Image)
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]: