title: How to implement PayU Objective C library in Swift project
body: <p><a href="https://github.com/PayU/paytouch-ios" rel="nofollow noreferrer">https://github.com/PayU/paytouch-ios</a> I pasted SDK folder into my project and created Bridging-Header.h in which I have imported <strong>#import "PUSDK.h"</strong> and when I trying to do init in my viewController in viewDidLoad <strong>let paymentService = PUPaymentService()</strong> and app crashes without error.</p>
  
  <pre><code>class ViewController: UIViewController, PUPaymentServiceDelegate{
  
  
  func paymentServiceDidRequestPresenting(_ viewController: UIViewController) {
      self.navigationController?.present(viewController, animated: true, completion: {
  
      })
  }
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
      let paymentService = PUPaymentService()
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
  
  }
  extension ViewController: PUAuthorizationDataSource{
  func refreshToken(completionHandler: @escaping (String?, Error?) -&gt; Void) {
      completionHandler("", nil)
  }
  
  func applicationCallbackScheme() -&gt; String {
      return ""
  }
  </code></pre>