-
I have a Cartfile:
```
github "Swinject/Swinject" ~> 1.0.0
```
and running build: `carthage update --no-use-binaries --platform iOS`
Here is my build log:
```
carthage update --no-use-binaries --p…
-
Hi,
I've copied the code from the circular dependency example and added a few things in the classes, didn't modify anything in the dependency registration code.
Classes and protocols look like this:…
-
Hello there, I am using the pattern MVP in my app, but I have some trouble when I want to set the view to my presenter.
We can't resolve explicitly the view controllers registered by registerForStor…
-
SwInject calls this equivalent scope `Container` and it feels more suited, especially as the term `Singleton` is scary and has a bad reputation especially in the DI world :wink:
Using `.Container` a…
-
In Xcode 7.2 iOS project v1.0.0, I am having trouble resolving an object with three arguments. The first argument is a struct, and the other two are [Int]s. `let game = appContainer.resolve(Game.self,…
-
When you open the project none of the SDK's are set in any of the targets. When you set them correctly and try to build the project it says PRODUCT_NAME undefined. I set that to Swinject then it spits…
-
Most solid IoC containers provide some form of notification after the object that has some dependencies, has the dependencies resolved.
If I set up my dependencies like so:
```
container = Dependenc…
-
When passing "--no-integrate" to CocoaPods 0.39 on OS X 10.11 it currently crashes with the following error:
```
Updating local specs repositories
CocoaPods 1.0.0.beta.6 is available.
To update use:…
-
I made an empty test project, with a few dependencies (RealmSwift, Swinject, SwiftyJSON, Alamofire, RxSwift and Kingfisher).
However, just compiling this empty application makes an app of about 130Mb.…
-
Here demonstration of what I want to do:
``` swift
container.register(MenuPageModeller.self) { r, menuId in MenuPageModel(menuId: menuId) }
container.register(MenuPage.self) { _ in MenuPage() }
…