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

about separation ideas. #21

Open
uu1022 opened this issue Sep 22, 2017 · 2 comments
Open

about separation ideas. #21

uu1022 opened this issue Sep 22, 2017 · 2 comments

Comments

@uu1022
Copy link

uu1022 commented Sep 22, 2017

Hello,thanks a lot for your sample code and tutorial ,and I have questions to ask you .In the first paragraph of your tutorial ,you say "We want a clear separation of concerns so that the UITableViewCell isn’t acting as the data source or delegate for the UICollectionView (because that would be very, very bad)."
About clear separation,why not let the UITableViewCell act as the data source or delegate for the UICollectionView,I would like to make the UITableViewCell act as the data source or delegate for the UICollectionView usually if I haven't read your tutorial.There are my questions :
1.What are the shortcomings?
2. When to make the UITableViewCell act as the data source or delegate for the UICollectionView? When not do that?Could you talk about your ideas?

thanks a lot .

@ashfurrow
Copy link
Owner

Hi there! That's a good question. I've actually gotten this question before, and wrote a blog post about it: https://ashfurrow.com/blog/challenging-established-dogma/ Hopefully that helps clear some things up. Cheers!

@uu1022
Copy link
Author

uu1022 commented Sep 29, 2017

Hi,
Thank you so much for your detailed ideas yourself.
I think I learned a better way of thinking than technology, and I will regard issues from the point of dialectics .Thank you very much for sharing !

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