Skip to content

Preparing project#44

Merged
anastkrp merged 3 commits intodevelopfrom
preparingProject
Jun 3, 2025
Merged

Preparing project#44
anastkrp merged 3 commits intodevelopfrom
preparingProject

Conversation

@anastkrp
Copy link
Copy Markdown
Collaborator

@anastkrp anastkrp commented Jun 3, 2025

Инициализация ServicesAssembly.
Добавила WebView и декомпозиции эпиков.

@anastkrp anastkrp requested a review from Maxoscaro June 3, 2025 09:22
Comment on lines +1 to +6
Анисимов Максим Сергеевич
Когорта: 22
Группа: 2
Эпик: Корзина

Ссылка на доску: [ссылка](https://github.com/users/Maxoscaro/projects/1/views/4)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Спасибо, что мой тоже закинула)

Comment on lines +33 to +44
final class Coordinator: NSObject, WKNavigationDelegate {
var parent: WebViewRepresentable

init(parent: WebViewRepresentable) {
self.parent = parent
}

func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
parent.isLoading = false
}
}
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

не думаю, что это критично, но я бы вынес класс в отдельный файл, просто для чистоты

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Coordinator, это вспомогательный объект, который связан только с WebViewRepresentable, и он больше нигде не используется.

Copy link
Copy Markdown
Owner

@Maxoscaro Maxoscaro left a comment

Choose a reason for hiding this comment

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

Оставил коммент, на твое усмотрение

@anastkrp anastkrp merged commit e9d764c into develop Jun 3, 2025
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.

2 participants