title: Only one drop down button active in swift
body: <p>I am currently working on an app where I need to implement more drop down buttons. I have found a guide on how to make a drop down button, and it works like a charm. The problem is that I want the "drop down part" to hide if you press another drop down button (or somewhere else on the screen if it is possible, but that part is not necessary). </p>
  
  <p>Here is a link to a part of the project with the drop down buttons.</p>
  
  <p><a href="https://github.com/Rawchris/More-drop-downs" rel="nofollow noreferrer">https://github.com/Rawchris/More-drop-downs</a></p>
  
  <p>If you want the code in here you can say so, but I thought it was better this way. If you don't understand what I want, please say so and I will try to explain it better.</p>