Automatically Indent Switch Statement Cases in Xcode

One of the formatting defaults in Xcode I’m not a fan of is the lack of indentation for case labels in switch statements. There is a setting in Xcode preferences that will add an indentation before the case label. In my opinion this makes the switch block much easier to read. Read more…