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:
- can have nspopupbutton's default state set shared user default - if how ?
- 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
Post a Comment