Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cf55aa859 | |||
| db47f2cbd6 |
@@ -4,6 +4,12 @@ Fully customizable Mac OS drop-down menu
|
||||
|
||||

|
||||
|
||||
## Requirements
|
||||
|
||||
* Xcode 11+
|
||||
* Mac OS 10.12+
|
||||
* Swift 5.0 and higher
|
||||
|
||||
## What can be customized? Everything!
|
||||
```swift
|
||||
public protocol Configuration {
|
||||
@@ -43,7 +49,7 @@ import Cocoa
|
||||
import Menu
|
||||
|
||||
class ViewController: NSViewController {
|
||||
private let myMenu = Menu(with: "Select search engine:")
|
||||
private let myMenu = Menu(with: "Select a search engine:")
|
||||
|
||||
@IBAction func didClickedButton(_ sender: NSButton) {
|
||||
myMenu.show(items: [
|
||||
|
||||
Reference in New Issue
Block a user