can anyone point me to sample asobjc code implementing a popupbuttoncell inside a table column ?
shane’s book shows using a popupbutton nicely, but not as a cell in a table
i’m struggling to get the binding correct
thanks
can anyone point me to sample asobjc code implementing a popupbuttoncell inside a table column ?
shane’s book shows using a popupbutton nicely, but not as a cell in a table
i’m struggling to get the binding correct
thanks
Have you looked at either of these?
stackoverflow.com/questions/14888175/binding-a-nsarraycontroller-to-a-nspopupbutton-nstextfield
stackoverflow.com/questions/10885137/how-to-setup-bindings-for-nspopupbutton
thanks for the links shane - both helped me better understand bindings
i also found this apple site helpful for finally helping me crack the case and get things working
but shane i couldn’t be learning this without you
what i needed to learn i did so from your sample people table project in chapter six
i changed the isAdult checkbox to a popupbuttoncell and wanted to pass it integers as index values for the menu
the new table column binding for value selection ended up
content - app delegate.my_menu_item_list
selected index - array controller.arrangedObjects.isAdult
thanks for your work !
.bill