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

Video in background #261

Merged
merged 6 commits into from
Apr 2, 2018
Merged

Video in background #261

merged 6 commits into from
Apr 2, 2018

Conversation

kvld
Copy link
Contributor

@kvld kvld commented Mar 28, 2018

Задача: #APPS-1825

Коротко для Release Notes, в формате «Сделали/Добавили/Исправили N»:
Добавили возможность воспроизводить видео при свернутом приложении

Описание:
В RemoteConfig добавлен параметр, который включает возможность воспроизводить видео при свернутом приложении. Воспроизведение без пауз при сворачивании – Technical Q&A QA1668

@kvld kvld added the main label Mar 28, 2018
@kvld kvld added this to the 1.56 milestone Mar 28, 2018
@kvld kvld self-assigned this Mar 28, 2018
@kvld kvld requested a review from Ostrenkiy March 28, 2018 17:03
show(direction: direction, in: inView, from: fromView, isArrowVisible: true)
}

func show(direction: TooltipDirection, in inView: UIView?, from fromView: UIView, isArrowVisible: Bool) {
Copy link
Contributor

Choose a reason for hiding this comment

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

можно просто сделать isArrowVisible: Bool = true дефолтным параметром в методе. Тогда тот, что выше, будет не нужен

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Он под протоколом, а протоколы не разрешают дефолтное значение для аргументов. А если мы уберём метод, который без isArrowVisible и оставим в протоколе 2 метода (для UIView с isArrowVisible и для UIBarButtonItem), то не сможем вызывать метод для UIView.

@kvld kvld merged commit 583d669 into dev Apr 2, 2018
@kvld kvld deleted the feature/background-video branch April 2, 2018 18:14
@kvld kvld mentioned this pull request Apr 4, 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