I have created a framework which has a custom IBDesignable UIView. When I include only the framework in a project the IBInspectable properties are not show in the attribute inspector but I can use the view properties programatically.
I checked few posts on stack overflow with solution for similar issues and found this reply as useful https://stackoverflow.com/a/39999914/5548640. As I am developing the framework in swift I tried this solution by creating an extension instead of category (as there is no category in swift). This solution does not work as expected.
I do not want my framework users to see my code but should be able to use the @IBDesignable @IBInspectable features. Also I do not want the framework users to subclass to use the IBInspectable properties.