Udemy

SwiftUI & SwiftData: Build a Smart Vegetable Gardening App

Enroll Now
  • 169 Students
  • Updated 2/2025
4.5
(14 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
4 Hour(s) 49 Minute(s)
Language
English
Taught by
Mohammad Azam
Rating
4.5
(14 Ratings)
5 views

Course Overview

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.

Course Content

  • 3 section(s)
  • 23 lecture(s)
  • Section 1 Introduction
  • Section 2 Gardening App
  • Section 3 Conclusion

What You’ll Learn

  • 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.

Skills covered in this course


Reviews

  • 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!

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed