Natalia Panferova's banner
Natalia Panferova's profile picture

Natalia Panferova

@natpanferova25,934 subscribers

iOS | macOS | Swift | SwiftUI | Previously SwiftUI at Apple | Author of books for Swift developers: https://t.co/pu12ODUXyQ

Shorts

Here’s my custom stretchy() SwiftUI modifier built with visualEffect(), powering the stretchy header in Breve ☕️ I shared the code for it earlier in my blog post:

Here’s my custom stretchy() SwiftUI modifier built with visualEffect(), powering the stretchy header in Breve ☕️ I shared the code for it earlier in my blog post:

31,631 次观看

When we wrap content in a ScrollView to support larger text on iOS, it adds bounce behavior even when the content fits with default settings. To avoid it, and still allow scrolling when needed, we can apply .scrollBounceBehavior(.basedOnSize), introduced in SwiftUI in iOS 16.4.

When we wrap content in a ScrollView to support larger text on iOS, it adds bounce behavior even when the content fits with default settings. To avoid it, and still allow scrolling when needed, we can apply .scrollBounceBehavior(.basedOnSize), introduced in SwiftUI in iOS 16.4.

18,852 次观看

Videos

没有更多内容可加载