Skip to content
How to retrieve the selected item or index of an NSPopUpButtonCell?
Objective-C
Find file
Latest commit 754ceca Feb 1, 2012 @johnjohndoe Added various bindings to table column containing the popup button cell.
+ Added array controller to manage the popup button content.
+ Added property 'sex' to User class.

README.md

NSPopUpButtonCell

This example project deals with an NSPopUpButtonCell used in an NSTableView. I want to know what the selection of the popup button is. There might be different ways to get this information. Let's find the best.

Screenshot

The screenshot shows the current implementation.

NSPopUpButtonCell

Configuration

The following configuration is used for the project.

  • MacOSX 10.7.2
  • SDK 10.7.
  • XCode 4.2. 64bit
  • Cocoa Application
  • Garbage collection
Something went wrong with that request. Please try again.