SwiftUI Weekly

Share this post

SwiftUI Weekly - Issue #94

weekly.swiftwithmajid.com

SwiftUI Weekly - Issue #94

The curated collection of links about SwiftUI. Delivered every Monday.

Feb 28, 2022
Share this post

SwiftUI Weekly - Issue #94

weekly.swiftwithmajid.com

Reading

How to (not) initialize @State inside the View's init

You should instead use @Binding, @ObservedObject, or a combination between @Binding and @State.

SwiftUI under the Hood: Variadic Views

After some spelunking in SwiftUI internals, we discover how to write better container views.

Using the ViewBuilder Attribute to Implement SwiftUI Views in Methods

Meet the ViewBuilder attribute that enables us to create and return SwiftUI views from methods, and read about an additional useful tip.

Loading an Image with AsyncImage() in SwiftUI

Using SwiftUI to download an image from the internet using SwiftUI's AsyncImage API provided out of the box.

Dynamic and Semantic Colors

The rise of the dark mode on iOS brought about new challenges for color design, namely — we needed two of them now. But, there are also accessibility options to consider.

Video

SwiftUI Filtering with the Searchable Modifier

Apple has a pattern for search and a pattern for filtering data in a list. In this video, you will learn the filter pattern and how to achieve it in SwiftUI with the searchable modifier.

Podcast

Where is Swift headed in 2022?

On this 2022 season premiere, JP Simard returns to the show to discuss what’s next for Swift in 2022, and what kinds of improvements and new features that might be coming to the language during the year.

Share this post

SwiftUI Weekly - Issue #94

weekly.swiftwithmajid.com
TopNew

No posts

Ready for more?

© 2023 Majid Jabrayilov
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing