Latest | 1.0.0 |
---|---|
Homepage | https://github.com/Pash237/FastImageLoader |
License | MIT |
Platforms | ios 8.0 |
Authors |
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
Latest podspec
{ "name": "FastImageLoader", "version": "1.0.0", "summary": "Swift library to speed up UIImage loading", "description": "Swift library to speed up subsequent UIImage loading in the cost of disk space.nIt caches image data on disk after first load in raw format, to be able to read it back very quickly.nUser may expect 10x to 50x increase compared to UIImage(named:) loading.", "homepage": "https://github.com/Pash237/FastImageLoader", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Pavel Alexeev": "[email protected]" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/Pash237/FastImageLoader.git", "tag": "1.0.0" }, "source_files": "Source/*.swift" }
Thu, 05 Jul 2018 11:40:24 +0000