Errata

iOS 9 Swift Programming Cookbook

Errata for iOS 9 Swift Programming Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date Submitted
PDF Page 140
3rd paragraph

The code block of the touchesCancelled() method is shown twice. The second time it should be touchesMoved(), and points should be added instead of being removed.

Dorian  Feb 15, 2016 
ePub Page 79
'Solution'

Hi Vandad:

This is on the ePub version, page number might not help - it's recipe: “1.15 Designing Interactive Interface Objects in Playgrounds", the 'Solution' section.

The line reads:

=========
“Use storyboards while designing your UI, and after you are done, put your code inside an actual class. In IB, you can detach a view so that it is always visible in your playground while you are working on it, and any changes you make will immediately be shown.”
=========

This may very well be correct, as I'm not certain whether or not you're referring to the underlying mechanisms that Playgrounds use to render GUIs - however, I assume it should read:

=========
“Use playgrounds while designing your UI, and after you are done, put your code inside an actual class. Using playgrounds, you can detach a view so that it is always visible in your playground while you are working on it, and any changes you make will immediately be shown.”
=========

Kyle  Oct 25, 2015