Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tab bar controller as a root controller #354

Merged
merged 5 commits into from
Aug 28, 2018

Conversation

ivan-magda
Copy link
Member

Задача: #APPS-2001

Описание:
Изменили корневой контроллер с UINavigationController на UITabBarController.

@ivan-magda ivan-magda added this to the 1.67 milestone Aug 27, 2018
@ivan-magda ivan-magda self-assigned this Aug 27, 2018
@ivan-magda ivan-magda requested review from kvld and Ostrenkiy August 27, 2018 09:34
@kvld kvld removed the request for review from Ostrenkiy August 27, 2018 22:26
let navigationController = UINavigationController()
let controller = assemblyFactory.topicsAssembly.module(
navigationController: navigationController
) as! TopicsTableViewController
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай обойдемся без force cast (например, проверять с fatalError)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, поправлю. В дальнейшем здесь не будет ни force cast, ни fatal error.
Пока тут небольшой хак для того, чтобы установить действие при нажатии на элемент списка: теоритический или практический режимы.

@ivan-magda ivan-magda merged commit 8354d95 into dev Aug 28, 2018
@ivan-magda ivan-magda deleted the feature/exam-tab-bar-controller branch August 28, 2018 07:09
@kvld kvld mentioned this pull request Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants