The method signature is...
- (void)blahBlahBlah:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2) {
va_list args; va_start(args,format);
void(^SOME_BLOCK)(void) = ^{ [Heathens prayToJesusWith:
[NSString.alloc initWithFormat:kFMT
arguments:args]; }; ...
va_end(args);
}
However Xcode whines about args
inside the SOME_BLOCK
... Cannot refer to declaration with an array type inside block
. Why not? It's "in scope", no? Tried __block va_list
to no avail. Advice? Rationales?