Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

I am using the Xcode 4.5.2

share|improve this question
    
Development related questions including Xcode should be on StackOverflow –  Mark Dec 14 '12 at 21:30

1 Answer 1

up vote 1 down vote accepted

Wrap your cases with { }. Like this:

enter image description here

share|improve this answer
    
Thanks bogdanscr, but is there a way to do it without the curly braces? –  aizen92 Dec 14 '12 at 20:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.