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