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
Storyboard can't find PMSuperButton which integrated through Carthage #12
Comments
Hi @Banck, I think that this is an Xcode bug. You must save your work and quit Xcode. When you run Xcode again, you will see PMSuperButton class. Let me know. |
@pmusolino Hey! No, it doesn't work. Other frameworks are working fine. |
Can you show me how you imported the library? Is it in the right target? |
@pmusolino Then added to the linked frameworks section. The target is setted and it's right target. I can import PMSuperButton in any swift file and work with them, but storyboard can't find PMSuperButton. |
If you are the user of a framework with designable support:
This solution is not perfect since you still have to manually copy a supplied source file, which could change between framework versions. But it works pretty well, though, and provides everything required within the framework bundle itself. More info here. Let me know if this works for you. |
Hello!
I've placed UIButton in my storyboard and tried to type PMSuperButton in class, but there is no PMSuperButton. If wrote it there, then error:
Unknown class PMSuperButton in Interface Builder file.
But in .swift files I can import PMSuperButton , create and works with them.
Thanks!
The text was updated successfully, but these errors were encountered: