In Objective-C some style guides (including the one at my workplace) use a style where assignment operators are aligned, in an effort to increase code readability. This patch adds an option to the format library which allows this functionality. It is disabled by default for all the included styles, so it must be explicitly enabled.
The option will change code such as:
- (void)method { NSNumber *one = @1; NSNumber *twentyFive = @25; }
to:
- (void)method { NSNumber *one = @1; NSNumber *twentyFive = @25; }
This is different from the comment below. Use docs/tools/dump_format_style.py.