Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show how to pass models between view controllers & how to instantiate view models in viewDidLoad #1

Open
fatuhoku opened this issue Apr 15, 2014 · 2 comments

Comments

@fatuhoku
Copy link

One of the problems I have with MVVM on iOS is that when using Storyboards, the life-cycle of view-controllers are just messed up.

I would love to see how a model object (just a POJO) is passed from one view controller to another, and how then that model's properties are bound to by the view model. The view controller binds UI elements' values to the view model, and we're done.

@Machx
Copy link
Owner

Machx commented Apr 22, 2014

I will consider this for a future addition to the project, but I don't guarantee anything. I probably need to update ReactiveCocoa,etc on this project first

@fatuhoku
Copy link
Author

On this topic, I found that Ash Furrow's C-41 is very good reference for this sort of thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants