Wei Wang

5pods

APNGKit

APNGKit is a high performance framework for loading and displaying APNG images in iOS. It's built on top of a modified version of libpng with APNG support and written in Swift. High-level abstractions of Cocoa Touch is used for a delightful API. Since that, you will feel at home and joy when using APNGKit to play with images in APNG format.

License: MIT

  • C

Kingfisher

Kingfisher is a lightweight and pure Swift implemented library for downloading and cacheing image from the web. It provides you a chance to use pure Swift alternation in your next app.

  • Everything in Kingfisher goes asynchronously, not only downloading, but also caching. That means you can never worry about blocking your UI thread.
  • Multiple-layer cache. Downloaded image will be cached in both memory and disk. So there is no need to download it again and this could boost your app dramatically.
  • Cache management. You can set the max duration or size the cache could take. And the cache will also be cleaned automatically to prevent taking too much resource.
  • Modern framework. Kingfisher uses NSURLSession and the latest technology of GCD, which makes it a strong and swift framework. It also provides you easy APIs to use.
  • Cancellable processing task. You can cancel the downloading or retriving image process if it is not needed anymore.
  • Independent components. You can use the downloader or caching system separately. Or even create your own cache based on Kingfisher's code.
  • Options to decompress the image in background before render it, which could improve the UI performance.
  • A category over UIImageView for setting image from an url directly.

License: MIT

  • Swift

RainbowSwift

Rainbow adds text color, background color and style for console and command line output in Swift. It is born for cross platform software logging in terminals, working in both Apple's platforms and Linux. Meanwhile, it is also compatible with XcodeColors, which lets you colorize the Xcode debugger output as well when developing an app.

License: MIT

  • Swift

RandomColorSwift

A tiny library for generating attractive random colors.

It produces bright colors with a reasonably high saturation. This makes randomColor particularly useful for data visualizations and generative art.

License: MIT

  • Swift

VVBlurPresentation

Sometimes you may want to present a new view controller and keep the old one visible, but blurred. This repo will do the exactly thing for you. Just subclass the VVBlurViewController and present it as usual, VVBlurPresentation will handle other things for you.

License: MIT

  • Objective C