AliSoftware / Dip

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

Xcode 10 / Swift 4.2 does not work #200

Closed SlashDevSlashGnoll closed 5 years ago

SlashDevSlashGnoll commented 5 years ago

We're trying to update our app to the latest SDK and discovered that Dip no longer builds or functions with the latest language changes.

ImplicitlyUnwrappedOptional is no longer a type. We tried removing this extension on BoxType which gets it to build but it crashes at runtime. Is anyone working on updating this currently?

ilyapuchka commented 5 years ago

Please use swift42 branch. Swift 4.2 is not released yet, so this is not in master.

SlashDevSlashGnoll commented 5 years ago

Sorry about that, I could swear we looked for one but apparently not.