let xInset = min(view.bounds.width/2 * camera.xScale, background.frame.width/2) let yInset = min(view.bounds.height/2 * camera.yScale, background.frame.height/2)
Page 330, “view” type is SKView? so. following error is displayed.
Value of optional type ‘SKView?’ not unwrapped; did you mean to use ‘!’ or ‘?’?
So I fixed like followings
let xInset = min(view!.bounds.width/2 * camera.xScale, background.frame.width/2)
let yInset = min(view!.bounds.height/2 * camera.yScale, background.frame.height/2)