/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
iphone/Maps/UI/BottomMenu/Presentation/BottomMenuTransitioningManager.swift
14 строк
795 B
Alexander Boriskov
[iOS] Refactored bottom menu and tabbar, moved layers menu into bottom menu
27 апр 2020, 16:41
27 апр 2020, 16:41
74cd39c
Код
Авторство
О чём код?
final class BottomMenuTransitioningManager: NSObject, UIViewControllerTransitioningDelegate { func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source _: UIViewController) -> UIPresentationController? { BottomMenuPresentationController(presentedViewController: presented, presenting: presenting) } func animationController(forPresented _: UIViewController, presenting _: UIViewController, source _: UIViewController) -> UIViewControllerAnimatedTransitioning? { return BottomMenuTransitioning(isPresentation: true) } func animationController(forDismissed _: UIViewController) -> UIViewControllerAnimatedTransitioning? { return BottomMenuTransitioning(isPresentation: false) } }