Phone-Code-Country
that give simple component to reuse for your project
how to used
1- copy files from demo project to your project
2- drag an drop view in storyBoard and change it is class to CodeDropDown
3- create outlet from this view
4- conform protocal CodeDropDownDelegate and overwrite method
func codeDropDown(_ codeDropDown: CodeDropDown, didSelectItem country: Country) { selectCountry = country } 5- final you find this result
6- at last i hope you find it work ok with you, you can change design as you like or modify code.