0

Is there a way to make the case statements in a switch be folded?

I am using the Xcode 4.5.2

  • Development related questions including Xcode should be on StackOverflow – Mark Dec 14 '12 at 21:30
1

Wrap your cases with { }. Like this:

enter image description here

  • Thanks bogdanscr, but is there a way to do it without the curly braces? – hakuna matata Dec 14 '12 at 20:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .