This repository has been archived on 2025-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
organicmaps-tmp/iphone/Maps/UI/Welcome/TermsOfUse/TermsOfUseBuilder.swift

13 lines
454 B
Swift

class TermsOfUseBuilder {
static func build(delegate: WelcomeViewDelegate) -> UIViewController {
let sb = UIStoryboard.instance(.welcome)
let vc = sb.instantiateViewController(ofType: TermsOfUseViewController.self);
let router = WelcomeRouter(viewController: vc, delegate: delegate)
let presenter = TermsOfUsePresenter(view: vc,
router: router)
vc.presenter = presenter
return vc
}
}