We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation says:
Samples to use constants (all constants are available in TrackerConfigurationKeys in Swift, prefixed by AT_CONF_ in Objective-C)
But this is actually not true since 2.5.0. Configuration keys like AT_CONF_SITE are not available in Objective-C.
AT_CONF_SITE
Since Xcode 8, Objective-C supports class properties. So simply making TrackerConfigurationKeys inherit from NSObject would solve the issue:
TrackerConfigurationKeys
NSObject
public class TrackerConfigurationKeys: NSObject { ...
Objective -C code can now use the configuration keys with the same syntax like Swift:
TrackerConfigurationKeys.Site
The text was updated successfully, but these errors were encountered:
thanks for the feedback, it will be fixed in the next release ;)
Sorry, something went wrong.
closing with the new release
No branches or pull requests
The documentation says:
But this is actually not true since 2.5.0. Configuration keys like
AT_CONF_SITE
are not available in Objective-C.Since Xcode 8, Objective-C supports class properties. So simply making
TrackerConfigurationKeys
inherit fromNSObject
would solve the issue:Objective -C code can now use the configuration keys with the same syntax like Swift:
The text was updated successfully, but these errors were encountered: