objective c - NSPopupButton Default State and Bindings -


i have nspopupbutton tied array controller content/value , did have tied property in view controller.. working fine. needed have default value popup in shared user defaults.. goes wrong ! if change "selected value" have model key path of user default.. removed binding local property. , changes default not want (i in preferences window).

for gave got around code looks required mnaged object nsstring popup :[[_qualifierpopup selectedcell] title]... clunky !

so 2 quesitons:

  1. can have nspopupbutton's default state set shared user default - if how ?
  2. considering before popup bound user default bound property of type id returned correct managed object, can retrieve popup same id rather string , doing lookup on string ? if can helpme syntax.

thanks ian


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -