From 8939aa959a8bf5b7fbc7bc5c495da513366525a0 Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 26 Jan 2024 19:58:27 -0800 Subject: [PATCH] [2.0.0] release prep --- README.md | 4 ++-- StatusItemController.podspec | 2 +- docs/Classes.html | 4 ++-- docs/Classes/StatusItemController.html | 4 ++-- docs/Extensions.html | 4 ++-- docs/Extensions/NSApplication.html | 4 ++-- docs/Extensions/NSEvent.html | 4 ++-- docs/Extensions/NSMenuItem.html | 23 ++++++++++++++++++----- docs/index.html | 10 +++++----- docs/search.json | 2 +- 10 files changed, 37 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 36eeee1..59848a4 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This component is used in [Red Eye](https://www.hexedbits.com/redeye/) and [Luci ### [CocoaPods](http://cocoapods.org) ````ruby -pod 'StatusItemController', '~> 1.0.0' +pod 'StatusItemController', '~> 2.0.0' ```` ### [Swift Package Manager](https://swift.org/package-manager/) @@ -40,7 +40,7 @@ Add `StatusItemController` to the `dependencies` value of your `Package.swift`. ```swift dependencies: [ - .package(url: "https://github.com/hexedbits/StatusItemController", from: "1.0.0") + .package(url: "https://github.com/hexedbits/StatusItemController", from: "2.0.0") ] ``` diff --git a/StatusItemController.podspec b/StatusItemController.podspec index 383dd6b..8778b18 100644 --- a/StatusItemController.podspec +++ b/StatusItemController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'StatusItemController' - s.version = '1.2.0' + s.version = '2.0.0' s.license = 'MIT' s.summary = 'A "view controller" for menu bar Mac apps' diff --git a/docs/Classes.html b/docs/Classes.html index 36659e3..ded4083 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -17,7 +17,7 @@
-

StatusItemController 1.2.0 Docs (100% documented)

+

StatusItemController 2.0.0 Docs (100% documented)

GitHubView on GitHub

@@ -108,7 +108,7 @@

Declaration

diff --git a/docs/Classes/StatusItemController.html b/docs/Classes/StatusItemController.html index d1a713d..d884038 100644 --- a/docs/Classes/StatusItemController.html +++ b/docs/Classes/StatusItemController.html @@ -17,7 +17,7 @@
-

StatusItemController 1.2.0 Docs (100% documented)

+

StatusItemController 2.0.0 Docs (100% documented)

GitHubView on GitHub

@@ -404,7 +404,7 @@

Declaration

diff --git a/docs/Extensions.html b/docs/Extensions.html index 594590a..071d54d 100644 --- a/docs/Extensions.html +++ b/docs/Extensions.html @@ -17,7 +17,7 @@
-

StatusItemController 1.2.0 Docs (100% documented)

+

StatusItemController 2.0.0 Docs (100% documented)

GitHubView on GitHub

@@ -156,7 +156,7 @@

Declaration

diff --git a/docs/Extensions/NSApplication.html b/docs/Extensions/NSApplication.html index 2e936b3..92937dc 100644 --- a/docs/Extensions/NSApplication.html +++ b/docs/Extensions/NSApplication.html @@ -17,7 +17,7 @@
-

StatusItemController 1.2.0 Docs (100% documented)

+

StatusItemController 2.0.0 Docs (100% documented)

GitHubView on GitHub

@@ -109,7 +109,7 @@

Declaration

diff --git a/docs/Extensions/NSEvent.html b/docs/Extensions/NSEvent.html index 8830648..8f400c0 100644 --- a/docs/Extensions/NSEvent.html +++ b/docs/Extensions/NSEvent.html @@ -17,7 +17,7 @@
-

StatusItemController 1.2.0 Docs (100% documented)

+

StatusItemController 2.0.0 Docs (100% documented)

GitHubView on GitHub

@@ -109,7 +109,7 @@

Declaration

diff --git a/docs/Extensions/NSMenuItem.html b/docs/Extensions/NSMenuItem.html index 50b4ad0..28e184a 100644 --- a/docs/Extensions/NSMenuItem.html +++ b/docs/Extensions/NSMenuItem.html @@ -17,7 +17,7 @@
-

StatusItemController 1.2.0 Docs (100% documented)

+

StatusItemController 2.0.0 Docs (100% documented)

GitHubView on GitHub

@@ -79,9 +79,9 @@

NSMenuItem

  • @@ -97,6 +97,7 @@

    Declaration

    Swift

    public convenience init(title: String,
    +                        image: NSImage? = nil,
                             target: AnyObject? = nil,
                             action: Selector? = nil,
                             keyEquivalent: String = "",
    @@ -120,6 +121,18 @@ 

    Parameters

    + + + + image + + + +
    +

    The image for the menu item.

    +
    + + @@ -179,7 +192,7 @@

    Parameters

    diff --git a/docs/index.html b/docs/index.html index 5c167e1..7ec704e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,7 @@
    -

    StatusItemController 1.2.0 Docs (100% documented)

    +

    StatusItemController 2.0.0 Docs (100% documented)

    GitHubView on GitHub

    @@ -89,20 +89,20 @@

    Usage

    Requirements

      -
    • macOS 10.15+
    • +
    • macOS 11.0+
    • Swift 5.9+
    • Xcode 15.0+
    • SwiftLint

    Installation

    CocoaPods

    -
    pod 'StatusItemController', '~> 1.0.0'
    +
    pod 'StatusItemController', '~> 2.0.0'
     

    Swift Package Manager

    Add StatusItemController to the dependencies value of your Package.swift.

    dependencies: [
    -    .package(url: "https://github.com/hexedbits/StatusItemController", from: "1.0.0")
    +    .package(url: "https://github.com/hexedbits/StatusItemController", from: "2.0.0")
     ]
     
    @@ -139,7 +139,7 @@

    License

    diff --git a/docs/search.json b/docs/search.json index 18e0fdf..06b7e5e 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Extensions/NSMenuItem.html#/s:So10NSMenuItemC06StatusB10ControllerE5title6target6action13keyEquivalent9isEnabledABSS_yXlSg10ObjectiveC8SelectorVSgSSSbtcfc":{"name":"init(title:target:action:keyEquivalent:isEnabled:)","abstract":"\u003cp\u003eA convenience init for \u003ccode\u003eNSMenuItem\u003c/code\u003e.\u003c/p\u003e","parent_name":"NSMenuItem"},"Extensions/NSEvent.html#/s:So7NSEventC20StatusItemControllerE14isRightClickUpSbvp":{"name":"isRightClickUp","abstract":"\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e if the event is \u003ccode\u003e.rightMouseUp\u003c/code\u003e or equivalent.","parent_name":"NSEvent"},"Extensions/NSApplication.html#/s:So13NSApplicationC20StatusItemControllerE26isCurrentEventRightClickUpSbvp":{"name":"isCurrentEventRightClickUp","abstract":"\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e if the application\u0026rsquo;s current event is \u003ccode\u003e.rightMouseUp\u003c/code\u003e or equivalent.","parent_name":"NSApplication"},"Extensions/NSApplication.html":{"name":"NSApplication"},"Extensions/NSEvent.html":{"name":"NSEvent"},"Extensions/NSMenuItem.html":{"name":"NSMenuItem"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC06statusB0So08NSStatusB0Cvp":{"name":"statusItem","abstract":"\u003cp\u003eThe status item.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC5image6lengthABSo7NSImageC_14CoreFoundation7CGFloatVtcfc":{"name":"init(image:length:)","abstract":"\u003cp\u003eCreates a new \u003ccode\u003eStatusItemController\u003c/code\u003e.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC9buildMenuSo6NSMenuCyF":{"name":"buildMenu()","abstract":"\u003cp\u003eConstructs an \u003ccode\u003eNSMenu\u003c/code\u003e to display for the status item.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC15leftClickActionyyF":{"name":"leftClickAction()","abstract":"\u003cp\u003eThe action to be executed on the \u003ccode\u003e.leftMouseDown\u003c/code\u003e event.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC16rightClickActionyyF":{"name":"rightClickAction()","abstract":"\u003cp\u003eThe action to be executed on \u003ccode\u003e.rightMouseUp\u003c/code\u003e event.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC8openMenuyyF":{"name":"openMenu()","abstract":"\u003cp\u003eOpens the status item menu.","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC8hideMenuyyF":{"name":"hideMenu()","abstract":"\u003cp\u003eHides the status item menu.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/c:@M@StatusItemController@objc(cs)StatusItemController(im)quit":{"name":"quit()","abstract":"\u003cp\u003eQuits the application.","parent_name":"StatusItemController"},"Classes/StatusItemController.html":{"name":"StatusItemController","abstract":"\u003cp\u003eController for an \u003ccode\u003eNSStatusItem\u003c/code\u003e. Designed to be subclassed.\u003c/p\u003e"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"}} \ No newline at end of file +{"Extensions/NSMenuItem.html#/s:So10NSMenuItemC06StatusB10ControllerE5title5image6target6action13keyEquivalent9isEnabledABSS_So7NSImageCSgyXlSg10ObjectiveC8SelectorVSgSSSbtcfc":{"name":"init(title:image:target:action:keyEquivalent:isEnabled:)","abstract":"\u003cp\u003eA convenience init for \u003ccode\u003eNSMenuItem\u003c/code\u003e.\u003c/p\u003e","parent_name":"NSMenuItem"},"Extensions/NSEvent.html#/s:So7NSEventC20StatusItemControllerE14isRightClickUpSbvp":{"name":"isRightClickUp","abstract":"\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e if the event is \u003ccode\u003e.rightMouseUp\u003c/code\u003e or equivalent.","parent_name":"NSEvent"},"Extensions/NSApplication.html#/s:So13NSApplicationC20StatusItemControllerE26isCurrentEventRightClickUpSbvp":{"name":"isCurrentEventRightClickUp","abstract":"\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e if the application\u0026rsquo;s current event is \u003ccode\u003e.rightMouseUp\u003c/code\u003e or equivalent.","parent_name":"NSApplication"},"Extensions/NSApplication.html":{"name":"NSApplication"},"Extensions/NSEvent.html":{"name":"NSEvent"},"Extensions/NSMenuItem.html":{"name":"NSMenuItem"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC06statusB0So08NSStatusB0Cvp":{"name":"statusItem","abstract":"\u003cp\u003eThe status item.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC5image6lengthABSo7NSImageC_14CoreFoundation7CGFloatVtcfc":{"name":"init(image:length:)","abstract":"\u003cp\u003eCreates a new \u003ccode\u003eStatusItemController\u003c/code\u003e.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC9buildMenuSo6NSMenuCyF":{"name":"buildMenu()","abstract":"\u003cp\u003eConstructs an \u003ccode\u003eNSMenu\u003c/code\u003e to display for the status item.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC15leftClickActionyyF":{"name":"leftClickAction()","abstract":"\u003cp\u003eThe action to be executed on the \u003ccode\u003e.leftMouseDown\u003c/code\u003e event.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC16rightClickActionyyF":{"name":"rightClickAction()","abstract":"\u003cp\u003eThe action to be executed on \u003ccode\u003e.rightMouseUp\u003c/code\u003e event.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC8openMenuyyF":{"name":"openMenu()","abstract":"\u003cp\u003eOpens the status item menu.","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/s:20StatusItemControllerAAC8hideMenuyyF":{"name":"hideMenu()","abstract":"\u003cp\u003eHides the status item menu.\u003c/p\u003e","parent_name":"StatusItemController"},"Classes/StatusItemController.html#/c:@M@StatusItemController@objc(cs)StatusItemController(im)quit":{"name":"quit()","abstract":"\u003cp\u003eQuits the application.","parent_name":"StatusItemController"},"Classes/StatusItemController.html":{"name":"StatusItemController","abstract":"\u003cp\u003eController for an \u003ccode\u003eNSStatusItem\u003c/code\u003e. Designed to be subclassed.\u003c/p\u003e"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"}} \ No newline at end of file