Xcode  版本:4.2和4.2之前的版本

             选中需要格式化代码 -> Edit -> Format ->Re-Indent

Xcode 版本:4.2之后的版本

             选中需要格式化代码 -> Editor -> Structure ->Re-Indent       或者

             选中需要格式化代码 -> 右击 ->选中 Structure ->Re-Indent

相关文章:

  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-02-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-04-04
  • 2021-12-26
  • 2021-12-01
相关资源
相似解决方案