← Home Subscribe

Zac White

Code, Snippets, Tips & Tricks

  • Jun 06
    Ideal Cross-Platform Return Key Behavior with SwiftUI's TextField

    Getting ideal return key behavior for a multi-line TextField for chat message input in SwiftUI on macOS Catalyst

  • Sep 02
    Detecting SwiftUI Previews

    How to figure out if your View is being displayed in a SwiftUI preview

  • Sep 30
    ScrollView Content Offsets with SwiftUI

    How to get a content offset from a ScrollView in SwiftUI

  • May 13
    Templates in Swift with ExpressibleByStringInterpolation

    Using ExpressibleByStringInterpolation to build better type-safe templates

  • May 12
    New Site

    New site with posts coming soon

© Copyright 2024 Zac White