SwiftUI100

Working through the 100 Days of SwiftUI on Paul Hudson’s Hacking With Swift site, I decided I wanted to try and complete each day and run the code on the Apple Watch. This meant dealing with some parts of SwiftUI which are not currently available to watchOS.

  • Day 20 – Material struct is not available on watchOS

    Looks like the Material struct is not available on watchOS, for instance the background below works well on iOS and iPadOS, but throws and error in Xcode if you try to using it in an…

    black apple watch with black sports band

  • Day 17 (WeSplit)

    Today, the modifier .keyboardType() is unavailable for watchOS. I guess that makes sense in a way as some models of Apple Watch do not even have an on-screen keyboard. However, it might be nice to…

    Spare keys from solid state keyboard (keyboard keys)

Search for an article