An Apple Watch app with SwiftUI: what really matters

You build Apple Watch apps entirely in SwiftUI. What's different from the iPhone, and how a watch app should feel.

2 min readby Luca Ring

Apple Watch on a wrist showing the Thoughts app's topic overview
Thoughts on Apple Watch: capture something quickly without reaching for your iPhone.

Apple Watch is the most personal Apple device. A watch app isn't used for minutes, but for a few seconds, often on the move. That's exactly what makes it special, and so different from an iPhone app. That's why Thoughts also has a version for your wrist.

Apple Watch on a wrist showing the Thoughts app's topic overview
Thoughts on Apple Watch: capture something quickly without reaching for your iPhone.

SwiftUI from the start

watchOS apps are built entirely in SwiftUI. Since watchOS 7 they're independent and don't need a running iPhone. In Xcode, you simply add a watchOS target to your project. You can share much of your model and logic code with the iPhone app.

Designing for a few seconds

  • One main task: what should someone get done in five seconds? For Thoughts: capture a thought quickly.
  • NavigationStack and lists: flat hierarchies, large tap targets, the Digital Crown for scrolling.
  • Dictate instead of typing: text fields offer dictation and Scribble. Ideal for short input.
  • Pages instead of tabs: with TabView and the verticalPage style, users flip through sections with the crown.

Data between watch and iPhone

There are two ways to sync. If your app uses SwiftData or CloudKit, iCloud syncs data to the watch too, as in Thoughts. For direct, quick messages between iPhone and watch there's WatchConnectivity with WCSession, for example for settings or a nudge to refresh.

Complications and Smart Stack

Your app is seen most not inside the app but on the watch face. Today you build complications with WidgetKit, just like widgets for the iPhone. With relevance dates, your widget appears in the Smart Stack exactly when it's needed. The basics are in Widgets with WidgetKit.

Test on a real wrist

The simulator is fine for layouts, but only on your wrist do you notice whether buttons are big enough and whether a task really takes seconds. Share test builds early via TestFlight and wear the watch with your app for a whole day.

  • watchOS
  • Apple Watch app
  • SwiftUI
  • WatchConnectivity
  • complications