Course Information
Course Overview
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
-
DDavid Lindsay
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.
-
ZZhan Kontorov
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!
-
AA Someone
Horrible teaching style. Stay away!
-
JJeongminKim
It was very helpful and interesting journey. Thank you always Azam!