Skip to content

irahuldubey/StarWars-PeopleSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarWars-PeopleSearch

This iPhone application designed on XCode 11.4 uses the StarWar People Search public API to show the list of characters in a tableView.

Sample Star War People Search API

https://swapi.dev/api/people/?search=R

Sample API to fetch the Character Image

https://cdn.rawgit.com/akabab/starwars-api/0.2.1/api/id/8.json

Application Details

This application is designed in 2 views. Home Page shows a search bar which user can enter the character name and hit the enter key to search for any favorite characters.

If there are more character matching the search criteria user should be able to scroll at the bottom of the table to load more characters.

Home Page displays the total number of character received from the API, Name and Creation Date of each characters.

Once user clicks any character they will be landed to a detail page where they will be shown the character image and some details about them.

Added some tests to just as a sample how the code can be tested using Protocol Oriented Approach.

Here are few sample screenshots of the application.

App Icon

Screen Shot 2020-04-26 at 2 19 55 PM

Splash

Screen Shot 2020-04-26 at 2 29 31 PM

Home Screen

Screen Shot 2020-04-26 at 2 19 43 PM

Detail Screen

Screen Shot 2020-04-26 at 2 19 49 PM