filmov
tv
Complex JSON & SwiftData - SwiftyWeather Mid-Term Exam Solution

Показать описание
This is an actual mid-term & solution from Prof. John Gallaugher's SwiftUI course at Boston College. Students will access the open-meteo free API using URL Session, they'll parse JSON, including complex, nested JSON and arrays. They'll also use SwiftData to save, retrieve, and use Preferences data. While there are many additional techniques that could be used in an app like this, the ones demonstrated here are the ones students have learned at this stage, about 2/3 of the way through the semester.
Students are allowed one 8.5" x 11" piece of paper with any notes they can write or print on it, but the only other help available is that which is baked into Xcode (use of Predictive Code Completion is permitted). Students cannot consult the internet or open old code examples, use other types of AI, etc. The reason for this is to make sure students are sufficiently skilled for code interviews where you can't "look it up". Projects, however, do allow any additional resources to be used.
Students are allowed one 8.5" x 11" piece of paper with any notes they can write or print on it, but the only other help available is that which is baked into Xcode (use of Predictive Code Completion is permitted). Students cannot consult the internet or open old code examples, use other types of AI, etc. The reason for this is to make sure students are sufficiently skilled for code interviews where you can't "look it up". Projects, however, do allow any additional resources to be used.
Complex JSON & SwiftData - SwiftyWeather Mid-Term Exam Solution
Intro to SwiftData - Model, Container, Fetch, Create, Update & Delete
Parse JSON to Swift Struct automatically
WWDC24: What’s new in SwiftData | Apple
Discover How To Save Your API Response Into SwiftData ☁️ | SwiftData Tutorial | #7
How to decode JSON data in Swift programming language - SwiftUI tutorial for beginner app developers
Parsing Nested JSON in Swift 4
iOS Swift Tutorial - Working with the Web - How to parse JSON into model objects with Codable
The Last SwiftData Tutorial You Will Ever Need
How to Load and Fetch Data from JSON File in SwiftUI | Step-by-Step Guide
Defining a data model with SwiftData – SwiftData Starter Project 2/8
How To Preload Data Into SwiftData ModelContainer ⚡️ | SwiftData Tutorial | #5
SwiftUI Data Flow in iOS 17 - Observation & @Observable
The Basics of SwiftData: New Swift Framework from WWDC23!
SwiftUI Minimal Todo List With SwiftData & Interactive Widgets | iOS 17 | Xcode
Saving Data into JSON using Swift 4.2, Xcode 10, and iOS 12 - raywenderlich.com
Learning Swift Data – Relationships 📱 (free iOS tutorial)
SwiftData Updates Part 2: Dynamic Sorts and filters with Predicate expressions
SwiftData: A modern CoreData replacement
AppStorage vs. CoreData vs. SwiftData 🫠 | App on shorts #64
#85 Swift Programming - Codable, JSON and Generics
SwiftData Migrations | SwiftData Tutorial | #11
Swift API Calls for Beginners (Networking) - Async Await & JSON
Swift Data - iOS 17 - WWDC 2023
Комментарии