Xcode Plugin to Beauty/Reformat Code

Here’s a quick trick when you need to reformat Objective-C code: ClangFormatXcode is an Xcode plugin that presents several formatting options all accessible from the Edit menu. Based on clang-format, the plugin makes it easy to reformat selected text or single/multiple files.

There are several pre-defined styles (LLVM, Google, Chromium, Mozilla, WebKit) or if you are so inclined, you can create your own.

I’ve used this many times, highly recommended.