Skip to content

Swift extension for UIImageView. Help loading image asynchronously and store local file cache.

Notifications You must be signed in to change notification settings

dphans/DPImageCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPImageCache

Swift extension for UIImageView. Help loading image asynchronously and store local file cache.

Features

  • Load image asynchronously.
  • Cache local file-based.

alt tag

How to use

  • Import DPImageCache.swift

  • Simple code like this:

    let imgAddress = "http://blabla.com/blabla.png"
    imgView.setImageCacheWithAddress(
            imgAddress,
            placeHolderImage: UIImage(named: "placeHolderImage")!)
  • Clean cache files:
        DPImageCache.cleanCace()

Contact

www: https://dphans.me email: [email protected]

About

Swift extension for UIImageView. Help loading image asynchronously and store local file cache.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages