Logging ignored values and CocoaPods
andrewsardone opened this issue · comments
This is more of a question and observation than an issue.
Currently ignored values are logged by default – users must #define KZPropertyMapperLogIgnoredValues 0
in order to stop the default logging. This is probably the right behavior, but it's awkward to actually define the preprocessor variable when using CocoaPods.
When declaring pod dependencies, it's not possible to #define
variables. A user needs to add the #define
within Pods/Pods-KZPropertyMapper-prefix.pch
, but many people ignore the Pods/
directory so this setup would not persist across installs.
Given this, do you think a debug class method on KZPropertyMapper
might be in order, say, +[KZPropertyMapper logIgnoredValues:]
, or is the preprocessor route good enough and CocoaPods users should commit their Pods/
directory?
+[KZPropertyMapper logIgnoredValues:]
👍