-
Notifications
You must be signed in to change notification settings - Fork 982
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
Fix PKAddress warnings #913
Conversation
// | ||
|
||
#import "ViewController.h" | ||
#import <Stripe/Stripe.h> |
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.
I wasn't sure whether we wanted to use #import
or @import
- they both seemed to reproduce the warning. Is there a good reason to prefer one or the other here?
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.
I think they're effectively identical – #import
maps to @import
if modules are enabled, which is on by default in new projects.
Stripe/PublicHeaders/STPAddress.h
Outdated
@@ -220,7 +220,10 @@ extern STPContactField const STPContactFieldName; | |||
@return The closest representation of the billing address requirement as | |||
a PKAddressField value. | |||
*/ | |||
#pragma clang diagnostic push | |||
#pragma clang diagnostic ignored "-Wdeprecated" |
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.
Looks like this should go before the documentation comment, build is failing because jazzy thinks these two methods are undocumented.
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.
👍 fixed in da1cbea
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.
Looks great!
Fixes #912 |
* Customize link inline sign up appearance * Styleize region placeholder * Change text color for legal view * Update from PR feedback * set font lastt * One more little hack * Call super and fix border color * update snapshots * update more snapshots
r? @danj-stripe
Silences the deprecation warnings in STPAddress.h and adds a new objc installation test to catch regressions.
I also did some cleanup on the cocoapods installation projects:
_objc
/_swift