From d431367a4afb72c343391bcea954d68fcd4b86d2 Mon Sep 17 00:00:00 2001 From: Niyaz Akhmetov Date: Sat, 10 May 2025 16:14:26 +0300 Subject: [PATCH] fix some mistypes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ea2757..0b91006 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@ Build a menubar app easily on macOS. Support both **SwiftUI** and **AppKit**. Open **XCode**, then **File** -> **Add Package Dependencies...**, on the new window, copy `https://github.com/boybeak/Tray.git` and paste it to search input. ## Usage -Import `Tray` before use it. +Import `Tray` before using it. ```swift import Tray ``` -Then, on your `AppDelegate` class, declare a class variable `private let tray = Tray()`. Then set arguments to the tray in `applicationDidFinishLaunching`, after that, install it. +Then, in your `AppDelegate` class, declare a class variable `private let tray = Tray()`. Then set arguments to the tray in `applicationDidFinishLaunching`, after that, install it. ```swift class AppDelegate: NSObject, NSApplicationDelegate {