fork from SwiftFormat to support DeclareLayoutSwift
Get Xcode editor extension
- use
EditorExtension/SwiftFormat for Xcode.app
- or build
SwiftFormat for Xcode
scheme
Install
- drag
SwiftFormat for Xcode.app
toApplications
folder - run it once
- active this Xcode source editor(
System preferences
->Extensions
->Xcode source editor
) - set hot key in Xcode
Editor
menu (optional)