SwiftUI Weekly

Share this post

SwiftUI Weekly - Issue #121

weekly.swiftwithmajid.com

SwiftUI Weekly - Issue #121

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

Nov 21, 2022
Share this post

SwiftUI Weekly - Issue #121

weekly.swiftwithmajid.com

Sponsor

Ship your iOS apps faster! — codemagic.io

CI/CD for iOS and macOS developers. Fast builds on M1 machines and predictable pricing. Automatic code signing and publishing with really good documentation.

Reading

Building custom layout in SwiftUI. Basics.

Nowadays, SwiftUI provides the Layout protocol allowing us to build super-custom layouts by digging into the layout system without using GeometryReader. Layout protocol brings us the incredible power of building and reusing any layout you can imagine. This week we will learn how to use the new Layout protocol to build a flow layout in SwiftUI.

A Guided Tour for SwiftUI ForEach Structure

Learn about SwiftUI ForEach in this article. Discover how to use SwiftUI ForEach with nontrivial examples.

Providing a default value for a SwiftUI Binding

Sometimes in SwiftUI apps I’ll find that I have a model with an optional value that I’d like to pass to a view that requires a non optional value.

Using complex gestures in a ScrollView

Using long press and drag gestures in a SwiftUI ScrollView is complicated, since they steal the touch events and cause scrolling to stop working. I’ve been trying to fix this, and have found a way that seems promising, that involves using a button style to handle the scroll blocking gestures.

SwiftUI Tip: Enumerating a View State

Using Swift enums to describe the possible states of a View.

Video

Composition in TCA: Scope, Combine and Pullback operators

In this video, we will introduce the concept of composition in TCA using three operators to combine small domains to build a large one. This is useful to modularize your app really easy.

Podcast

‎Empower Apps: Behind the Scenes of SwiftUI.

Aviel Gross talks about how to improve performance in your SwiftUI and what happens behind the scenes as your application updates.

Share this post

SwiftUI Weekly - Issue #121

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