{"id":15037229,"url":"https://github.com/pkc456/citylisting","last_synced_at":"2026-03-15T09:56:31.084Z","repository":{"id":72645837,"uuid":"114791707","full_name":"pkc456/CityListing","owner":"pkc456","description":"Create a simple mobile application (crash free), with one page (list view) to list all the cities of the world \u0026 its population. ● Add a simple search bar with autocomplete text to search based on cities ● Taping on a row should take to details screen showing the information about the city. (Can show only City, Country, Population and Timezone) ● Sort the list by population (ascending / descending)","archived":false,"fork":false,"pushed_at":"2017-12-19T20:51:54.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T12:28:49.040Z","etag":null,"topics":["autolayout","coredata","csv-parsing","ios","swift3","xcode"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkc456.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-19T17:15:00.000Z","updated_at":"2017-12-19T19:47:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"e412c1a4-9cfd-4eff-a755-c78a92f3eb64","html_url":"https://github.com/pkc456/CityListing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pkc456/CityListing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkc456%2FCityListing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkc456%2FCityListing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkc456%2FCityListing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkc456%2FCityListing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkc456","download_url":"https://codeload.github.com/pkc456/CityListing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkc456%2FCityListing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28052420,"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","status":"online","status_checked_at":"2025-12-26T02:00:06.189Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["autolayout","coredata","csv-parsing","ios","swift3","xcode"],"created_at":"2024-09-24T20:33:52.635Z","updated_at":"2025-12-26T10:11:27.857Z","avatar_url":"https://github.com/pkc456.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CityListing\n\nAssignment Details:\nCreate a simple mobile application (crash free), with one page (list view) to list all\nthe cities of the world \u0026 its population.\n● Add a simple search bar with autocomplete text to search based on cities\n● Taping on a row should take to details screen showing the information\nabout the city. (Can show only City, Country, Population and Timezone)\n● Sort the list by population (ascending / descending)\nData​: You can download the list (static file) from the link:\nhttp://www.geonames.org/export/.\n\n\nProject details: \nApplication flow (architecture)\nWhen the application is launched initially, application reads data from csv file and save the data in core data. To save application launching time, the data is retrieved and saved once only\nAt Home screen, data is fetched from core data and all the cities are listed on table view.\nI keep the static file in CSV format within the application with 588 records\nI followed the proper folder structure for view controllers, database, resources files and utilities\nFor UI, I used storyboards with autolayout\nI have implemented the sorting functionality\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkc456%2Fcitylisting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkc456%2Fcitylisting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkc456%2Fcitylisting/lists"}