HanekeSwift

Apache 2.0 License
Swift
iOS

1 image

Author

Description

Haneke is a lightweight generic cache for iOS written in Swift. For example, here's how you would initialize a data cache:

let cache = Cache<NSData>("my-files")

Haneke also includes a zero-config image cache with automatic resizing. It resizes images and caches the result on memory and disk. Everything is done in background, allowing for fast, responsive scrolling. Asking Haneke to load, resize, cache and display an appropriately sized image is as simple as:

imageView.hnk_setImageFromURL(url)

Really.

Tags