Discover more from SwiftUI Weekly
SwiftUI Weekly - Issue #69
The curated collection of links about SwiftUI. Delivered every Monday.
SwiftUI Release 3 brought us a new declarative approach for handling submitted values. Text fields, forms, search bars allow users to submit values that we can take and react to them using the new onSubmit view modifier. This week we will learn how to use the onSubmit view modifier and what benefits it provides us.
Dependency Injection using latest Swift features allows you to mock data, and write tests easily without 3rd party dependencies.
Another responsibility that SwiftUI gives to the view is navigation. Via NavigationLinks, TabViews, and Sheets, our views aren’t just responsible for their own content on the screen. It starts to feel like the view is doing an awful lot.
Find out how to use the new badges API in the 3rd release of SwiftUI, and how to add a badge to list rows and the items of tab bars.
Some important heads up on this powerful combo.
The App uses Apple's Combine framework for operation scheduling. The UI-Layer is built with The Composable Architecture and SwiftUI. Minimum platform requirements are: MacOS 11 and iOS 14.0
In this video, Mohammad Azam will demonstrate how to start building a complete gardening app in SwiftUI. This part focuses on displaying vegetables on the screen using a web API. In the future parts we will cover persisting using Core Data, camera, note taking, extensions etc.
How to make a Simple Combine Call in SwiftUI.