<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPopUpButton/init(title:image:pullDownMenu:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:So13NSPopUpButtonC6AppKitE5title5image12pullDownMenuABSS_So7NSImageCSgSo6NSMenuCtcfc"
  },
  "title" : "init(title:image:pullDownMenu:)"
}
-->

# init(title:image:pullDownMenu:)

Creates a standard pull-down button with a title, optional image, and menu.

```
@backDeployed(before: macOS 15.0)
@MainActor @preconcurrency convenience init(title: String, image: NSImage? = nil, pullDownMenu: NSMenu)
```

## Parameters

`title`

The localized title string that is displayed on the button.

`image`

The icon that is displayed on the button.

`pullDownMenu`

The pull-down menu to present when interacting with the button.

## Return Value

An initialized pull-down button object.

## Discussion

Pull-down buttons created using this method have the `usesItemFromMenu` property set to `false`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)