How to show dropdown in AppKit

Issue #336

Use NSPopUpButton

var pullsDown: Bool

A Boolean value indicating whether the button displays a pull-down or pop-up menu.

func addItem(withTitle: String)
Adds an item with the specified title to the end of the menu.

Should disable pullsDown if we want to set title automatically and not scale button for title

Read more

Comments