Re: [MacRuby-devel] Bindings only working one-way

2008-11-22 Thread Michael Winterstein
for example: attr_accessor :billy # will create setter and getter for billy with all the appropritate KVO methods def updateMyValue(sender) #called from a button perhaps setBilly(4) end #or setValue:4 forKey:billy [EMAIL PROTECTED] = 4 will not work, because it bypasses the accessor me

Re: [MacRuby-devel] Bindings only working one-way

2008-11-22 Thread John Shea
Hi Michael, I too have difficulties with IB and bindings - mainly because they are hard to debug - well I find them so (and not just in MacRuby). When in doubt I blame an IB setting. I quickly threw together something similar to what you have (except with sliders) , and pretty quickly came

[MacRuby-devel] Bindings only working one-way

2008-11-21 Thread Michael Winterstein
I'm having difficulty working with bindings and I'm not sure if it's a MacRuby thing or my poor understanding of how they work. I've tried binding to two types of things - an NSMatrix of radio buttons (binding to "selectedTag") and a Checkbox value. Using just an attr_accessor - the variabl