FunctionalTableData
FunctionalTableData copied to clipboard
Implement a reusable case
What
Right now, updateView is not clear enough about reusability.
Suggested approach
@robinsenior mentioned http://khanlou.com/2017/03/that-one-optional-property/ :
enum UseCase {
case prepareForReuse
case update(LabelState)
}
I think that's a great Idea and would prevent people from forgetting to prepare for reuse 👏
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 3 days if no further activity occurs.