I have try-catch blocks when removing KVO observers, like this
@try {
[table_ removeObserver:self forKeyPath:@"contentOffset" context:nil];
} @catch (NSException __unused *exception) {}
Also, I have the "All exceptions" breakpoint set, but I don't want it to stop when the exception is __unused
, like the previous one.
Is that possible? I read some answers here but it is different, I think.
Thank you.