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

E2E: SAS Verification #2372

Merged
merged 49 commits into from
Apr 24, 2019
Merged

E2E: SAS Verification #2372

merged 49 commits into from
Apr 24, 2019

Conversation

manuroe
Copy link
Member

@manuroe manuroe commented Apr 17, 2019

manuroe added 30 commits April 5, 2019 09:41
@manuroe manuroe changed the title [WIP] E2E: SAS Verification E2E: SAS Verification Apr 19, 2019
@manuroe manuroe requested a review from SBiOSoftWhare April 19, 2019 09:41
deviceVerificationCoordinatorBridgePresenter = nil;

// TODO: Why?
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
Copy link
Contributor

Choose a reason for hiding this comment

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

You could add a completion on dismiss like dismissAnimated:completion: on DeviceVerificationCoordinatorBridgePresenter


// MARK: Public

var userId: String
Copy link
Contributor

Choose a reason for hiding this comment

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

All properties below from userId to mediaManager should use let instead of var

NotificationCenter.default.addObserver(self, selector: #selector(themeDidChange), name: .themeServiceDidChangeTheme, object: nil)
}

private func loadData() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Using MVVM-C pattern, code in this method should be moved in a view model.

// MARK: - DeviceVerificationStartViewModelCoordinatorDelegate
extension DeviceVerificationStartCoordinator: DeviceVerificationStartViewModelCoordinatorDelegate {
func deviceVerificationStartViewModelUseLegacyVerification(_ viewModel: DeviceVerificationStartViewModelType) {
// TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

To remove?


@IBOutlet private weak var titleLabel: UILabel!
@IBOutlet private weak var informationLabel: UILabel!
@IBOutlet weak var waitingPartnerLabel: UILabel!
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing some private on outlets


@IBOutlet private weak var titleLabel: UILabel!
@IBOutlet private weak var informationLabel: UILabel!
@IBOutlet weak var decimalLabel: UILabel!
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing some private on outlets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2E: SAS Verification (App)
2 participants