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

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

Xcode 版本:4.2之后的版本

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

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

相关文章:

  • 2021-08-07
  • 2021-12-30
  • 2021-05-24
  • 2021-11-03
  • 2021-11-14
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2021-04-15
  • 2021-05-26
  • 2021-12-20
  • 2021-11-01
  • 2021-08-07
相关资源
相似解决方案