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


License
MIT
Install
pod try Colorblinds

Documentation

Build Status Platforms iOS Language Swift 2.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

Compatibility

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

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
  • Support more color blindness types

License

MIT