SwiftUI Weekly - Issue #114
The curated collection of links about SwiftUI. Delivered every Monday.
Customization is back, and Apple’s having fun again.
Toolbars API is one of my favorite APIs in SwiftUI. It allows you to define the toolbar and its items in a very declarative way behaving differently on separate platforms. The next generation of the SwiftUI framework brings us more ways of customizing toolbars. This week we will learn about new Toolbar APIs in SwiftUI.
Introduction One of the best SwiftUI additions this year has to be the Layout protocol. Not only we finally get our hands in the layout process, but it is also a great opportunity to better understand how layout works in SwiftUI.
And the Fun Begins! In the first part of this post we explored the basics of the Layout protocol in order to build a strong foundation of how Layout works. Now it’s time to dive into the less commented features and how to use them in our benefit.
Check with a simple app the optimization to don't SwiftUI redraw view than it is needed. Learn to pass data around safely in SwiftUI.
Learn how to allow users to customize their widgets for an iOS application. Learn how to add a custom intent definition that defines configurable properties, configure the widget by using IntentConfiguration and implement an Intents extension.
Starting SwiftUI 4, Toggle view is now capable of binding to multiple values.
SwiftUI got many beautiful built-in button styles. One problem you might get is it isn't obvious how to control the size of it. Let's learn how to do it.
In this video, I will introduce yu to the Navigation Stack. We will take a look at this new container view along with its components. Namely the new NavigationLink.