Is there a way in xcode to print it so that items that are folded in the editor print as folded? I basically want a summary of methods in the file. It's actually javascript and not objective-c.
For older XCode versions the answer is this:
Go into "print..." then choose Show Details. Under the Xcode option "Printing" there is a checkbox called Expand folds.
For XCode 10 the print option expand folds
has been removed.