I'm using the following code:
[_presenter presentViewController:_alert animated:YES completion:^{
_isShowingAlert = YES;
}];
Do I need to use the __block qualifier for this flag? I tried it without and it seems to work (sets the BOOL so the change is visible outside the block) and I'm not clear why it works.
BOOL is declared at the top of .m thus:
@implementation NotificationTracking {
BOOL _isShowingAlert;
}