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
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
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