From e5f6558467cc4381d11f4cb21fd5dcfb1a4c731a Mon Sep 17 00:00:00 2001 From: Matt <56481807+AnxietyMedicine@users.noreply.github.com> Date: Wed, 23 Feb 2022 11:59:56 -0500 Subject: [PATCH] Update README.md Add part two to Milestone Project - FriendFace --- 17-Milestone-Project-FriendFace/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/17-Milestone-Project-FriendFace/README.md b/17-Milestone-Project-FriendFace/README.md index 133290b..8f97da8 100644 --- a/17-Milestone-Project-FriendFace/README.md +++ b/17-Milestone-Project-FriendFace/README.md @@ -1,5 +1,7 @@ # Milestone Project - FriendFace (Projects 10-12) +## Part One (Day 60) - Fetching JSON +
It’s time for you to build an app from scratch, and it’s a particularly expansive challenge today: your job is to use URLSession to download some JSON from the internet, use Codable to convert it to Swift types, then use NavigationView, List, and more to display it to the user.+## Part Two (Day 61) - Adding Core Data + +
@@ -13,6 +15,12 @@ How far you implement this is down to you, but at the very least you should: * Before you start your download, check that your User array is empty so that you don’t keep starting the download every time the view is shown
+Yes, your job today is to expand your app so that it uses Core Data. Your boss just emailed you to say the app is great, but once the JSON has been fetched they really want it to work offline. This means you need to use Core Data to store the information you download, then use your Core Data entities to display the views you designed – you should only need to fetch the data once. You still need to try to fetch the data every time your app loads, just in case it has changed somehow, but if that fetch fails it’s okay because you still have your Core Data back up. ++ ## Screenshots ### Light Mode