Complex JSON & SwiftData - SwiftyWeather Mid-Term Exam Solution

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

"Teacher, do you have the option to enable Turkish subtitles for YouTube videos? Thank you."

ozgursonkaya
visit shbcf.ru