title: How to create a custom pop up view with swift?
body: <p>So I am working on a simple app, where I use a table view. This table view displays the name of "players". But in order for me to add players in the table view, I want a pop up window to be displayed with a text field where you provide the name. </p>
  
  <p>Now I have been reading about creating a xib or nib file, but I am not sure how to "load" the pop up window. </p>
  
  <p>What's the best approach to this?</p>
  
  <p>Looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/offzy.png"><img src="https://i.stack.imgur.com/offzy.png" alt="Pop up View"></a></p>
  
  <p><a href="https://i.stack.imgur.com/mukhF.png"><img src="https://i.stack.imgur.com/mukhF.png" alt="enter image description here"></a></p>