New issue
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
Logging v2 part 1 strings #426
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only adding string files first. I also added a comment at the end of each string with the log method. Can I get a review on the names and respective logging method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking great! left some naming suggestions
RCLog(@"called post subscriber attributes with an empty attributes dict!"); | ||
RCWarnLog(@"%@", RCStrings.attribution.empty_subscriber_attributes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do some of these do (@"%@", <string>);
while others just pass it in directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aboedo The (@"%@", <string>);
is to treat it as a string literal or else Xcode throws warnings. Others pass in directly have a string formatter and Xcode doesn't complain.
This PR currently adds the following string files:
AttributionStrings
,ConfigureStrings
, andPurchaserInfoStrings
.Part 2: #428
Part 3: #430
Additional log methods: #422