This SO answer shows how to define a completion block like this
@interface ViewController ()
typedef void(^myCompletion)(BOOl);
@end
@implementation ViewController
However when I try to do that in my ViewController, I get this error
a parameter list without type is only allowed in a function definition
Can you explain what I'm doing wrong