All Projects → rjoudrey → Swift Init Generator

rjoudrey / Swift Init Generator

An Xcode plugin that uses the Swift parser to generate initializers

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Swift Init Generator

Xcodeequatablegenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
Stars: ✭ 188 (+79.05%)
Mutual labels:  xcode, xcode-extension
Swimat
An Xcode formatter plug-in to format your swift code.
Stars: ✭ 1,388 (+1221.9%)
Mutual labels:  xcode, xcode-extension
Linex
Feature packed Xcode extension
Stars: ✭ 210 (+100%)
Mutual labels:  xcode, xcode-extension
Xcode developer disk images
Stars: ✭ 125 (+19.05%)
Mutual labels:  xcode, xcode-extension
Import
Xcode extension for adding imports from anywhere in the code ☝️
Stars: ✭ 818 (+679.05%)
Mutual labels:  xcode, xcode-extension
Nef Plugin
🔌 an Xcode extension to use nef features easily
Stars: ✭ 144 (+37.14%)
Mutual labels:  xcode, xcode-extension
Awesome Xcode Extensions
Awesome native Xcode extensions.
Stars: ✭ 2,628 (+2402.86%)
Mutual labels:  xcode, xcode-extension
Xcodesourceeditorextension Alignment
This Xcode source editor extension align your assignment statement.
Stars: ✭ 211 (+100.95%)
Mutual labels:  xcode, xcode-extension
Swiftmockgeneratorforxcode
An Xcode extension (plugin) to generate Swift test doubles automatically.
Stars: ✭ 522 (+397.14%)
Mutual labels:  xcode, xcode-extension
Playalways
Create Xcode playgrounds from your menu bar
Stars: ✭ 515 (+390.48%)
Mutual labels:  xcode, xcode-extension
Ghwxcodeextension
Xcode Source Editor Extension 插件,实现功能有四个,一.初始化自定义view、UICollectionViewCell、UITableViewCell、viewController,自动删除无用代码和添加默认代码;二. 为属性自动添加懒加载代码、对应协议声明和协议方法,主要有 UITableView\UICollectionView\UIScrollView\UIButton\UILabel\UIImageView; 三.选中一个类,文件顶部自动添加对应的 import; 四. 给 import 分组排序,从上到下为 主类头文件、viewController、view、manager & logic、第三方库、model、category、其他。
Stars: ✭ 119 (+13.33%)
Mutual labels:  xcode, xcode-extension
Xgist
Xcode extension to send code to GitHub's Gist
Stars: ✭ 75 (-28.57%)
Mutual labels:  xcode, xcode-extension
Accesscontrolkitty
Xcode extension - quickly change access control level (public, private etc.) of selected Swift code by Editor menu item or keyboard command
Stars: ✭ 119 (+13.33%)
Mutual labels:  xcode, xcode-extension
Comment Spell Checker
Xcode extension for spell checking and auto-correcting code comments.
Stars: ✭ 155 (+47.62%)
Mutual labels:  xcode, xcode-extension
Swiftai
SwiftAI, write Swift code smart. SwiftAI can generate Model class from JSON now. Codable and HandyJSON is supported. More features will be add.
Stars: ✭ 470 (+347.62%)
Mutual labels:  xcode, xcode-extension
Linessorter Xcode Extension
Xcode Extension that helps you keep your import statements and long code lists organized and uniform
Stars: ✭ 54 (-48.57%)
Mutual labels:  xcode, xcode-extension
Snowonder
🔮 Magical import declarations formatter for Xcode
Stars: ✭ 100 (-4.76%)
Mutual labels:  xcode, xcode-extension
Nanojit
NanoJIT is a small, cross-platform C++ library that emits machine code.
Stars: ✭ 101 (-3.81%)
Mutual labels:  compiler
Xcconfig Extractor
Refactor BuildSettings into xcconfigs
Stars: ✭ 103 (-1.9%)
Mutual labels:  xcode
Vc4c
Compiler for the VC4CL OpenCL implementation
Stars: ✭ 101 (-3.81%)
Mutual labels:  compiler

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].