Replies: 2 comments 8 replies
-
ObservedObjectを継承したオブジェクトをViewのインスタンス変数にすると、setattrしてるときにObservedobject.viewにselfを代入するという悪魔のような所業をしてる |
Beta Was this translation helpful? Give feedback.
1 reply
-
ちなみにStateとかPublishedは、setattrの時に_watch_variables_みたいな変数に変数名が登録されて、中身が代入されるという仕様なので、これもかなりヤバい |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
あと ViewModel のプロパティに対する
Publised()
も。メカニズムまだよく分かってないのでとりあえず聞いて学んでいくやつ。
Beta Was this translation helpful? Give feedback.
All reactions