dn't the `ViewController_B` be a dependency and not be instantiated
> inside a `ViewController_A`? Or ViewControllers/Controllers are not
> considered dependencies?
>
> Thanks,
> Tadeas
>
> On Thu, Jun 16, 2016 at 10:50 PM Ian Terrell via swift-users <
> swift-users@swift.o
Hi Mike,
Thanks for your response. :) Let me address your points. I apologize for
the length; this is a topic I care about and I know my co-workers are
reading it. :)
I'm going to edit the message history for brevity.
My first point of confusion is that these libraries seem to be less about
>> d
Hi Mike,
Thanks for the library. It looks like you've done a lot of great hacking on
it:
Dependency injection is a topic near and dear to me. :) I'm very curious
about this pattern and its libraries and have been investigating them more
deeply lately. I haven't yet seen the value in this approach
Is this a naming collision? Do multiple modules defined a
Transaction.Error.NotFound?
For instance, in your passing case, is the Transaction.Error.NotFound that
is caught a Z.Transaction.Error.NotFound, or one in your local app module
(i.e. CLI.Transaction.Error.NotFound).
If your CLI module has
A coworker had the idea to get rid of the "Optional("Bob")" default string
value for Optional by adding the following extension to Optional:
extension Optional: CustomStringConvertible {
public var description: String {
switch self {
case .Some(let wrapped): return "\(wrapped)"