views:

161

answers:

3

Hi!

This is simple:

Does anybody knows how to collapse all methods in a class in XCode?

Collapsing one by one is not an option anymore =D

Thanks and have a nice day!

+5  A: 

Looks like Ctrl-Command-Up does it (or on the menu: View-CodeFolding-FoldMethods/Functions).

Ctrl-Command-Down or Ctrl-U to reverse.

DyingCactus
Thanks man!! thats what I wanted!
Omer
A: 

Has anyone had a problem where random "collapsed" methods seem to randomly uncollapse?

I spend my life re-re-re-re-recollapsing things.

Is there a cause?

Susanna
I haven't had the "scroll-up" problem... but another BIG problem is:I command-double-click on something... to get a quick look at the docs... but when I try to switch back to my source code... I'm in a TOTALLY different area of my code.Bad.
Susanna
A: 

Hey Fran... this happends to me sometimes, but sorry, I dont know why it happends. Another thing that really makes me mad, is when you have some methods collapsed and try to put a break point in a method that is not, the windows decides to scrolls up :D.

does this happends to you?

Omer