Josh Holtz: How to Think Like a SwiftUI ViewModifier

  Переглядів 1,227

Swift Heroes

Swift Heroes

День тому

Presented at Swift Heroes 2021
HOW TO THINK LIKE A SWIFTUI VIEWMODIFIER
Josh Holtz, Lead Maintainer, fastlane tools
ViewModifiers are a key component when developing any SwiftUI application. I've used them without knowing I was using them and chances are you have too. Some examples of the view modifiers you'll find baked into SwiftUI are background, frame, font, and bold. But what exactly is a ViewModifier and how do you make your own? It's a function that makes a copy of a view and then modifies it. This talk will cover how view modifiers are applied, the importance of order, and how to create your own custom modifiers. We'll end with an advanced example of creating swipeable cell modifier for a scroll view.
#SwiftHeroes #SwiftConnected
swiftheroes.com/
/ swiftheroes_it
/ swift-heroes

КОМЕНТАРІ: 1
@JamesHaleyRentingAmerica
@JamesHaleyRentingAmerica 2 роки тому
I could not find the source code in this video. I love to learn from it if still available.
Build Anything with Llama 3 Agents, Here’s How
12:23
David Ondrej
Переглядів 4 тис.
SUPER PRAYER (all 4 shorts) Steve, Herobrine & Alex
00:27
Sam Green
Переглядів 12 млн
Такого от бабушки мы не ожидали 😂
01:00
How Discord Stores Trillions of Messages | Deep Dive
1:08:33
Hussein Nasser
Переглядів 171 тис.
The latest developments in fusion energy - with the UKAEA
58:43
The Royal Institution
Переглядів 45 тис.
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
3:36:55
TechWorld with Nana
Переглядів 8 млн
They Enabled Postgres Partitioning and their Backend fell apart
31:52
Hussein Nasser
Переглядів 35 тис.
Everything I Learned at Stanford Business School in 28 Minutes
28:52
iPhone 16 SE - Бюджетний винищувач Android | Новини Тижня
21:29
Зачем нужна эта кнопка?
0:25
Construct PC
Переглядів 97 тис.
СИНИЙ ЭКРАН СМЕРТИ - ОБЪЯСНЯЕМ
14:55
Droider
Переглядів 273 тис.