Latest 2.0
Homepage https://github.com/Insfgg99x/FGWebImage
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, UIKit
Authors

FGWebImage

Version
License
Platform
Language

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

 import FGWebImage

Manual

Drag the FGWebImage folder into your peroject.

Usage

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

Latest podspec

{
    "name": "FGWebImage",
    "version": "2.0",
    "summary": "FGWebImage is a light-weight framework for async loading image like SDWebImage.",
    "homepage": "https://github.com/Insfgg99x/FGWebImage",
    "license": "MIT",
    "authors": {
        "CGPointZero": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Insfgg99x/FGWebImage.git",
        "tag": "2.0"
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "FGWebImage/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This