Install And Setting Extention SwiftFormat in XCode
1. download in github https://github.com/nicklockwood/SwiftFormat, or can be download tag
https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.4
2. open -> SwiftFormat-master -> EditorExtension -> move file "SwiftFormat for Xcode" to aplication.
3. open SwiftFormat for Xcode.
Buy me a coffee
https://github.com/nicklockwood/SwiftFormat/releases/tag/0.49.4
2. open -> SwiftFormat-master -> EditorExtension -> move file "SwiftFormat for Xcode" to aplication.
3. open SwiftFormat for Xcode.
4. select rule and checklist all except strongOutlet
5. next system preference -> extention checklist "swift format" in xcode source editor.
6.in Xcode setting preference -> key binding -> filter swift format -> and select "swift format - Format Entire File" give shourcut example "ctl+cmd+S"
7. finish set for auto format swift code in xcode 9.0
Buy me a coffee
No comments: