SwiftUI matched geometry effect in a custom segmented control
Learn how to use matchedGeometryEffect() in SwiftUI to animate a capsule background that highlights the selected option in a custom segmented control.
I recently built a custom segmented control in #SwiftUI and found that matchedGeometryEffect() provided an easy way to animate a capsule highlighting the selected option as it transitions between choices.
I summarized the example in a blog post: nilcoalescing.com/blog/CustomS...
01.12.2024 06:35
π 73
π 8
π¬ 4
π 1
Iβve just started this brand-new group with Apple platforms developers.
New here myself - say Hi to join. Please repost for some visibility.
28.11.2024 12:44
π 87
π 43
π¬ 103
π 6
Hi π
29.11.2024 18:20
π 1
π 0
π¬ 0
π 0
Thatβd be great! π
29.11.2024 11:26
π 0
π 0
π¬ 0
π 0
Customizing the appearance of symbol images in SwiftUI
Learn how to adjust size, color, rendering modes, variable values, and design variants of SF Symbols in SwiftUI apps.
There are many ways to customize SF Symbols in #SwiftUI. I have a detailed post covering how to adjust their size, color, rendering modes, variable values, and design variants that can serve as a great reference when working with symbol images in iOS apps: nilcoalescing.com/blog/Customi...
21.11.2024 08:20
π 82
π 15
π¬ 4
π 2