In this video i will show how to pop up picker view as input source for text field. This way you can restrict user with limited choices. Picker View is same as drop down menu in other different devices.
Project File : http://iamyash.com/programming-tutori...
Swift 4 Xcode 9.0
My mac version macOS Sierra