← Back

Introducing Black Eye

13 Feb, 2024

Black Eye app icon featuring a dithered coffee cup with steam

This simple menu bar app was written entirely in SwiftUI and prevents the Mac from both sleep and screensaver using IOKit.

A similar app I used recently decided to go behind a paywall. The challenge was accepted and using my Hacking with macOS book, the Apple Developer Documentation and ChatGPT (😏) I managed to hammer out Black Eye in an evening.

The project is completely open and released under the MIT license.

Happy hacking!

#macos #swiftui #sleep