Uncrustify configuration for objective-c

4.8k views Asked by At

I am looking for configurations to use with Uncrustify, for Objective-C.

Searches on google did not return nice configurations for this language.

2

There are 2 answers

0
Dave On

I've not used it, so cannot vouch for its beauty, which is after all, in the eye of the beholder. But there's one here:

http://blog.carbonfive.com/2009/08/07/code-formatting-in-xcode/

2
Ryan On

Here's my Obj-C style which i'm constantly tweaking. I try to follow as closely to Apple's style as used in their documentation/WWDC presentations as possible.

I've created an OS X GUI for uncrustify to help you tweak your own style and better document the uncrustify options