Search code examples
swiftxcodestoryboard

How to delete an outlet from my storyboard?


I duplicated a .xib file and a swift file to adapt to another view quickly. But now from my initial .xib there all my outlets (from this view) have 2 components (the initial and the new created):

enter image description here

How can I remove a link in my case?

Thank you very much!


Solution

  • With right clicking on the object and then click on x.

    enter image description here

    Or from the connection inspector in the right hand side of the Xcode:

    enter image description here