SeikaHirori / iExpense

Project 7 of HwS's 100 Days of SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iExpense | Project 7

House Keeping

Index for Checklist:

= TO-DO
= COMPLETED

Examples of completing a part or section:

"Part 2 complete"
"Section 2.1 finished"

Project 7 Specifications:

  • Part 1: https://www.hackingwithswift.com/100/swiftui/36

    • 1. iExpense: Introduction
    • 2. Why @State only works with structs
    • 3. Sharing SwiftUI state with @StateObject
    • 4. Showing and hiding views
    • 5. Deleting items using onDelete()
    • 6. Storing user settings with UserDefaults
    • 7. Archiving Swift objects with Codable
  • Part 2: https://www.hackingwithswift.com/100/swiftui/37

    • 1. Building a list we can delete from
    • 2. Working with Identifiable items in SwiftUI
    • 3. Sharing an observed object with a new view
    • 4. Making changes permanent with UserDefaults
    • 5. Final polish
  • Part 3: Challenges: https://www.hackingwithswift.com/books/ios-swiftui/iexpense-wrap-up

    • 1. Use the user’s preferred currency, rather than always using US dollars.
    • 2. Modify the expense amounts in ContentView to contain some styling depending on their value – expenses under $10 should have one style, expenses under $100 another, and expenses over $100 a third style. What those styles are depend on you.
    • 3. For a bigger challenge, try splitting the expenses list into two sections: one for personal expenses, and one for business expenses. This is tricky for a few reasons, not least because it means being careful about how items are deleted! - I think it works? Not sure how to properly test this. - Currently lacking smooth way to hide sections if a type (e.g. personal) is not in the list.

About

Project 7 of HwS's 100 Days of SwiftUI


Languages

Language:Swift 100.0%