title: How to make a drop down menu in Swift 3
body: <p>How to implement the Drop Down menu in iOS using swift 3 as shown in the following image:
  <a href="https://i.stack.imgur.com/Cbmo7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cbmo7.jpg" alt="enter image description here" /></a></p>
  <p>I have searched SO questions but they prefer making use of UIPicker but instead i wish to achieve this . Is it possible to achieve this type by using the table view?</p>
  <p>And that to i need to select the dates from the drop down menu:</p>
  <p><a href="https://i.stack.imgur.com/J56mT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J56mT.png" alt="enter image description here" /></a></p>
  <p>How to show the dates in table view as shown below?</p>