Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Missing API Delegates? #75

Closed
mukhortov opened this issue May 8, 2015 · 2 comments
Closed

Missing API Delegates? #75

mukhortov opened this issue May 8, 2015 · 2 comments

Comments

@mukhortov
Copy link

Included are a number of UITextFieldDelegate delegates: PTKCardCVCDelegate, PTKCardExpiryDelegate and PTKCardNumberDelegate. You can set these as the delegates of UITextField inputs, which ensures that input is limited and formatted.

I tried to use these delegates, but looks like they just doesn't exist:

paymentkit

@eytanlevit
Copy link

hey, we're also looking for these delegates. any news?

@jflinter
Copy link

Hey @mukhortov and @eytanlevit,

Thanks for pointing this out - that appears to have been a documentation issue.

As part of a recent refactor, we're deprecating this repository in favor of https://github.com/stripe/stripe-ios, which now has a class called STPPaymentCardTextField that has similar behavior to PTKView. I'd encourage you to migrate (it should take just a few minutes, and we've written a brief guide at https://github.com/stripe/paymentkit#migration).

Unfortunately, STPPaymentTextField doesn't currently expose any of those delegate methods. Can you explain a bit more about what you're trying to do, and I'll find a way to help?

Cheers!

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

No branches or pull requests

3 participants