AliSoftware / Dip

Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
MIT License
977 stars 72 forks source link

Does Dip support objective-c? #140

Closed oronbz closed 7 years ago

oronbz commented 7 years ago

I haven't seen anything on the documentation or issues referring this.

ilyapuchka commented 7 years ago

No, sorry, Dip is designed only for Swift.

oronbz commented 7 years ago

If i create the container in swift, will it be able to do constructor initialization to objective c classes?

ilyapuchka commented 7 years ago

Yes, as long as they are visible for Swift code. But the container itself you can use only from Swift code.