I am new to Xcode, working through Swift, so I\'m not sure if what I am decribing is actually a bug.
When using interface builder and the assistant editor, I can cre
You can find unused IBOutlets in the file in which they're declared by looking in the "gutter" of the source editor for an "unfilled hole".
Use the Connections inspector to break the connection. Then you can modify/delete the object and/or the code without having to worry.
The accepted answer is fine, but there are a few ways to do the same thing.
Right click the view in the storyboard and then click the little x by the referencing outlet.
Right click the view name in the Document Outline. Then click the little x by the referencing outlet.
Select the view on the storyboard and then click the Connections Inspector. Then you can click the little x to remove an outlet reference.
If you are getting outlet connections in code that you didn't add yourself see this answer.