Articles

FB22209008 — Xcode Source Control Navigator keeps listing deleted Git branches even after Refresh File Status

Deleting a Git branch outside of Xcode does not remove it from the Source Control Navigator until Xcode is restarted — Refresh File Status does not help.

SwiftUI ScrollView Centered Items with ScrollTargetBehavior

How to make a horizontal ScrollView center each item as the user scrolls, while keeping the edges of adjacent items visible.

Tips for localizing SwiftUI apps

Lessons learned from localizing Workout Shoes to German without ever touching the Localizable.strings file.

error [PHPhotosErrorDomain] -1: The operation couldn't be completed.

A quick fix for PHPhotosErrorDomain error -1 when adding images to Simulator with xcrun simctl addmedia.

Extend Swift types with static parameters for reuse, consistency, and faster coding

A cleaner alternative to a GlobalSettings struct — extend individual types for dot-syntax autocomplete and faster compile times.

Put Swift's Logger to good use: log everything & keep your console decluttered

How to use Apple's Logger framework to monitor your app's behavior while keeping your Xcode console clean and focused.