I have an Xcode project with two storyboards. Let's call them A and B.
In B I have a custom control, MyControl, which is a subclass of UIButton. Works fine.
Now I want to use the same control in A. I drop in a UIButton from the library and go to the Identity Inspector. Under Custom Class > Class I find only a different component. In fact, it seems to list only this one custom component, but no others. (I have other controls from pods, which does not appear either, nor does standard iOS controls either)
I have tried:
- Update project to recommended settings
- Clean build
- Restart Xcode
- Clear
~/Library/Developer/Xcode/DerivedData/APP-NAME - Renaming components
- Toggle "Automatically Refresh Designables View"
- Make sure components are correctly defined
- Check project structure
I'm on Xcode 13.4.1 and the project is in Objective-C. Its a "resurrected" project, so there might be some migration issue involved?
Any ideas?