You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
import Foundation
@objc public protocol SwinjectStoryboardProtocol {
/// Called by Swinject framework once before SwinjectStoryboard is instantiated. /// /// - Note: /// Implement this method and setup the default container if you implicitly instantiate UIWindow /// and its root view controller from "Main" storyboard. /// /// ```swift /// extension SwinjectStoryboard { /// @objc class func setup() { /// let container = defaultContainer /// container.register(SomeType.self) { /// _ in /// SomeClass() /// } /// container.storyboardInitCompleted(ViewController.self) { /// r, c in /// c.something = r.resolve(SomeType.self) /// } /// } /// } /// ``` @objc optional static func setup() }
|