Show HN: Xcode 8 Source Code Extension to Generate Swift Initializers
github.com
github.com
With structs you get a default constructor that will take care of this for you, however when you define a class you need to take care of this yourself.
Because of this you can find yourself writing a lot of boilerplate code, setting variables in initializers. Having this process automated is something that Xcode has been lacking for sometime. (that and auto generating protocol methods when a class implements it)
struct sample: http://imgur.com/a/wm5MO
class sample: http://imgur.com/a/CpWlk
gist:
https://gist.github.com/kingreza/edd1b449ee3e34c4a9588e678af...