From 5522d80ebf8ae9b99ec8a015c81d09f4a582c4f1 Mon Sep 17 00:00:00 2001 From: Infinite Loop Development Ltd Date: Sun, 15 Apr 2018 09:07:46 +0100 Subject: [PATCH] Changed ContrastColor to ContrastColorOf The correct name of the property is ContrastColorOf, not as written in documentation. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78008ac..d9f536c 100644 --- a/README.md +++ b/README.md @@ -445,12 +445,12 @@ UIColor(contrastingBlackOrWhiteColorOn:UIColor!, isFlat:Bool) ##### Chameleon Shorthand: ###### Objective-C ``` objective-c -ContrastColor(backgroundColor, isFlat); +ContrastColorOf(backgroundColor, isFlat); ``` ###### Swift ``` swift -ContrastColor(backgroundColor, isFlat) +ContrastColorOf(backgroundColor, isFlat) ``` #### Flattening Non-Flat Colors