Udemy

SwiftUI & SwiftData: Build a Smart Vegetable Gardening App

立即報名
  • 169 名學生
  • 更新於 2/2025
4.5
(14 個評分)
  • 提示:
  • 透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期*
全年招生
課程級別
學習模式
修業期
4 小時 49 分鐘
教學語言
英語
授課導師
Mohammad Azam
評分
4.5
(14 個評分)
課程連結
*提示: 以上時間表僅供參考,以機構網站為準。

課程簡介

SwiftUI & SwiftData: Build a Smart Vegetable Gardening App

Master SwiftUI and SwiftData by Building a Smart Vegetable Gardening App

This course teaches you how to build a complete vegetable gardening app using SwiftUI and SwiftData. You will learn how to structure your app using SwiftUI’s built-in patterns while leveraging SwiftData for offline data persistence. Whether you are new to SwiftUI or looking to enhance your skills, this course provides practical, real-world experience in building a feature-rich application.

What You Will Learn

  • SwiftUI Patterns and Best Practices – Learn how to structure and build a scalable SwiftUI app.

  • Fetching Data from an API – Download vegetable information dynamically from a JSON API.

  • Offline Data Management with SwiftData – Allow users to add vegetables to their garden and persist data offline.

  • Tracking Harvesting Time – Implement features to monitor vegetable growth and notify users when it’s time to harvest.

  • Adding Notes and Images – Let users add text notes, select images from the photo library, and capture photos using the camera.

  • Displaying Pest Information – Provide details on common pests and their impact on different vegetables.

  • Search Functionality – Implement a search feature to quickly find vegetables and pests.

  • Light and Dark Mode Support – Ensure a seamless user experience across different themes.

By the end of this course, you will have a fully functional gardening app and a solid understanding of how to use SwiftUI and SwiftData to build real-world applications.

課程章節

  • 3 個章節
  • 23 堂課
  • 第 1 章 Introduction
  • 第 2 章 Gardening App
  • 第 3 章 Conclusion

課程內容

  • SwiftUI Architecture and Patterns – Learn how to structure and build scalable SwiftUI applications using best practices.
  • Fetching Data from an API – Integrate a JSON API to download vegetable information dynamically.
  • Offline Data Persistence with SwiftData – Store and manage user-added vegetables locally, ensuring offline support.
  • Tracking Harvesting Time – Implement logic to monitor vegetable growth and notify users when it's time to harvest.
  • Adding Notes and Images – Allow users to attach text notes, select images from the photo library, and capture photos using the camera.
  • Implementing Search Functionality – Enable users to quickly search for vegetables and pests within the app.
  • Building a Complete App – Gain the skills to develop and deploy a fully functional SwiftUI application from start to finish.

此課程所涵蓋的技能


評價

  • D
    David Lindsay
    2.0

    There is a warning in VegetableListScreen. Non-sendable result type '[Vegetable]' cannot be sent from nonisolated context in call to instance method 'fetchVegetables()'; this is an error in the Swift 6 language mode.

  • Z
    Zhan Kontorov
    5.0

    i learned something of swiftdata, architecture and ui. very beautiful app. what i dont liked that code constantly fetch images from his server, when put them inside the app probably would be better. what i expected but not learned: requests, rest api consuming, translating.thanks, Azam!

  • A
    A Someone
    1.0

    Horrible teaching style. Stay away!

  • J
    JeongminKim
    5.0

    It was very helpful and interesting journey. Thank you always Azam!

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策與使用條款才繼續瀏覽。

我已閱讀及同意