Welcome to Brian Webster's Blog

Recent Posts

Brian Webster's Avatar'

Opening multiple files in a single SwiftUI document on macOS

I’ve recently been dipping my toes into SwiftUI for the first time, with my first project being a document based app using the SwiftUI lifecycle. This post assumes you’re already familiar with the basics of writing a document based SwiftUI app. My app lets you drag multiple photos into a document and has a basic photo browser for viewing the photos and various control for doing stuff with them...

I’ve recently been dipping my toes into SwiftUI for the first time, with my first project being a document based app using the SwiftUI lifecycle. This post assumes you’re already familiar with the basics of writing a document based SwiftUI app. My app lets you drag multiple photos into a documen...

Brian Webster's Avatar'

Disabling exception breakpoint when running unit tests in Xcode

I just figured out how to solve a problem in Xcode that’s vexed me for a number of years, and thought I’d share. The problem is that I usually have Xcode’s built-in “All Exceptions” breakpoint enabled when debugging my application, but when I run unit tests in Xcode, I have certain unit tests that will throw exceptions and trigger the breakpoint, halting the test until I tell it to continue. So...

I just figured out how to solve a problem in Xcode that’s vexed me for a number of years, and thought I’d share. The problem is that I usually have Xcode’s built-in “All Exceptions” breakpoint enabled when debugging my application, but when I run unit tests in Xcode, I have certain unit tests tha...

Brian Webster's Avatar'

The evolution of macOS frameworks over time

When reading Gus Mueller’s post about how the presence of Marzipan might interact with Apple potentially transitioning to ARM processors, he mentioned that moving to a new architecture is a nice time to drop legacy frameworks and make a clean break with backward compatibility. This got me curious: how many frameworks currently on macOS could actually be dropped altogether? So I dove into the F...

When reading Gus Mueller’s post about how the presence of Marzipan might interact with Apple potentially transitioning to ARM processors, he mentioned that moving to a new architecture is a nice time to drop legacy frameworks and make a clean break with backward compatibility. This got me curious...

Brian Webster's Avatar'

Possibilities for Mac/iOS convergence

A new story was published on Bloomberg this morning outlining rumored Apple plans to further unify the Mac and iOS platforms to make it easier for developers to offer apps for both. In their words: Starting as early as next year, software developers will be able to design a single application that works with a touchscreen or mouse and trackpad depending on whether it’s running on the iPhone...

A new story was published on Bloomberg this morning outlining rumored Apple plans to further unify the Mac and iOS platforms to make it easier for developers to offer apps for both. In their words: Starting as early as next year, software developers will be able to design a single application...