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:
1. Open "XCFormat" once.
2. Open "System Preferences"
3. Click "Extensions"
4. Click "Xcode Source Editor"
5. Enable "XCFormat"
Then you can see the "XCFormat" menu under Xcodes "Editor" menu.