Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.64 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.64 KB

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