Phoenix
January 31, 2016
I released an Xcode plugin in the InitializeMe repo - called Phoenix.
This allows you to select a couple properties and create a custom initializer filling out those properties. My main uses for this are for creating initializers for classes that only hold data, and for constructor based dependency injection.
Phoenix supports both Objective-C and Swift.
Installation instructions are available on the GitHub repo.
If you do not want to install a custom Xcode plugin - you can simply download the Cocoa app (currently called InitializeMe), in the same repo.
This allows you to select a couple properties and create a custom initializer filling out those properties. My main uses for this are for creating initializers for classes that only hold data, and for constructor based dependency injection.
Phoenix supports both Objective-C and Swift.
Installation instructions are available on the GitHub repo.
If you do not want to install a custom Xcode plugin - you can simply download the Cocoa app (currently called InitializeMe), in the same repo.