I have dragged an element onto my code. How do I undo that? Here's an image:
The Green Slider is no longer on my storyboard and yet it appears in the round tab!
Here again:
Is there a way to get rid of "Main.storyboard – Green Slider"?
Click on the pop up, it will take you to storyboard. Remove its reference from there if it exists. I have attached an image for your help:
If reference doesn't exist then do 4 steps
/Users/XXXXX/Library/Developer/Xcode/DerivedData
and delete
your cache of project/Users/ХХХХХ/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
and delete
all cache from this directoryIf still exist do
Just change one letter from name. This will cause it to break relationship to storyboard and link it again to new storyboard.