mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
15 lines
685 B
Swift
15 lines
685 B
Swift
@objc class BottomTabBarBuilder: NSObject {
|
|
@objc static func build(mapViewController: MapViewController, controlsManager: MWMMapViewControlsManager) -> BottomTabBarViewController {
|
|
let viewController = BottomTabBarViewController(nibName: nil, bundle: nil)
|
|
let interactor = BottomTabBarInteractor(viewController: viewController,
|
|
mapViewController: mapViewController,
|
|
controlsManager: controlsManager)
|
|
let presenter = BottomTabBarPresenter(interactor: interactor)
|
|
|
|
interactor.presenter = presenter
|
|
viewController.presenter = presenter
|
|
|
|
return viewController
|
|
}
|
|
}
|