ImageView
Component that loads and displays images(.svg/.png/.jpg/.jpeg) form asset/file/internet.
Uses SVGKit(https://github.com/SVGKit/SVGKit) library for displaying SVG images.
Uses Kingfisher(https://github.com/onevcat/Kingfisher) library for downloading and caching images.
Usage:
- Install
SVGKit
andKingfisher
libraries. - Copy files from
Source
folder to the project. - Create new
ImageContainer
and add it on some view. - If you layout views programmaticaly you should also call method
setupConstraints()
in theviewDidLoad()
. - Set an image via suitable setter.
- Enjoy :)