How to use code formatter in Xcode for Swift?

后端 未结 9 662
Happy的楠姐
Happy的楠姐 2021-01-31 07:25

Xcode code formatter Swift

I\'m trying to auto format my code written in Swift. It\'s necessary if you\'re working in team and using CVS and don\'t want

9条回答
  •  走了就别回头了
    2021-01-31 08:08

    I write a extension app about format Swift code: Swimat

    There has two way to install

    1. brew cask install swimat

    2. Clone this repo, build and restart Xcode.

    See https://github.com/Jintin/Swimat for more information

    preview

提交回复
热议问题