objective c - PyObjC - NSTableView with checkboxes mapping to Python throws class is not key value coding-compliant -
objective c - PyObjC - NSTableView with checkboxes mapping to Python throws class is not key value coding-compliant -
i building mac application using pyobjc. in interface builder have nstableview. columns filled nstextfieldcells , nsbuttoncells.
i fill info using array controller filled through python list of dicts. instead of "python dicts" have tried nsmutabledictionary. keys representing nstextfieldcells filled strings , nsbuttoncells booleans. latter have tried: 1/0, "yes"/"no", , nsnumber.numberwithbool_ .
the stream of info python gui works without problem.
my problem is, whenever click on checkbox throws me:
(from bound object <nstablecolumn: 0x1067a52f0> identifier: (null)): [<__nsdictionaryi 0x10a604ed0> setvalue:forundefinedkey:]: class not key value coding-compliant key checkb.
how can states of checkboxes python code?
objective-c nstableview nsarraycontroller key-value-coding pyobjc
Comments
Post a Comment