Nightfall

When Apple released macOS Mojave in 2018, it included a new system-wide dark mode. However, the only way to enable/disable dark mode was from System Preferences. I created Nightfall to solve this issue.

Nightfall is a menu bar utility app that allows users to toggle dark mode in just one click. Rick clicking on the icon opens a context menu to reveal additional options. I built the application entirely in Swift.

A unique feature of this app is that the transition to and from dark mode is done smoothly, similar to when the appearance is changed in System Preferences. This is accomplished by capturing an image of the full screen and briefly displaying it as an overlay window. The timing can be fully customized. This works properly with multiple displays as well.

In early 2020, I released the 2.0 version of Nightfall. This update focused on improvements to code structure. I rewrote much of the app's code for this release, with the goal of improving organization and maintainability. This included converting all of the app's view code to SwiftUI.