Factory icon indicating copy to clipboard operation
Factory copied to clipboard

A new approach to Container-Based Dependency Injection for Swift and SwiftUI.

Results 36 Factory issues
Sort by recently updated
recently updated
newest added

Hello, I've used Resolver for a while and just switched over to Factory. Both libraries help to circumvent common issues with `EnvironmentObject`, but both libraries also run into the same...

Hi @hmlongco, I've read your articles on SwiftUI architecture and they're inspiring. I notice there's a difference of `Service`'s usage in your old articles and those in the demo project...

Hello @hmlongco, I've read the majority of your articles and looked for an idea for Compile-Time safety Dependency Injection Library. The API and usage from SwiftUI inspired usage is a...

Hey @hmlongco, First of all would like to say well done on creating both Resolver and Factory. I have been using Resolver in production for over a year now and...

Hello Mr. Long, i love the work you did with Resolver and now Factory and am trying to refactor my project. I stumbled into one problem that Resolver solved for...

### Fixed - fixed a typo in SharedContainer comments (registions -> registrations)

Thanks for your excellent work here Michael! I'm a fan of Resolver and an even bigger fan of Factory. When looking at the `FactoryDemo` project `ContentView` preview, I don't see...

add library evolution support, for more info please visit https://www.swift.org/blog/library-evolution/

Hi, recently have started using Factory and I have a question revolving around UITesting and mocking dependancies. I've read through the [testing documentation](https://hmlongco.github.io/Factory/documentation/factory/testing#Xcode-UITesting) and looked through issues submitted here, but...