Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/insfgg99x/fgwebimage
An extension build in Swift for UIImageView and A light-weight framework of async loading image like SDWebImage.
https://github.com/insfgg99x/fgwebimage
Last synced: about 2 months ago
JSON representation
An extension build in Swift for UIImageView and A light-weight framework of async loading image like SDWebImage.
- Host: GitHub
- URL: https://github.com/insfgg99x/fgwebimage
- Owner: Insfgg99x
- License: mit
- Created: 2016-09-11T19:53:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-21T08:14:23.000Z (almost 7 years ago)
- Last Synced: 2024-10-19T03:04:58.658Z (2 months ago)
- Language: Swift
- Size: 33.2 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [FGWebImage](https://github.com/Insfgg99x/FGWebImage)
[![Version](https://img.shields.io/cocoapods/v/FGWebImage.svg?style=flat)](http://cocoadocs.org/docsets/FGWebImage)
[![License](https://img.shields.io/cocoapods/l/FGWebImage.svg?style=flat)](http://cocoadocs.org/docsets/FGWebImage)
[![Platform](https://img.shields.io/cocoapods/p/FGWebImage.svg?style=flat)](http://cocoadocs.org/docsets/FGWebImage)
![Language](https://img.shields.io/badge/Language-%20Swift%204.0%20-blue.svg)## Introduction
A light-weight framework of async loading image like SDWebImage in Swift.- [x] asyn image loading
- [x] light-weight
- [x] build in Swift## Required
- Swift 4.x
- Xcode 9.x
- iOS 8.x## Installtion
>Cocoapods
```
pod 'FGWebImage' , '~>2.0'```
and import
```swift
import FGWebImage
```>Manual
Drag the `FGWebImage` folder into your peroject.
## Usage
```swift
let url = "http://upload-images.jianshu.io/upload_images/937405-e91a649f7a7df2a0.jpeg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240"
imv.fg_setImageWithUrl(url, placeHolderImage)
```## @CGPoitZero