jdekock / Colorblinds

Colorblinds is an easy to use library to simulate color blindness in your app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Platforms iOS Language Swift 4.2 License MIT Version

Colorblinds

Colorblinds is a easy to use library to simulate color blindness within your app. The feature can be easily activated with a 3-tap gesture. Once activated you can choose from four types of color blindness:

  • Deuteranomaly
  • Deuteranopia
  • Protanomaly
  • Protanopia
  • Tritanomaly
  • Tritanopia
  • Achromatomaly
  • Achromatopsia

Compatibility

Colorblinds requires iOS 8 or higher and is written in Swift 4.2.

Using CocoaPods

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

pod ‘Colorblinds’

Manually

Clone or Download this Repo. Then simply drag files in the folder Source to your Xcode project.

Example

import Colorblinds
CBController.sharedInstance.startForWindow(window!)

Todos

  • Support Carthage
  • Support animations

License

MIT

About

Colorblinds is an easy to use library to simulate color blindness in your app

License:MIT License


Languages

Language:Swift 94.0%Language:Ruby 6.0%