Latest 0.1.0
Homepage https://github.com/conmulligan/Vinci
License MIT
Platforms ios 10.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Vinci is an asynchronous image downloader and cache for iOS.

Note: Vinci is early in development and, although stable, is missing some important features.

Roadmap

Done

  • Asychronous image downloading.
  • Download queue.
  • Transformation closures.
  • Combined memory and disk cache.

Outstanding

  • Automatic cache expiration.
  • Support for caching images post-transformation.

Usage

You can use the shared Vinci singleton and the request factory method to fetch an image like so:

Vinci.shared.request(with: url) { image, isCached in
    imageView.image = image
}

A Vinci instance can also initialized with custom URLSession and VinciCache instances:

let session = URLSession.shared
let cache = VinciCache()
let vinci = Vinci(session: session, cache: cache)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

Vinci is available through CocoaPods. To install it, add the following line to your Podfile:

pod 'Vinci'

Author

conmulligan, [email protected]

License

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

Latest podspec

{
    "name": "Vinci",
    "version": "0.1.0",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "Asynchronous image loading and caching for iOS.",
    "homepage": "https://github.com/conmulligan/Vinci",
    "authors": {
        "conmulligan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/conmulligan/Vinci.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/conmulligan",
    "swift_version": "4.1",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Vinci/Classes/**/*",
    "frameworks": "UIKit",
    "description": "An synchronous image loader and disk cache for iOS."
}

Pin It on Pinterest

Share This