SwiftDI icon indicating copy to clipboard operation
SwiftDI copied to clipboard

SwiftDI the new way to use your dependency in Swift 5.1

Results 9 SwiftDI issues
Sort by recently updated
recently updated
newest added

when I use Swift Package Manager, the version fetched is 1.0.0, then I change I into exact version 1.1, an error happened with this message : ``` Dependencies could not...

Hello ! First Thanks you for this librairy :) I have an issue while archiving. I got a Segmentation fault: 11 and the message that comes with this : ```...

bug
help wanted

Currently there is only runtime check for missing dependency registration. And because all dependencies are lazy, you will get crash once you access them. The proposal is to add compile-time...

enhancement
help wanted
good first issue

I think, somebody wanna see this feature, like pass container as argument to init method. ```swift @Injected(container) private var service: MyService ```

In property wrapper @Inject needs refactor lazy initialization

Currently `@Inject` works lazily always. It means that object isn’t injected in fact until first call. It can lead to unexpected behavior. For example you have some broadcasting object which...

enhancement
help wanted
good first issue

SwiftDI name is already taken, may be need rename lib. Ref: https://cocoapods.org/pods/SwiftDI

enhancement