Hello all, I have a new Question :slightly_smilin...
# decompose
f
Hello all, I have a new Question 🙂 . Somebody has any idea how to solve this with StateValue?
it appears that I had to add this. Didn’t test it yet. But isn’t there a more concise way?
Copy code
private var email: Binding<String> {
        Binding { uiState.email } set: { email in
            component.onEmailChanged(email: email)
            }
        }
    
    private var password: Binding<String> {
        Binding { uiState.password } set: { password in
            component.onPasswordChanged(password: password)
            }
        }
a
f
Hi Arkadii, Are you familiar with the moko libs for sharing resources and mapping sealed classes to enums in swift. Especially the mapping part. Can it be used with for example parcelize classes from decompose?
a
Nope, not familiar. Perhaps, custom parcelers will help: https://github.com/arkivanov/Essenty#custom-parcelers
f
Thnx I will Look into it.
👍 1