XCFormat includes an Xcode Source Editor Extension, allows you to format your code directly in Xcode.
Supports both Swift and Objective-C, and also other languages.
To enable it, please perform the following steps:
- Open "XCFormat" once.
- Open "System Preferences"
- Click "Extensions"
- Click "Xcode Source Editor"
- Enable "XCFormat"
Then you can see the "XCFormat" menu under Xcode's "Editor" menu.