using the default configuration i receive wrong indentation for objective-C blocks given as a parameter to a method call.
changing to other styles (kr or mozilla) did not change the outcome.
-(void)test
{
AlertController *alertController = [[AlertController alloc] init];
[alertController doSomethingWithHandler:^(UITextField *textField) {
textField.placeholder = @"User";
}];
}
becomes:
-(void)test
{
AlertController *alertController = [[AlertController alloc] init];
[alertController doSomethingWithHandler:^(UITextField *textField) {
textField.placeholder = @"User";
}];
}
i would expect the first code not to change normally.
You can test a fix in the latest 3.2 beta 3 release.