FastImageLoader 1.0.0

FastImageLoader 1.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jul 2018
SPMSupports SPM

Maintained by Pavel Alexeev.



  • By
  • Pavel Alexeev

CocoaPods Compatible License Platform

FastImageLoader

Library to speed up subsequent UIImage loading (in the cost of disk space).
It saves decoded image after first loading and then loads it fast.
To improve performance images are stored in native pixel format and mmap() is used to avoid memory copy.

It is a simple library. If you need something more fundamental, please try FastImageCache library.

Features

  • 10x to 50x speed improvement, compared to UIImage(named:)
  • Simple API
  • Written in Swift

Requirements

  • Swift 3.0+
  • iOS 8.0+

Usage

Import the library in all files where you use it:

import FastImageLoader
imageView.image = FastImageLoader.shared.loadImage(named: "LovelyImage")

Installation

CocoaPods

If you're using CocoaPods, just add this line to your Podfile:

pod 'FastImageLoader'

License

FastImageLoader is available under the MIT license. See the LICENSE file for more info.

Author

Pavel Alexeev