Chapter 12 - Protocols and Delegates

This forum contains answers readers may have for each chapter as well as any corrections to the book. The forum also contains the Source Code for the book.

Moderator: gary.bennett

Chapter 12 - Protocols and Delegates

Postby gary.bennett » Mon Jan 02, 2017 9:48 pm

Any Questions or Comments, click on the "Post Reply" button below to post. You will need to set up an account first, it just takes a second.

Free Swift Webinars
Every week, will present free-live iOS Swift Programming Courses, covering topics from Swift for Absolute Beginners Book and beyond.

Register here
Live Q/A and sessions are recorded for later playback here

After registering, you will receive a confirmation email containing information about joining the webinar.
User avatar
Posts: 564
Joined: Thu Feb 26, 2009 3:12 pm

Re: Chapter 12 - Protocols and Delegates

Postby gakkie » Wed Feb 22, 2017 6:24 am

Really disappointed by the quality of, or lack thereof, the Book. Many errors errors in the provided code.
Chapter 12 does run voor me, but It will never go back to the (Main) ViewController. Debugging showed me that delegate is nil. I don't know where to set/assign it properly!
So I tried to run the provided sample code. This code runs, but doesn't work as intended either! First off there is no nav controller (but in the book there's one added in step 3). The sample code is stuck on the 'New Game' question.
I'm moving on to better books / videos, as this isn't helping at all!
Posts: 0
Joined: Sun Jan 29, 2017 6:31 am

Return to Book -> Swift 3.0 for Absolute Beginners: iPhone and Mac Programming Made Easy 3rd Edition