Agenda

  1. Tutorial: Hello, SwiftUI
    • If you are entirely new to SwiftUI, or if you want a refresher that starts from scratch, work through this tutorial today, summarizing your progress and sharing some screenshots in your portfolio.

    NOTE

    This tutorial is optional – if you feel like you’re ready for more – look below.

  2. Tutorial: Customize Views with Properties
    • Optionally, review to refresh your memory, or learn for the first time, how to apply abstraction by creating a helper view within a parent view.
  3. Tutorial: Update the UI with state
    • SwiftUI really shines when you see how it makes updates of the user interface dead simple – you just need to use the @State property wrapper!
    • Optionally, review how this works, or learn for the first time, how to use the @State property wrapper.

    TIP

    Updating the UI in other programming languages and with other user interface frameworks is often extremely tedious.

  4. Tutorial: Lists and Textfields
    • Optionally, refresh your knowledge of arrays and how these relate to scrollable lists in a SwiftUI interface.
  5. Tutorial: Custom Types and Swift Testing
    • Feel like you remember last year’s programming topics really well?
    • Dive in with a look at how to use custom data types to model real-world concepts.
    • Learn how to test the functionality of an app using Swift Testing to be sure it works as intended.

Things to do before our next class

  • Be sure you have completed at least one of the tutorials above, sharing screenshots and a summary of what you want to remember in your portfolio.