Skip to content
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

Cannot convert value of type 'UIViewController.Type' to expected argument type 'UIViewController' #11

Open
SkIsArrived opened this issue Oct 12, 2017 · 3 comments

Comments

@SkIsArrived
Copy link

I Have an issue in Paystack implementation in IOS
Line: PSTCKAPIClient.shared().chargeCard(cardParams, forTransaction: transactionParams, on: UIViewController, didEndWithError: { (error, reference) -> Void in NSLinkEditErrorHandlers(error)

Error: Cannot convert value of type 'UIViewController.Type' to expected argument type 'UIViewController'

@ibrahimlawal
Copy link
Contributor

hey @SkIsArrived I don't have any context to look into this. What did you do to make Xcode mad?

@ibrahimlawal
Copy link
Contributor

To help you debug, I need to see your code.

@MrSMAK
Copy link

MrSMAK commented Apr 27, 2018

You ned to pass the UIViewController object where UIViewController is specified in your code. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants