This is a macOS menu bar application that displays the current time in two time zones: Los Angeles (LA) and New York (NY). The application updates the time every second and is implemented using SwiftUI.
- Displays current time for Los Angeles (LA) and New York (NY) in the macOS menu bar.
- Real-time time update every second.
- Minimal UI with the ability to exit the application from the menu.
To build and run this app, ensure you have Xcode installed on your macOS machine.
-
Clone the repository:
git clone https://github.com/yourusername/BankingHelperApp.git
-
Open the project in Xcode:
open BankingHelperApp.xcodeproj
-
Build and run the app on your macOS device.
Once the app is running, it will appear as an icon in your macOS menu bar displaying the current time for Los Angeles (LA) and New York (NY) in real-time.
- Close the Xcode, you'll see the timer closing
command + spaceand search by: MenuBarApp
If you want to reorder system-wide icons (like Wi-Fi, Battery, etc.), follow these steps:
- Hold the
Command (⌘)key on your keyboard. - Click and drag any icon in the menu bar (including the app's time display).
- Release the icon when it’s in the desired position.
This works for most apps that place icons in the macOS menu bar.