Popularity
1.4
Declining
Activity
0.0
Stable
45
5
2

Programming language: Objective-C
Tags: Media     Image    
Latest version: v0.1.0

Ody alternatives and similar libraries

Based on the "Image" category.
Alternatively, view Ody alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Ody or a related project?

Add another 'Image' Library

README

Ody

Version License Platform

Ody is an easy to use random image generator built with Swift.

Perfect for placeholders!

Built with Silo, LoremPixel, and FillDunphy.

Demo


odytizeAll()

alt tag alt tag

Version


1.1

changelog

Installation


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

pod "OdyiOS"

---or---

Download from here

  • import the Swift File

Just drag and drop Ody.swift file into your project

Usage


If you are using AutoLayout please call after the view appears or in ViewDidAppear method

From a UIImageView

  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)

From a UIView (Odytizes every UIImageView within the UIView)

  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)

Instantiating a new UIImageView

  UIImageView(loaderColor: UIColor, frame: CGRect)
  UIImageView(category: ImageCategory, frame: CGRect)
  UIImageView(loaderColor: UIColor, frame: CGRect, grayscale: Bool, category: ImageCategory, text: String)

ImageCategory Enum

enum case Example
ImageCategory.Abstract alt tag
ImageCategory.Animals alt tag
ImageCategory.Business alt tag
ImageCategory.Cats alt tag
ImageCategory.City alt tag
ImageCategory.Food alt tag
ImageCategory.Nightlife alt tag
ImageCategory.Fashion alt tag
ImageCategory.People alt tag
ImageCategory.Nature alt tag
ImageCategory.Sports alt tag
ImageCategory.Technics alt tag
ImageCategory.Transport alt tag
ImageCategory.FillDunphy (does not support grayscale) alt tag

Changelog

1.1

  • Added Support for CocoaPods

1.0

  • Initial version


*Note that all licence references and agreements mentioned in the Ody README section above are relevant to that project's source code only.