{"repo":"hmlongco/Factory","free":true,"listed":false,"github":"https://github.com/hmlongco/Factory","clone":"git clone https://github.com/hmlongco/Factory.git","description":"A modern approach to Container-Based Dependency Injection for Swift and SwiftUI.","language":"Swift","stars":2894,"topics":["container","dependency-injection","ios","swift","swiftui","xcode"],"license":"MIT","category":"mobile-apps","readme_excerpt":"A modern approach to Container-Based Dependency Injection for Swift and SwiftUI. Factory Version 3.3.2 Factory is strongly influenced by SwiftUI, and in my opinion is highly suited for that environment. Factory is... - Adaptable : Factory doesn't tie you down to a single dependency injection strategy or technique. - Powerful : Factory supports containers, scopes, passed parameters, contexts, decorators, unit tests, SwiftUI Previews, and much, much more. - Performant : Little to no setup time is needed for the vast majority of your services, resolutions are extremely fast, and no compile-time scripts or build phases are needed. - Safe : Factory is compile-time safe; a factory for a given type must exist or the code simply will not compile. - Concise : Defining a registration usually takes just a single line of code. Same for resolution. - Flexible : Working with UIKIt or SwiftUI? iOS or macOS? Using MVVM? MVP? Clean? VIPER? No problem. Factory works with all of these and more. - Documented : Factory has extensive DocC documentation and examples covering its classes, methods, and use cases. - Lightweight : With all of that Factory is slim and trim, under 1,000 lines of executable code. - Tested : Unit tests with 100% code coverage helps ensure correct operation of registrations, resolutions, and scopes. - Testable : Factory ensures your application's views and services are easily previewable and testable. - Free : Factory is free and open source under the MIT License. Sound too","default_branch":null,"files":null,"tree":[],"storefront":"/r/hmlongco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hmlongco/Factory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}