Search code examples
swiftxcodexcode9code-foldingxcode10

Code Folding changes in Xcode 9/10


I know code folding was missing in the early Beta's of Xcode9 and that it is available to fold entire methods with CMD click.

But in Xcode 8 i was able to fold code in blocks (i.e. individual if statements) via Editor >> Code Folding >> Fold but in Xcode 9 this folds the entire method.

Is there a fix/setting i can change to restore the Xcode 8 functionality?


Solution

  • It is stated in the release notes that it is not supported as of yet.