I’m a complete novice to Xcode; only slightly better with applescript.
I’m trying to take one of my older applescripts that runs fine with myriad popup dialogs taking user input, and port it over to Xcode applescript objective-C so that I can run the script from a single panel.
I already have a text field in the MainMenu.xib bound back to a property value in the form
property theValue: ""
that returns the input value. But, I’d like to get the same results from a pulldown menu of pre-populated items like you’d get from AS with:
set FruitList to {"Banana", "Kiwi", "Mango", "Coconut", "Pear"}
set FavoriteFruitAnswer to choose from list FruitList with title "Fruit Dialog" with prompt "What's your favorite fruit?" default items "1. Banana"
But, in a pulldown menu using NSPopUpButton in Xcode
Is this something simple I’m missing, or is it a complex concept to master?