I have created an universal framework for iOS, which contains some public UIView subclasses (all in swift). Lets call it MyFramework and the view MyView. Now when I import it to new project and I would like to use it from storybaord I need to set view class to MyView and set module to MyFramework. The issue is with setting the module. Xcode is not filling the list of avaliable modules, and I need to write MyFramework by myself. I would like to distribute a framework in such form, and this behavior would make it much eaisier to implement for others. Is there anything I can to for this to work?
Using framework with storyboard
It would be great if Apple would a field that let you type out the framework that you want to access in the storyboard attributes inspector. That would seem logical and intuitive to me.
*add
Would this tutorial provide what you are looking for ? h t t p s: / / medium. com/onfido-tech/reusing-code-with-swift-frameworks-cf60f5fa288a