1 min readNov 15, 2018
Hi Deni Zakya, in EmailViewModel there are 2 properties declared with objc dynamic keywords:
- emailTextValue
- isValidValue
Those properties are being observed by the ViewController using the keypath in the observeViewModel method to update the emailLabel and emailValidationLabel with the initial value and subsequent change using a closure completion handler.