What happens to exceptions raised while in myMethod: if it is invoked via NSObject's performSelectorOnMainThread:withObject:waitUntilDone:?
In particular, can I catch them in the scope of the call to performSelectorOnMainThread like this...
@try {
[self performSelectorOnMainThread:@selector(myMethod) withObject:nil waitUntilDone:YES];
} @catch(NSException *e) {
//deal with exception raised in myMethod here??
}
I realize that the semantics of this are weird if waitUntilDone is NO.