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
Colorblinds requires iOS 8 or higher and is written in Swift 4.2.
Colorblinds is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod ‘Colorblinds’
Clone or Download this Repo. Then simply drag files in the folder Source
to your Xcode project.
import Colorblinds
CBController.sharedInstance.startForWindow(window!)
- Support Carthage
- Support animations
MIT