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

Container View Controller Data passing #18

Open
1er4y opened this issue Mar 3, 2017 · 2 comments
Open

Container View Controller Data passing #18

1er4y opened this issue Mar 3, 2017 · 2 comments

Comments

@1er4y
Copy link

1er4y commented Mar 3, 2017

Hi Raymond.
I use your Clean Swift architecture design in my app. Thats nice, but, i have a issue with data passing.

Passing data on NEXT scene its easy. But.
What i should use, to pass data FROM Container View (thats embedded with TableViewController) TO Parent View controller?
In another words, what i should use for transfer data from CHILDREN View controller to PARENT view Controller.

I must use router? Or interactor? I don't understand this. How to connect inputs of different view controllers in backward direction?

Thanks for reply.

@Saik0s
Copy link

Saik0s commented Mar 11, 2017

Hi,
You can try this modification of Clean Swift.

@1er4y
Copy link
Author

1er4y commented Mar 11, 2017

@Saik0s
Thanks for reply =)
I already solve my problem with adding delegate to my parent view controller from container view controller.

BTW, I already changed Clean Swift architecture almost like in your modification =)

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