A tiny SwiftUI menu bar app for macOS. An icon appears in the menu bar; click it to open a small scratch pad window that stays on top.
- Xcode 15 or newer
- macOS 14+ (Sonoma) or newer
- Swift 5.9+
- Install Xcode from the Mac App Store.
- Clone the repository:
git clone <your-repo-url> cd ScratchPad
- Open the project in Xcode:
- Open
ScratchPad.xcodeproj.
- Open
- Select the scheme
ScratchPad. - Set the run destination to
My Mac. - Press Run (⌘R).
- The app will build and launch.
- An icon appears in the top-right menu bar; click it to toggle the scratch pad.
If you want to run the app outside Xcode on your machine:
- In Xcode, select the
ScratchPadtarget →Signing & Capabilities.- Set
Teamto your Apple ID/team. - Ensure the
Bundle Identifieris unique (e.g.,com.yourname.ScratchPad).
- Set
- Product → Archive.
- In the Organizer, choose
Distribute App→Developmentand export the.app. - Drag the exported
.appto/Applications.- On first launch, if macOS warns about an unidentified developer, right-click the app →
Open, then confirm.
- On first launch, if macOS warns about an unidentified developer, right-click the app →
xcodebuild -project ScratchPad.xcodeproj -scheme ScratchPad -destination 'platform=macOS' build- This project is macOS-only.