Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkc456/citylisting
Create a simple mobile application (crash free), with one page (list view) to list all the cities of the world & 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)
https://github.com/pkc456/citylisting
autolayout coredata csv-parsing ios swift3 xcode
Last synced: 26 days ago
JSON representation
Create a simple mobile application (crash free), with one page (list view) to list all the cities of the world & 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)
- Host: GitHub
- URL: https://github.com/pkc456/citylisting
- Owner: pkc456
- Created: 2017-12-19T17:15:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-19T20:51:54.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T14:22:22.765Z (26 days ago)
- Topics: autolayout, coredata, csv-parsing, ios, swift3, xcode
- Size: 207 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CityListing
Assignment Details:
Create a simple mobile application (crash free), with one page (list view) to list all
the cities of the world & 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)
Data: You can download the list (static file) from the link:
http://www.geonames.org/export/.Project details:
Application flow (architecture)
When 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
At Home screen, data is fetched from core data and all the cities are listed on table view.
I keep the static file in CSV format within the application with 588 records
I followed the proper folder structure for view controllers, database, resources files and utilities
For UI, I used storyboards with autolayout
I have implemented the sorting functionality