What happens to the exceptions that occurred during myMethod: if it is called through NSObject performSelectorOnMainThread:withObject:waitUntilDone: :?
In particular, can I catch them in the call area of performSelectorOnMainThread like this ...
@try { [self performSelectorOnMainThread:@selector(myMethod) withObject:nil waitUntilDone:YES]; } @catch(NSException *e) {
I understand the semantics of this strange if waitUntilDone is NO .
source share