You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
In order to do validation, I'm creating an isValid signal property on the view model. The signal is created the usual way with -combineLatest:reduce: with the input signals being RACObserve(self, propertyNameX). It seems strange to be observing self, but it also seems to be a necessary approach. Is this the way to do it, or is there a better way?
Yeah, I figured it was just me. I say "strange" because I've always known observing as technique for external objects to employ. Observing self feels like speaking of oneself in the third person. It's not that I thought there would be problems. Thanks for confirming.
In order to do validation, I'm creating an
isValid
signal property on the view model. The signal is created the usual way with-combineLatest:reduce:
with the input signals beingRACObserve(self, propertyNameX)
. It seems strange to be observingself
, but it also seems to be a necessary approach. Is this the way to do it, or is there a better way?EDIT: Related to #2.
The text was updated successfully, but these errors were encountered: