Skip to content

Commit

Permalink
[2.0.0] release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesquires committed Jan 27, 2024
1 parent 6f52edc commit 8939aa9
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand All @@ -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")
]
```

Expand Down
2 changes: 1 addition & 1 deletion StatusItemController.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 2 additions & 2 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="search.json">
Expand Down Expand Up @@ -108,7 +108,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
4 changes: 2 additions & 2 deletions docs/Classes/StatusItemController.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="StatusItemController Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="../index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down Expand Up @@ -404,7 +404,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
4 changes: 2 additions & 2 deletions docs/Extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="Extensions Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="search.json">
Expand Down Expand Up @@ -156,7 +156,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
4 changes: 2 additions & 2 deletions docs/Extensions/NSApplication.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="NSApplication Extension Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="../index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down Expand Up @@ -109,7 +109,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
4 changes: 2 additions & 2 deletions docs/Extensions/NSEvent.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="NSEvent Extension Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="../index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down Expand Up @@ -109,7 +109,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
23 changes: 18 additions & 5 deletions docs/Extensions/NSMenuItem.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a title="NSMenuItem Extension Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="../index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="../search.json">
Expand Down Expand Up @@ -79,9 +79,9 @@ <h1>NSMenuItem</h1>
<li class="item">
<div>
<code>
<a name="/s:So10NSMenuItemC06StatusB10ControllerE5title6target6action13keyEquivalent9isEnabledABSS_yXlSg10ObjectiveC8SelectorVSgSSSbtcfc"></a>
<a name="//apple_ref/swift/Method/init(title:target:action:keyEquivalent:isEnabled:)" class="dashAnchor"></a>
<a class="token" href="#/s:So10NSMenuItemC06StatusB10ControllerE5title6target6action13keyEquivalent9isEnabledABSS_yXlSg10ObjectiveC8SelectorVSgSSSbtcfc">init(title:<wbr>target:<wbr>action:<wbr>keyEquivalent:<wbr>isEnabled:<wbr>)</a>
<a name="/s:So10NSMenuItemC06StatusB10ControllerE5title5image6target6action13keyEquivalent9isEnabledABSS_So7NSImageCSgyXlSg10ObjectiveC8SelectorVSgSSSbtcfc"></a>
<a name="//apple_ref/swift/Method/init(title:image:target:action:keyEquivalent:isEnabled:)" class="dashAnchor"></a>
<a class="token" href="#/s:So10NSMenuItemC06StatusB10ControllerE5title5image6target6action13keyEquivalent9isEnabledABSS_So7NSImageCSgyXlSg10ObjectiveC8SelectorVSgSSSbtcfc">init(title:<wbr>image:<wbr>target:<wbr>action:<wbr>keyEquivalent:<wbr>isEnabled:<wbr>)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -97,6 +97,7 @@ <h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">convenience</span> <span class="nf">init</span><span class="p">(</span><span class="nv">title</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span>
<span class="nv">image</span><span class="p">:</span> <span class="kt">NSImage</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
<span class="nv">target</span><span class="p">:</span> <span class="kt">AnyObject</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
<span class="nv">action</span><span class="p">:</span> <span class="kt">Selector</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
<span class="nv">keyEquivalent</span><span class="p">:</span> <span class="kt">String</span> <span class="o">=</span> <span class="s">""</span><span class="p">,</span>
Expand All @@ -120,6 +121,18 @@ <h4>Parameters</h4>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>image</em>
</code>
</td>
<td>
<div>
<p>The image for the menu item.</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
Expand Down Expand Up @@ -179,7 +192,7 @@ <h4>Parameters</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a title="StatusItemController Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">StatusItemController 1.2.0 Docs</a> (100% documented)</p>
<p><a href="index.html">StatusItemController 2.0.0 Docs</a> (100% documented)</p>
<p class="header-right"><a href="https://github.com/hexedbits/StatusItemController"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
<div class="header-right">
<form role="search" action="search.json">
Expand Down Expand Up @@ -89,20 +89,20 @@ <h2 id='usage' class='heading'>Usage</h2>
<h2 id='requirements' class='heading'>Requirements</h2>

<ul>
<li>macOS 10.15+</li>
<li>macOS 11.0+</li>
<li>Swift 5.9+</li>
<li>Xcode 15.0+</li>
<li><a href="https://github.com/realm/SwiftLint">SwiftLint</a></li>
</ul>
<h2 id='installation' class='heading'>Installation</h2>
<h3 id='a-href-http-cocoapods-org-cocoapods-a' class='heading'><a href="http://cocoapods.org">CocoaPods</a></h3>
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'StatusItemController'</span><span class="p">,</span> <span class="s1">'~&gt; 1.0.0'</span>
<pre class="highlight ruby"><code><span class="n">pod</span> <span class="s1">'StatusItemController'</span><span class="p">,</span> <span class="s1">'~&gt; 2.0.0'</span>
</code></pre>
<h3 id='a-href-https-swift-org-package-manager-swift-package-manager-a' class='heading'><a href="https://swift.org/package-manager/">Swift Package Manager</a></h3>

<p>Add <code><a href="Classes/StatusItemController.html">StatusItemController</a></code> to the <code>dependencies</code> value of your <code>Package.swift</code>.</p>
<pre class="highlight swift"><code><span class="nv">dependencies</span><span class="p">:</span> <span class="p">[</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/hexedbits/StatusItemController"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"1.0.0"</span><span class="p">)</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/hexedbits/StatusItemController"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"2.0.0"</span><span class="p">)</span>
<span class="p">]</span>
</code></pre>

Expand Down Expand Up @@ -139,7 +139,7 @@ <h2 id='license' class='heading'>License</h2>
</section>
</section>
<section id="footer">
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-09)</p>
<p>&copy; 2024 <a class="link" href="https://jessesquires.com" target="_blank" rel="external noopener">Jesse Squires</a>. All rights reserved. (Last updated: 2024-01-26)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</article>
Expand Down
Loading

0 comments on commit 8939aa9

Please sign in to comment.