tkach / PinCodeTextField

MIT License
260 stars 100 forks source link

Use PinCodeTextField in Storyboard #34

Open agirault opened 6 years ago

agirault commented 6 years ago

I attempted to integrate PinCodeTextField in my project by following these steps with Carthage https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos

I am using XCode 9.4.1. I have the framework built for PinCodeTextField, and linked to my project: I can see the framework listed in Frameworks, containing the PinCodeTextField.h and PinCodeTextField-Swift.h headers.

I can't find a way to create the field from the storyboard: the search in the Object Library does not list it. If I create a UIView instead and try to change its class in CustomClass, PinCodeTextField is not found/valid.

Is there any information I could provide to see what I'm missing to use it in my storyboard and in swift?

Thanks.

paolo96 commented 5 years ago

Just using a UIView and then changing its class to PinCodeTextField worked for me in storyboard. I'm using pods, maybe that's the difference