Ody is an easy to use random image generator built with Swift.
Perfect for placeholders!
Built with [Silo] silojq, [LoremPixel] images, and FillDunphy filldunphy.
odytizeAll()
![alt tag] (https://i.imgur.com/x4oC6we.png) ![alt tag] (https://i.imgur.com/xeLBKIY.gif)
1.1
Ody is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "OdyiOS"
---or---
Download from [here] dld
- import the Swift File
Just drag and drop Ody.swift file into your project
imageView.odytizeGrayscale()
imageView.odytizeGrayscale(loaderColor: UIColor)
imageView.odytizeGrayscale(category: ImageCategory, text: String)
imageView.odytize()
imageView.odytize(loaderColor: UIColor)
imageView.odytize(category: ImageCategory)
imageView.odytize(grayscale: Bool, category: ImageCategory, text: String)
//To change loader color after odytizing
imageView.setLoaderColorForOdyView(UIColor)
view.odytizeAll()
view.odytizeAll(loaderColor: UIColor)
view.odytizeAll(grayscale: Bool, category: ImageCategory, text: String, loaderColor: UIColor)
view.odytizeAllToGrayscale()
view.odytizeAllToGrayscale(loaderColor: UIColor)
view.odytizeAllToGrayscale(category: ImageCategory)
view.odytizeAllWithCustomImage(url: String)
view.odytizeAllWithCustomImage(url: String, loaderColor: UIColor)
UIImageView(loaderColor: UIColor, frame: CGRect)
UIImageView(category: ImageCategory, frame: CGRect)
UIImageView(loaderColor: UIColor, frame: CGRect, grayscale: Bool, category: ImageCategory, text: String)
1.1
- Added Support for CocoaPods
1.0
- Initial version