README.md

IdeasMuralist

“PictureLoader” is a native, lightweight Swift library for asynchronously loading images. Also contains extensions for UIImageView and UIButton for easy installation of images

Features:

  • Separate Loader class for loading images
  • Caching of downloaded images
  • Support .jpeg, .png
  • Support for NSURLComponents, String and NSURL types for passing the path to the image
  • Extensions for UIImageView and UIButton for easy installation of images

Example

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

Loading: PictureLoader.request(with: url, onCompletion: )

Download and installation in UIImageView and UIButton: imageView.loader.request(with: url) button.loader.request(with: url)

Or

imageView.loader.request(with: url, onCompletion: ) button.loader.request(with: url, onCompletion: )

Requirements

  • iOS 10.0+
  • Swift 2.0+

Installation

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

pod 'IdeasMuralist'

Author

Еременко Владимир, v.eremenko@iw-group.com

License

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

Конвейеры
0 успешных
0 с ошибкой