Found an issue in Design Patterns by Tutorials, 3rd edition? Post it here!
Hello I found one small issue I haven’t seen others post about. In the Strategy chapter, in the example code for when refactoring the QuestionViewController delegate there is a parameter name that should be changed:
func questionViewController( _ viewController: QuestionViewController, didCancel questionGroup: QuestionStrategy)
func questionViewController( _ viewController: QuestionViewController, didCancel questionStratgey: QuestionStrategy)
Very small thing, but I thought it was worth pointing out. I really love the book and all this websites content! Keep up the great work at RW!
Chapter 23: Coordinator Pattern, Page 363
Should the name of presentSelectPainLevelCoordinator() method be rather presentSelectPainLevelViewController()?