I have try-catch blocks when removing KVO watchers, like this
@try {
[table_ removeObserver:self forKeyPath:@"contentOffset" context:nil];
} @catch (NSException __unused *exception) {}
In addition, I have a checkpoint "All exceptions", but I do not want it to stop when the exception __unused, like the previous one.
Is it possible? I read a few answers here , but in my opinion this is different.
Thanks.
source
share