How to collapse all methods in Xcode?

后端 未结 4 464
借酒劲吻你
借酒劲吻你 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条回答
  •  -上瘾入骨i
    2020-12-12 09:22

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

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

提交回复
热议问题