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

Add wireframe shouldn't know the presentation style #10

Open
Koshub opened this issue Jan 31, 2016 · 3 comments
Open

Add wireframe shouldn't know the presentation style #10

Koshub opened this issue Jan 31, 2016 · 3 comments

Comments

@Koshub
Copy link

Koshub commented Jan 31, 2016

Add wireframe shouldn't know the presentation style. It should be a list wireframe responsibility to decide what presentation style (modal or push) to use. The better approach is to use segues with module configurator object stored in module view controller scene which initialises module while nib is loading:
http://www.slideshare.net/Rambler-iOS/viper-swift

@AliqueWilliams
Copy link

@Koshub Do you have an example on GitHub where this is done right?

@Koshub
Copy link
Author

Koshub commented Jul 3, 2017

@AliqueWilliams currently I don't think that the VIPER at all is right approach. It is better to develop app architecture using SOLID principles

@AliqueWilliams
Copy link

SOLID principles are independent of your apps architecture though and VIPER utilizes many of them anyway

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