definition.useInitializer("initWithDatabase:deserializerFactory:") {
(initializer) in
initializer.injectParameterWith(self.dataStoreAssembly.database())
initializer.injectParameterWith(self.dataStoreAssembly.deserializerFactory())
}
So far I understand, I should add @objc to DatabaseProtocol. Problem is that I can't do this since it has members that can't be represented in objective c
I have the following initializer
and I try to inject parameters using
So far I understand, I should add
@objc
toDatabaseProtocol
. Problem is that I can't do this since it has members that can't be represented in objective c