I would like to find out which of the clang-format style options is responsible for inserting (or removing) the space between return type and method name in Objective-C. I am unable to find this option in the clang-format style guide.
example:
- (id) init;
vs.
- (id)init;
As of 3.7.0, clang-format doesn't support this option.
I have therefore created a patch that adds in an option for this functionality. The patch, and a binary (for Mac), can be found here: https://github.com/ebaker355/clang-format
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With