StoryboardSegue, sender:
>> AnyObject?) {
>> if let custom: CustomViewController =
>> segue.destinationViewController.injectable() {
>> custom.inject(dependency: dependency)
>> }
>> }
>
>
> With the extension here:
> https://gist.github.com/ian
Hi,
I've recently open sourced a dependency injection framework for Swift
called Cleanse. https://github.com/square/cleanse
It does a couple things I'd consider novel with the type system to make
wiring up functions easy without having to use reflection or other runtime
or compile-time hacks (I t