1

when your project is getting bigger and bigger we have to look for ways to make it more easy to read.

The point is, I want to close all my functions using any key short code in my Xcode, let see the picture attached to understand what I mean:

(I cannot set any picture becuase I need more reputation...)

Well I mean:

  > - (void) process1 {

  }

If we press on the row on top left, the process will get closed. How can I use a key short code to close all my functions/methods on my class (.m)?

Thank you!

Harry Johnston
  • 35,639
  • 6
  • 68
  • 158
RGML
  • 3,429
  • 2
  • 22
  • 18

2 Answers2

2

Check the View→Code Folding menu for options and hot-keys.

Marcelo Cantos
  • 181,030
  • 38
  • 327
  • 365
1

I'm pretty sure it's here. You'll also find other cool stuff Hidden Features of Xcode

Community
  • 1
  • 1
Noam
  • 3,341
  • 4
  • 35
  • 64
  • Noam, really really useful information. I will print it out right now to keep it close to me onward. Thank you. – RGML Feb 21 '11 at 10:59
  • Glad I helped. You don't really need to comment, just vote up (left of the answer) and select your accepted answer. – Noam Feb 21 '11 at 11:31
  • I cannot vote up until I have 15 reputation... I will take as valid answer the first one, but I think your response is really adding value. As soon as I get 15 reputation I will come back and vote up you guys. Thank you! – RGML Feb 21 '11 at 12:22