Tag SwiftUI

Xcode SwiftUI Preview Tips

Archive note — October 23, 2026: This article records an Xcode workflow from February 2024. Its screenshots, cache troubleshooting, and custom PREVIEW compilation flag reflect that setup; they have not been retested against current Xcode releases. Loved by some, hated…

SwiftUI autocomplete tricks

Fonts There are some view properties which you use a lot and are difficult to type like: .font(.caption) here you type .font [ENTER] -> this makes .font(), you have to cursor back into the brackets to type .cap[ENTER] This you…

Xcode tip – rename

When you start developing an app, you don't often know yet what the real name of your app will be, even you think you know. What do I mean by that? Well, say you call your app TrainSleeper. You create…