<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPopUpButton/itemTitle(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPopUpButton(im)itemTitleAtIndex:"
  },
  "title" : "itemTitle(at:)"
}
-->

# itemTitle(at:)

Returns the title of the item at the specified index.

```
func itemTitle(at index: Int) -> String
```

## Parameters

`index`

The index of the item you want.

## Return Value

The title of the item, or an empty string if no item exists at the specified index.

## Discussion

---

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)