Swiftpack.co - devedup/NoThrillsImageLoading as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by devedup.
devedup/NoThrillsImageLoading 1.0.25
Simple Image loading in Swift 3, no thrills attached.
⭐️ 1
🕓 1 year ago
iOS
.package(url: "https://github.com/devedup/NoThrillsImageLoading.git", from: "1.0.25")

No Thrills Image Loading - Swift 5

Goals

I wanted an image loading library that did cached image loading, with cancelable requests and nothing more. This is what I achieved with 'No Thrills Image Loading'.

If you would rather have some thrills, such as filters, transitions, scaling, rounding, response serializers, etc etc ... then take a look at Alamofire Image.

Features

  • Simple code to understand using familiar Cocoa classes.
  • Returns NSOperation from loads, which allows you to cancel requests.
  • Image loads are cached in memory using NSCache and on disk in Caches directory - switch out the cache if you want.
  • UImageView extension for most common use - is this a thrill?
  • Unit Tested
  • Extend if you need more features (thrills) - you are a developer right?

##Usage

Load an image into your UIImageView


imageView.loadFrom(imageURL)

GitHub

link
Stars: 1
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Swift 5 Support
4 years ago

Wasn't a lot to do, but there were some legacy compilation issues that were fixed.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics