Hi Ray, thanks for this tutorial & your whole site which is invaluable. I’m writing my first game exercise. Your protocol/delegate explanation is the first one I’ve read that makes sense. If you can clarify something that would be great.
-
wrt the simulator example recast into game situation, where is the best/correct place to declare the protocol? Is it in the ViewController or parent views or subviews?
-
at what point should dateSimulatorDidStart() be called again in a game situation? It seems very clear when dateSimulatorDidEnd() would be called. But if the ViewController’s viewDidLoad() or viewWillLayoutSubviews() are going to set up a game board and then waits for the first tap by the user, where does dateSimulatorDidStart() come in?
Thanks