Use 'git mv' to record filename case changes in Git
Ole Begemannby Ole Begemann16 Dec 2025
After my previous post Tracking renamed files in Git, here’s another entry in my ongoing series “I thought git mv was useless but I was wrong”.
oleb.netadded August 2026
Ole Begemannby Ole Begemann16 Dec 2025
After my previous post Tracking renamed files in Git, here’s another entry in my ongoing series “I thought git mv was useless but I was wrong”.
Ole Begemannby Ole Begemann15 Dec 2025
Git famously doesn’t track file renames. That is, Git doesn’t store the information “file A has been renamed to B in commit X”. Instead, Git stores snapshots of the repository at each commit.
Ole Begemannby Ole Begemann5 Mar 2024
The Swift website provides nightly builds of the Swift compiler (called toolchains) for download.
Ole Begemannby Ole Begemann29 Feb 2024
You may have noticed that the Swift compiler automatically treats the closure of a DispatchQueue.main.async call as @MainActor.
Ole Begemannby Ole Begemann24 Mar 2023
I have one more thing to say on the relative sizing view modifier from my previous post, Working with percentages in SwiftUI layout. I’m assuming you’ve read that article.
Ole Begemannby Ole Begemann9 Mar 2023
I rarely participate actively in the Swift Evolution process, but I frequently refer to evolution proposals for my work, often multiple times per week.
Ole Begemannby Ole Begemann31 Jan 2023
I know I’m almost a decade late to this party, but I’m probably not the only one, so here goes. Double Fine Adventure was a wildly successful 2012 Kickstarter project to crowdfund the development...
Ole Begemannby Ole Begemann15 Dec 2022
I wrote an app called SwiftUI View Lifecycle. The app allows you to observe how different SwiftUI constructs and containers affect a view’s lifecycle, including the lifetime of its state and when...
Ole Begemannby Ole Begemann12 Oct 2022
Mac apps built with Xcode 14.0 and 14.0.1 may contain concurrency bugs because the Swift 5.7 compiler can generate invalid code when targeting the macOS 12.3 SDK.
Ole Begemannby Ole Begemann3 Aug 2022
iOS 16 beta 4 is the first SDK release that supports Live Activities. A Live Activity is a widget-like view an app can place on your lock screen and update in real time.
Ole Begemannby Ole Begemann5 May 2022
@MainActor is a Swift annotation to coerce a function to always run on the main thread and to enable the compiler to verify this. How does this work?
Ole Begemannby Ole Begemann27 Apr 2022
Here’s a simple AttributedString with some formatting: import Foundation let str = try! AttributedString( markdown: "Café **Sol**", options: .init(interpretedSyntax: .inlineOnly) ) AttributedString...
Ole Begemannby Ole Begemann28 Mar 2022
We released the fifth edition of our book Advanced Swift a few days ago. You can buy the ebook on the objc.io site.