I am adding PayPal to my app but the PaymentViewController won't work. I import the following in my bridging header:
#import "PayPalMobile.h"
#import "PayPalConfiguration.h"
#import "PayPalPaymentViewController.h"
@interface ViewController : UIViewController<PayPalPaymentDelegate>
@end
#endif /* Header_h */
And my paymentviewcontroller is:
let paymentViewController = PayPalPaymentViewController(payment: payment, configuration: payPalConfig, delegate: self)
And my error is "MyClass does not conform to protocol PayPalPaymentDelegate"