SwiftBreak is an Xcode Extension that transforms your single line function parameters into multiline.
myFunc(a: Int, b: Int)
myFunc(
a: Int,
b: Int
)
- Download from GitHub Releases
This is required at least once. You can also set some preferences here.
Open System Preferences > Extensions > Xcode Source Editor and make sure SwiftBreak is selected.
Use the Swift Break > Split Parameters command in the Xcode's Editor menu.
In Xcode Preferences > Key Bindings.
❤️