Swift and iOS dev with Igor
The ride of the iOS developer

Styling Components in SwiftUI

Detailed deep-dive by Kasper Lahti from Moving Parts into custom styling of SwiftUI views. And even more details in Composable Styles in SwiftUI with 🤯 catch:

... styles aren’t reset to the view’s default style as we speculated before. Instead, it seems like styles are pushed onto a stack, and they’re popped off the stack when used by the view.

Published on: May 5, 2023
Tagged with: