Simple popup menu for swift, easy to use when clicking a UIButton. Simply set the delegate of your instantiated popUpMenu to the current ViewController. You can then use the delegate function "selectedDirector" to assign the tableviews selected item to whatever you please!