Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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