Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Akamu
Game Client iOS
Commits
7217ce8c
Commit
7217ce8c
authored
Jul 19, 2020
by
Maurice Kraus
Browse files
feat(navigationlayer): this connects the vm with the coordinator
parent
9b491524
Pipeline
#1898
passed with stages
in 14 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Akamu_iOS/Sources/NavigationLayer/Coordinators/SignedIn/ProfileCoordinator.swift
View file @
7217ce8c
...
...
@@ -54,6 +54,10 @@ class ProfileCoordinator: BaseCoordinator<ProfileCoordinatorResult> {
self
?
.
showTitleSelection
(
navigationController
:
navigationController
)
})
.
disposed
(
by
:
self
.
disposeBag
)
profileViewModel
.
didSelectPasswordChange
.
subscribe
(
onNext
:
{
[
weak
self
]
in
self
?
.
showPasswordChange
(
navigationController
:
navigationController
)
})
.
disposed
(
by
:
self
.
disposeBag
)
let
didCancel
=
containerViewModel
.
didCancel
.
map
{
CoordinationResult
.
cancel
}
let
didLogout
=
profileViewModel
.
didLogout
.
map
{
CoordinationResult
.
logout
}
...
...
@@ -82,6 +86,10 @@ class ProfileCoordinator: BaseCoordinator<ProfileCoordinatorResult> {
navigationController
.
pushViewController
(
viewController
,
animated
:
true
)
}
private
func
showPasswordChange
(
navigationController
:
UINavigationController
)
{
logger
.
debug
(
"Clicked showPassword"
)
}
deinit
{
logger
.
debug
(
"ProfileCoordinator Deinit"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment