You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// colon-aligning makes the block indentation hard to read
[UIView animateWithDuration:1.0animations:^{
// something
}
completion:^(BOOL finished) {
// something
}];
But Xcode keeps wrongly indenting the inside-block code every semi-colon I type!
The text was updated successfully, but these errors were encountered:
Does anyone know how to make Xcode auto-indent blocks correctly?
What I mean is that, according to this guide and to what I think is a much cleaner and readable code, blocks should be indented like the following:
Preferred:
Not Preferred:
But Xcode keeps wrongly indenting the inside-block code every semi-colon I type!
The text was updated successfully, but these errors were encountered: