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.
I'm reviewing @ashfurrow's C-41 MVVC project, and notice he's using - (instancetype)initWithModel:(id)model; which is included with his version of RVM. However the method is missing from the latest version. So:
What happened to the method?
What did it do (i.e., what was the model)?
The text was updated successfully, but these errors were encountered:
The view model used to contain a generic id model object on every instance, which you could override with your own type later on. But not all view models have a model, and the id type, along with its readonly status, caused some compile-time funkiness. So it was removed: #11
In my view models now, which use the updated repo, I specify my own model with its own type when appropriate. Hope that clears things up!
I'm reviewing @ashfurrow's C-41 MVVC project, and notice he's using
- (instancetype)initWithModel:(id)model;
which is included with his version of RVM. However the method is missing from the latest version. So:model
)?The text was updated successfully, but these errors were encountered: