This Xcode source editor extension align your assignment statement.
- Open your code on Xcode 8
- Select your code
- Choose menu
Editor > Alignment
-
Align assignment
When checked, assignment statement align will be enabled.let value = 0 let i = 0
let value = 0 let i = 0
-
Align type declaration
When checked, type declaration align will be enabled.func sort(from: Int, to: Int) { }
func sort(from : Int, to : Int) { }
- Install Xcode 8
- Run Xcode 8 and install additional system components
- Open this project in Xcode 8 and run the extension
- Choose an app to run: Xcode 8
- Select your code
- Choose menu
Editor > Alignment
The MIT License. See the LICENSE file for more infomation.