How to get NSPopUpButton Selected Item Name ?

Hi,

In order to get the selected item name from an NSPopUpButton using in any iOS application, use the following sample of code.

NSPopUpButtonCell *urCell = [sender selectedCell];
NSLog (@"Item name in the cell is %@", urCell.title);

:)