[Rubycocoa-devel 552] Re: Can't get Objective-C method signature for selector

Back to archive index

Laurent Sansonetti lsans****@apple*****
Wed Jan 3 23:21:47 JST 2007


Thanks Nicholas. I addressed both issues in SVN, could you synchronize  
your local copy and try it again?

Note that you will need to re-generate the metadata files and re- 
install them (config+install install.rb phases), as I had to modify  
the metadata generator.

Thanks,
Laurent

On Jan 3, 2007, at 7:10 AM, lc3b****@mac***** wrote:

> On Jan 2, 2007, at 6:50 PM, Laurent Sansonetti wrote:
>
>>> 2) Editing the text in the table (clicking with the mouse and typing
>>> and then hitting enter to commit the edit and move on the the next
>>> row in the table) cause a crash. There is nothing reported to the  
>>> Run
>>> Log but a debugger session pops up.
>>> This happens even if DISABLE observing for undo (the two functions
>>> below):
>>>
>>> [MyDocument.rb:91-99]
>>>    def startObservingPerson(person)
>>>      person.addObserver_forKeyPath_options_context(self,
>>> "person_name", OSX::NSKeyValueObservingOptionOld, nil)
>>>      person.addObserver_forKeyPath_options_context(self,
>>> "expected_raise", OSX::NSKeyValueObservingOptionOld, nil)
>>>    end
>>>
>>>    def stopObservingPerson(person)
>>>      person.removeObserver_forKeyPath(self, "person_name")
>>>      person.removeObserver_forKeyPath(self, "expected_raise")
>>>    end
>>>
>>> Currently I do not know of any way to provide more information on
>>> this.
>>>
>>
>> Mmh this is weird, could you give us a pointer to your code so that I
>> can try to reproduce the crash?
>>
>
> The code is available from here: http://blog.vazexqi.com/files/
> RubyRaiseMan.tgz (it's an Xcode project).
>
> The relevant file would be MyDocument.rb where I make use of an
> NSArrayController to add/remove/edit the contents of the table.
>
> Thanks.
>
> --
> Nicholas Chen
>
>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel




More information about the Rubycocoa-devel mailing list
Back to archive index