hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.14k stars 188 forks source link

Resolver with today extension #34

Closed zarochintsev closed 4 years ago

zarochintsev commented 4 years ago

Hello, how to use Resolver with Today Extension?

zarochintsev commented 4 years ago

So, the solution: the same as the main application.

import Resolver

extension Resolver: ResolverRegistering {

  public static func registerAllServices() {
    // ...
  }
}