XeroInvoicesSwiftUI


The test consists of a small invoice application that has a number of issues.

Your job is to fix them and make sure you can perform the functions in each method below and display the list of invoices from getInvoices() inside a UITableView.

Note your first job is to get the solution compiling!

Rules

  • The entire solution must be written in Swift (UIKit or SwiftUI)
  • You can modify any of the code in this solution, split out classes, add projects etc
  • You can modify Invoice and InvoiceLine, rename and add methods, change property types (hint)
  • Feel free to use any libraries or frameworks you like
  • Feel free to write tests (hint)
  • Show off your skills!