How to observe extension enum #2929
Answered
by
jessicamrbr
estherzhangyue
asked this question in
Q&A
-
I need to observe an enum with some extension value, like below
And I add obs in controller like this
but when I wanna handle title data it throw The getter 'title' isn't defined for the type 'Rx' error, can anyone know how to add observer to enum with some extension value? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
jessicamrbr
Sep 20, 2023
Replies: 1 comment 1 reply
-
Did you try currentStatus.value.tittle ? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
estherzhangyue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you try currentStatus.value.tittle ?