Swift Init Generator Save

An Xcode plugin that uses the Swift parser to generate initializers

Project README

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

  • Clone or download the source code
  • Configure the code signing team on both targets
  • Run the target Swift Initializer Generator
  • Restart Xcode

Xcode 10

  • Make the "Swift Initializer Generator" scheme active
  • Select Archive under the Product menu
  • Select "Distribute App", then "Copy App", and export to /Applications
  • Close Xcode
  • Run the exported app from the Applications folder
  • In System Preferences -> Extensions -> Xcode Source Editor, enable "Swift Initializer Generator"

Source code for the libraries

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

Open Source Agenda is not affiliated with "Swift Init Generator" Project. README Source: rjoudrey/swift-init-generator
Stars
111
Open Issues
3
Last Commit
4 years ago

Open Source Agenda Badge

Open Source Agenda Rating