Skip to content

plrichardson/Astronauts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Astronauts – a coding exercise

Introduction

Develop a native iOS application which consumes some simple web services (RESTful) and displays the data appropriately. The exercise is designed to demonstrate technical ability.

Requirements

  • On app launch, consume https://spacelaunchnow.me/api/3.5.0/astronaut/
  • When the data is retrieved, display the results in a list.
  • Display at a minimum: name, nationality and profile_image_thumbnail
  • Implement a button at the top of the screen which will allow the user to sort the results based on the name property.
  • On tap of an individual list item, consume https://spacelaunchnow.me/api/3.5.0/astronaut/<astronautId> to retrieve more details about the item and navigate to a new screen which displays the results appropriately.
  • Display all previous information + at a minimum: bio and date_of_birth

Notes

  • The solution is built with SwiftUI, Swift Concurrency and the MVVM pattern.
  • Version 1.0.1 is the result of two days work.
  • The number of requests which can be made with the Space Launch Now API is limited. The user is able to revert to local data when the limit is reached. In this case the detail view shows data for Michael Collins, irrespective of which cell in the list view is tapped.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages