Hi to All,
As some of you are aware, I am in my very early stages of developping for Mac after leaving Windows to take up with Mac. I still have a lot to learn and enjoying the new skills.
My question is. If I have created an object of NSPopUpButton and called it myPopUp (in this example).
In it's simplessed form, would I return the string of the selected item like this:
Or have I missed the mark by a long shot ??
Pete
As some of you are aware, I am in my very early stages of developping for Mac after leaving Windows to take up with Mac. I still have a lot to learn and enjoying the new skills.
My question is. If I have created an object of NSPopUpButton and called it myPopUp (in this example).
In it's simplessed form, would I return the string of the selected item like this:
Code:
NSString *returnedValue = [myPopUp titleOfSelectedItem];
Or have I missed the mark by a long shot ??
Pete