NSPopUpButton binding


hello, have nspopupbutton, nsmutablearray of custom objects in app delegate, , array controller it. have problem adding object array, either directly addobject: or using same on controller not change menu. object added array ok, doesn't update. here bindings:

controller
content array -> app delegate.constantarray

conpopup
content -> controller.arrangedobjects
content values -> controller.arrangedobjects.liststring
selected object -> app delegate.selectedconstant

custom object mmconstantfactor declares string method 'liststring'. app delegate has nsmutablearray constantarray , mmconstantfactor selectedconstant.

massively appreciated, i'm in rush! :)
 



Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Rogue - the old text based game. I can't find it!

RAID in Early 2009 Mac Pro

NBC Releases Summer Olympics iOS Apps, Offering Livestreaming of All 302 Events