I am using Obj C with Cocoa and using XCode and IB.
In my window I added NSPopupButton. In my implementation I have NSArrayController which has a class ServerDetails (holds data related to linux server like hostname, IP address, etc).
I am able to link successfully only one detail to popup button. When I run the window, it shows all the sever's hostnames in pupup button that are available in array controller.
But I want to have popup button format something like "hostname - IP Address". How to bind two values of array controller to popup button?
In my window I added NSPopupButton. In my implementation I have NSArrayController which has a class ServerDetails (holds data related to linux server like hostname, IP address, etc).
I am able to link successfully only one detail to popup button. When I run the window, it shows all the sever's hostnames in pupup button that are available in array controller.
But I want to have popup button format something like "hostname - IP Address". How to bind two values of array controller to popup button?