rjoudrey / swift-init-generator

An Xcode plugin that uses the Swift parser to generate initializers
111 stars 7 forks source link
compiler swift xcode xcode-extension

swift-init-generator

Uses the Swift parser to generate initializers

After selecting lines containing variable declarations, run the extension command to produce the corresponding initializer.

Example

Alt Text

Installation

Xcode 10

Source code for the libraries

https://github.com/rjoudrey/swift/tree/my-extension