Re: [MacRuby-devel] performSelectorOnMainThread Problem

2011-10-10 Thread Daniel Westendorf
This is by design, as the method passes the caller to the selector. dw On Mon, Oct 10, 2011 at 7:54 AM, Alex Greif wrote: > The xcode documentation states that if the method > performSelectorOnMainThread has the argument withObject:nil, then the nil > means that the target method takes no argume

[MacRuby-devel] performSelectorOnMainThread Problem

2011-10-10 Thread Alex Greif
The xcode documentation states that if the method performSelectorOnMainThread has the argument withObject:nil, then the nil means that the target method takes no arguments. The following code throws an ArgumentError wrong number of arguments (1 for 0): def foo self.performSelectorOnMainThrea