Cursor is insane, I've written < 5 lines of swift in my life and literally took 20 minutes
anyways. quick clock to try my new base64 time format.
A simple macOS menu bar application built with Swift and AppKit.
- Menu Bar Integration: Appears as a clock icon in your menu bar
- Show Time: Display current date and time in a dialog
- About Dialog: Information about the app
- Clean Interface: Minimal, native macOS design
-
Build the app:
./build_app.sh
-
Install to Applications:
./install.sh
-
Add to Login Items:
- Open System Preferences > Users & Groups > Login Items
- Click '+' and add 'Letter Clock' from Applications
- The app will now start automatically when you log in
-
Build and Run:
swift run
-
Or using Xcode:
- Open the project in Xcode
- Build and run directly
- Look for the clock icon in your menu bar
- Click on it to open the dropdown menu
- Select "Show Time" to see the current date and time
- Use "Quit" to exit the app (or press ⌘Q)
- Swift + AppKit: Native macOS integration
- NSStatusBar: Standard menu bar functionality
- No external dependencies: Uses only system frameworks
The app runs as an accessory application (doesn't appear in the dock) and provides a clean, native macOS experience.