Hey Ben,
Great to hear you're enjoying working with C4.
The latest version of C4 (1.1.0) is a major version change. This means that it is not backwards compatible with C4 1.0.x. The main change is that we dropped the C4 prefix from all classes.
You have two options:
- Specify a 1.0 version on your Podfile (reverts back to the C4-prefix based api)
- Change your code by dropping the C4 prefix everywhere
The first option is the quickest: pod 'C4', '~> 1.0'
But, the second doesn't take a ton of time if you use Xcode to do a replace-all C4
with an empty string on the whole project. However, you will have to make sure to replace the prefix for important and for default colors C4Blue
, C4Pink
and C4Purple
.