{"id":2146,"url":"https://github.com/hughbe/phone-number-picker","last_synced_at":"2025-04-24T12:32:04.783Z","repository":{"id":83950160,"uuid":"42052724","full_name":"hughbe/phone-number-picker","owner":"hughbe","description":"A simple and easy to use view controller enabling you to enter a phone number with a country code similar to WhatsApp written in Swift","archived":false,"fork":false,"pushed_at":"2018-02-05T12:47:11.000Z","size":170,"stargazers_count":140,"open_issues_count":2,"forks_count":25,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-15T00:20:02.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hughbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-09-07T12:49:55.000Z","updated_at":"2023-12-14T17:58:12.000Z","dependencies_parsed_at":"2023-03-05T21:45:16.694Z","dependency_job_id":null,"html_url":"https://github.com/hughbe/phone-number-picker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2Fphone-number-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2Fphone-number-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2Fphone-number-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbe%2Fphone-number-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hughbe","download_url":"https://codeload.github.com/hughbe/phone-number-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223954181,"owners_count":17231186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:16:05.869Z","updated_at":"2024-11-10T12:39:40.473Z","avatar_url":"https://github.com/hughbe.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Other free courses","Font","Other Testing"],"readme":"# PhoneNumberPicker\nA simple and easy to use view controller enabling you to enter a phone number with a country code similar to WhatsApp\n\nScreenshots\n--------------\n![alt text](https://github.com/hughbe/PhoneNumberPicker/blob/master/resources/screenshots/1.png \"Screenshot 1\")\n![alt text](https://github.com/hughbe/PhoneNumberPicker/blob/master/resources/screenshots/2.png \"Screenshot 2\")\n\nInstallation\n--------------\nDrag and drop the *src* folder to your project\n\nSetup\n--------------\n``` swift\n// 1. Add the protocol PhoneNumberViewControllerDelegate\nclass ViewController: UIViewController,PhoneNumberViewControllerDelegate {\n\n\nfunc presentPhoneNumberViewController { //Your function. Can be any name\n   // 2. Create the PhoneNumberViewController\n   let phoneNumberViewController = PhoneNumberViewController.standardController()\n\n   // 3. Set the delegate\n   phoneNumberViewController.delegate = self\n\n   // 4. Present the PhoneNumberViewController (Navigation Controller)\n   navigationController?.pushViewController(phoneNumberViewController, animated: true)\n}\n```\n\nCountry Selector\n-------------\nYou can manually present a `CountriesViewController` to present a list of all countries and their phone extensions to the user\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughbe%2Fphone-number-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhughbe%2Fphone-number-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughbe%2Fphone-number-picker/lists"}