How to collapse all methods in Xcode?

后端 未结 4 470
借酒劲吻你
借酒劲吻你 2020-12-12 09:11

How to collapse all methods in a class in Xcode?

Collapsing one by one is not an option anymore.

4条回答
  •  甜味超标
    2020-12-12 09:21

    As of Xcode 4 it seems to have changed.

    command-alt-shift-left arrow will do the trick...

    To fold/unfold current methods or if structures use:

    Fold: command-alt-left arrow

    Unfold: command-alt-right arrow

提交回复
热议问题