[MacRuby-devel] NSArrayController

Nic Williams drnicwilliams at gmail.com
Mon Dec 29 16:18:51 PST 2008


Hey Brad,

Ok I replaced initialize with init (like your example) its still failing.

Commit: http://github.com/drnic/hillegass-macruby/commit/87d7af005f756291b156346258a561f156a65db5

No doubt its something trivial and obvious. Just not to me.

On Tue, Dec 30, 2008 at 9:59 AM, Brad Wilson <brad at lucky-dip.net> wrote:
> Nic,
>
> I ended up getting by without those methods and using an init method.
>
> http://lists.macosforge.org/pipermail/macruby-devel/2008-October/000582.html
>
> To be honest, I'm not too sure why init worked, and initialize didn't, but
> if I remember correctly, initialize wasn't being called and init was.
> (Again, not too sure of why that would be the case.)
>
> Brad
>
>
> On 30/12/2008, at 10:42 AM, Nic Williams wrote:
>
>> Replying to Rich's post on the KVC methods to add to get binding
>> compliance
>> http://lists.macosforge.org/pipermail/macruby-devel/2008-September/000563.html
>>
>> I'm getting the same error as per this thread, tried adding Rich's KVC
>> methods to my StaffList.rb (which is probably MyDocument.rb for most
>> people but I think its an awful name) and the error didn't go away.
>>
>> The project src is posted on github:
>> http://github.com/drnic/hillegass-macruby/tree/master/RaiseMan
>>
>> I get a number of the following errors:
>>
>> 2008-12-30 09:33:16.934 RaiseMan[66636:10b] [<NSTableColumn 0x10e1fa0>
>> valueForUndefinedKey:]: this class is not key value coding-compliant
>> for the key displayPatternValue1.
>>
>> Thoughts?
>>
>> Nic
>>
>> --
>> Dr Nic Williams
>> iPhone and Rails consultants - http://mocra.com
>> Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com
>> * Surf Report for iPhone - http://mocra.com/projects/surfreport/ *
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>



-- 
Dr Nic Williams
iPhone and Rails consultants - http://mocra.com
Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com
* Surf Report for iPhone - http://mocra.com/projects/surfreport/ *


More information about the MacRuby-devel mailing list