PDA

View Full Version : Automatic formatting of code in Xcode?




zippyfly
Sep 16, 2009, 03:36 PM
Hi - is there any function (or AppleScript) to automatically reformat code in Xcode? Properly indenting code blocks, turning method calls into easy to read lines such as:

[obj method:xyz withPara1:aaa withPara2:bbb withPara3:ccc];

to

[obj method:xyz withPara1:aaa
withPara2:bbb
withPara3:ccc];

etc?