Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
94 views

Hello I'm in a swiftUI project with the mvvm format I want to get the client sessions with a dependency but I have the following error Extra arguments at positions #1, #2 in call I have a view a ...
Champêtre's user avatar
1 vote
1 answer
90 views

I'm having an issue when trying to provide my model container to my WindowGroup. I get the error: 'NSInternalInconsistencyException', reason: 'NSFetchRequest could not locate an NSEntityDescription ...
Dayem Saeed's user avatar
2 votes
1 answer
405 views

I'm having an issue when trying to initialize my dependencies via a container using Swinject. I get the error: Swinject: Resolution failed. Expected registration: { Service: LoginViewModel, Factory: ...
Dayem Saeed's user avatar
0 votes
1 answer
162 views

I have a SwiftUI view that uses a date picker. I am trying to update my model via the date picker. The model is "Injected" via swinject, however I feel like something is slightly missing. ...
mickeysox's user avatar
  • 311
4 votes
1 answer
825 views

Right now, I've been running into an issue of registering protocol conforming to ObservableObject. Since ObservableObject uses an associated type, I cannot find a way to register it without compiling ...
Pep Michael904's user avatar
0 votes
0 answers
832 views

I have the following Swinject implementation in my app - import Foundation import Swinject @propertyWrapper struct Inject<Component> { let wrappedValue: Component init() { self....
Alon Shlider's user avatar
  • 1,358
0 votes
0 answers
606 views

Modularized the project using Tuist. I made RepositoryAssembly and UseCaseAssembly on the Data module and Domain module. Assembler is located in InjectManager and runs in AppDelegate in the App module....
baegteun's user avatar
1 vote
0 answers
93 views

I try to change a registered protocol from UI test but it doesn't change. What I am doing wrong here? I have a shared DIAssembler that manage dependancies using Assemblies as following: import ...
Dot Freelancer's user avatar
1 vote
0 answers
630 views

I have mainAssembly: final class ApplicationAssembly { var assembler: Assembler init(with assemblies: [Assembly]) { self.assembler = Assembler(assemblies) } } With two module ...
Bobby Redjeans's user avatar
1 vote
0 answers
95 views

I'll start my saying that I'm inexperienced with Swinject. I'm trying to figure out why Swinject.graphIdentier instances are constantly growing in my app. In my case when I enter a ViewController I ...
dubbeat's user avatar
  • 7,865
1 vote
0 answers
2k views

I am working on a project that uses Carthage, it’s been a couple of months since the last time the project was opened. Now I am trying to move dependencies to .xcframeworks because with the old ....
Abdurakhmon's user avatar
  • 3,180
1 vote
1 answer
651 views

I wanted to develop an application which uses repository patterns using core data and realm. I want to resolve protocol according to my needs. Purpose is to inject a generic core data repository / ...
itosun's user avatar
  • 11
0 votes
0 answers
321 views

I am new to DependencyInjection and Swinject and because of that i have question. Let's say we have a ViewModel PersonList with a list of Person objects. We select one of the Person and pass it to ...
dev_ios999's user avatar
0 votes
3 answers
977 views

This is how I register object for FirebaseMessaging: container.register(Messaging.self) { _ in return Messaging.messaging() } and then I need to use it: container.register(...
kunass2's user avatar
  • 62k
0 votes
1 answer
173 views

Hi I am trying to apply swinject for my IOS project and currently I have been stuck.. I have 2 part in my application LOGIN Part MAIN Part Scenario is if it's logged in already when application ...
yongwoo lee's user avatar

15 30 50 per page
1
2 3 4 5