Agenda

  1. Concept: Populating a View Model from a Remote Endpoint
    • How can we use a text-file format – JSON – to obtain data from online services and then use that data within our app?
  2. Concept: Persisting Data to a Device and Swipe Gestures
    • Learn how to save data to a file on your device – this is sometimes more appropriate than using a database.
    • Learn how to add polish to your app, such as the ability to:
      • have multiple screens or tabs
      • add items to a list while an app runs
      • share jokes with a friend using a share sheet
      • delete items from a list
      • use swipe gestures to discard or save a joke

Things to do before our next class

  • In your portfolio, share your progress with today’s tasks.
  • Get ready for tomorrow’s mini-test.