# 📚 Official Books

**URL:** https://forums.kodeco.com/c/books/6.md?page=104

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

**Page:** 105

---

## [Attack animations / Hit Colliders](https://forums.kodeco.com/t/attack-animations-hit-colliders/57236)

<div class="topic-metadata">

**Author:** [@toiohomai](https://forums.kodeco.com/u/toiohomai)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 6:52pm UTC](https://forums.kodeco.com/t/attack-animations-hit-colliders/57236 "2019-01-09T18:52:07Z")

</div>

Is it possible to see how you put together the attack animation packages, specifically how you setup the hit colliders ideally we would want to replace the sprites with our own, but cannot determine how you got your hit …

---

## [Ch1 lldb xcode launch hangs](https://forums.kodeco.com/t/ch1-lldb-xcode-launch-hangs/37462)

<div class="topic-metadata">

**Author:** [@pauladdy](https://forums.kodeco.com/u/pauladdy)\
**Replies:** 4\
**Last updated:** [January 9, 2019, 6:40pm UTC](https://forums.kodeco.com/t/ch1-lldb-xcode-launch-hangs/37462 "2019-01-09T18:40:31Z")

</div>

Hello, I am following along in this interesting book. At chapter 1, I am trying to list Xcode 9’s Swift frameworks with the command ““(lldb) script print “\\n”.join(\[i.file.basename for i in lldb.target.modules if i.Find…

---

## [IOS Apprentice, Section 2 Checklists](https://forums.kodeco.com/t/ios-apprentice-section-2-checklists/56919)

<div class="topic-metadata">

**Author:** [@danielf](https://forums.kodeco.com/u/danielf)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 5:57pm UTC](https://forums.kodeco.com/t/ios-apprentice-section-2-checklists/56919 "2019-01-09T17:57:53Z")

</div>

Hi, i would like to add another 2 text fields and a photo from the library or camera for this list. The photon the additional text fields should be displayed in the ChecklistViewController. Can someone help me please.…

---

## [Chapter 9: apparent error in the GunEquipper script](https://forums.kodeco.com/t/chapter-9-apparent-error-in-the-gunequipper-script/47482)

<div class="topic-metadata">

**Author:** [@ryanbowles42](https://forums.kodeco.com/u/ryanbowles42)\
**Replies:** 5\
**Last updated:** [January 9, 2019, 2:19pm UTC](https://forums.kodeco.com/t/chapter-9-apparent-error-in-the-gunequipper-script/47482 "2019-01-09T14:19:17Z")

</div>

I have the latest PDF version of the book. There is a script given for switching guns, that does not allow for switching to the Assault Rifle. I edited my code to allow for it, but others may encounter this issue. Below …

---

## [Cat Nap Hook Problems](https://forums.kodeco.com/t/cat-nap-hook-problems/25355)

<div class="topic-metadata">

**Author:** [@joeeydubu](https://forums.kodeco.com/u/joeeydubu)\
**Replies:** 11\
**Last updated:** [January 9, 2019, 11:56am UTC](https://forums.kodeco.com/t/cat-nap-hook-problems/25355 "2019-01-09T11:56:47Z")

</div>

so I have tried everything to fix this! func didMoveToScene() { guard let scene = scene else { return } } let ceilingFix = SKPhysicsJointFixed.joint(withBodyA: scene.physicsBody!, bodyB: physicsBody…

---

## [Chapter 4 pip turicreate](https://forums.kodeco.com/t/chapter-4-pip-turicreate/59303)

<div class="topic-metadata">

**Author:** [@chlkdst](https://forums.kodeco.com/u/chlkdst)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 11:03am UTC](https://forums.kodeco.com/t/chapter-4-pip-turicreate/59303 "2019-01-09T11:03:27Z")

</div>

Hi guys, Whenever I execute this in CLI pip install turicreate==5.0, it says: Could not find a version that satisfies the requirement turicreate==5.0 (from versions: 4.2) No matching distribution found for turicreate…

---

## [Chapter 19: image on top of Icon label](https://forums.kodeco.com/t/chapter-19-image-on-top-of-icon-label/59146)

<div class="topic-metadata">

**Author:** [@maninsan](https://forums.kodeco.com/u/maninsan)\
**Replies:** 4\
**Last updated:** [January 7, 2019, 7:26pm UTC](https://forums.kodeco.com/t/chapter-19-image-on-top-of-icon-label/59146 "2019-01-07T19:26:28Z")

</div>

Hello! For some reason after I’ve finished section connected with Icons adding to the checklists, the Icon image is now on top of the Icon label (screenshot below). I tried to re-do all the constraints (5 times actually…

---

## [Chapter 15. Back motion not working](https://forums.kodeco.com/t/chapter-15-back-motion-not-working/59033)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 3:37pm UTC](https://forums.kodeco.com/t/chapter-15-back-motion-not-working/59033 "2019-01-05T15:37:15Z")

</div>

Hi, After completing “Motion control” on Chapter 15: «you can control the ball simply by tilting the device left, right, forward and back.» In my case works only left, right and forward motion. When I move phone back,…

---

## [Custom node classes](https://forums.kodeco.com/t/custom-node-classes/58987)

<div class="topic-metadata">

**Author:** [@zwolf](https://forums.kodeco.com/u/zwolf)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 8:17am UTC](https://forums.kodeco.com/t/custom-node-classes/58987 "2019-01-05T08:17:16Z")

</div>

Hi, Re: Chap 9. I am having trouble referencing a childnode from a custom class (JoeSprite) with code. Chap 9 Shows how to refer to the sks scene. How can I do this in code? I created a protocol in the GameScene (JoeSc…

---

## [One-shot or Repeating Timers, Ch 11, p. 236](https://forums.kodeco.com/t/one-shot-or-repeating-timers-ch-11-p-236/58931)

<div class="topic-metadata">

**Author:** [@evs718](https://forums.kodeco.com/u/evs718)\
**Replies:** 5\
**Last updated:** [January 4, 2019, 8:52pm UTC](https://forums.kodeco.com/t/one-shot-or-repeating-timers-ch-11-p-236/58931 "2019-01-04T20:52:21Z")

</div>

This very short explantion needs expansion, especially the use of the “repeat period”. Observable.timer(\_:period:scheduler:)

---

## [How to use SceneCoordinator with UITabBarController?](https://forums.kodeco.com/t/how-to-use-scenecoordinator-with-uitabbarcontroller/29346)

<div class="topic-metadata">

**Author:** [@noahblues](https://forums.kodeco.com/u/noahblues)\
**Replies:** 13\
**Last updated:** [January 4, 2019, 7:28am UTC](https://forums.kodeco.com/t/how-to-use-scenecoordinator-with-uitabbarcontroller/29346 "2019-01-04T07:28:51Z")

</div>

It seems no way to have any transition in UITabBarController’s viewControllers.

---

## [The SQL subquery syntax unsupported](https://forums.kodeco.com/t/the-sql-subquery-syntax-unsupported/58747)

<div class="topic-metadata">

**Author:** [@swiftios](https://forums.kodeco.com/u/swiftios)\
**Replies:** 6\
**Last updated:** [January 3, 2019, 12:42pm UTC](https://forums.kodeco.com/t/the-sql-subquery-syntax-unsupported/58747 "2019-01-03T12:42:11Z")

</div>

I didn’t find any solution to run subquery using pure Fluent syntax , i was forced to use pur sql func getFavorite(\_ req: Request) throws -\> Future\<\[Article\]\> { return try req.parameters.next(User.self).flatMap(to:…

---

## [Chapter 12 Pillar top texture](https://forums.kodeco.com/t/chapter-12-pillar-top-texture/58831)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 4:47pm UTC](https://forums.kodeco.com/t/chapter-12-pillar-top-texture/58831 "2019-01-02T16:47:29Z")

</div>

Hi, Could you please help, I don’t understand, hot to do the top texture of the pillar the same as the sides? (Screenshot attached)

---

## [Other problem in chapter 4](https://forums.kodeco.com/t/other-problem-in-chapter-4/58776)

<div class="topic-metadata">

**Author:** [@faabalia](https://forums.kodeco.com/u/faabalia)\
**Replies:** 3\
**Last updated:** [January 2, 2019, 4:31am UTC](https://forums.kodeco.com/t/other-problem-in-chapter-4/58776 "2019-01-02T04:31:24Z")

</div>

Hi, When I execute this code in jupyter notebook: model = tc.image\_classifier.create(train\_data, target=“label”, model=“VisionFeaturePrint\_Screen”, verbose=True, max\_iterations=50) I have the error: ToolkitError: …

---

## [One question about linklist node](https://forums.kodeco.com/t/one-question-about-linklist-node/57628)

<div class="topic-metadata">

**Author:** [@yangwulong1978](https://forums.kodeco.com/u/yangwulong1978)\
**Replies:** 7\
**Last updated:** [January 1, 2019, 8:10pm UTC](https://forums.kodeco.com/t/one-question-about-linklist-node/57628 "2019-01-01T20:10:05Z")

</div>

there is one thing I am not quite understand ,for example public class Node { var val:Int var next:Node? init(\_ val:Int) { self.val = val self.next = nil } } func printList(\_ node:Node?) { var cur = node w…

---

## [Chapter 2 - Challenge Rotating the mushroom](https://forums.kodeco.com/t/chapter-2-challenge-rotating-the-mushroom/58714)

<div class="topic-metadata">

**Author:** [@izzywizz](https://forums.kodeco.com/u/izzywizz)\
**Replies:** 2\
**Last updated:** [January 1, 2019, 6:53pm UTC](https://forums.kodeco.com/t/chapter-2-challenge-rotating-the-mushroom/58714 "2019-01-01T18:53:32Z")

</div>

Hia👋 Awesome tutorials btw. I was attempting the challenge for chapter 2 and managed to reposition the mushroom just about using Euler values from the SceneKit node inspector (I didn’t do the blender mushroom tutorial,…

---

## [Chapter 10 Collision Mask](https://forums.kodeco.com/t/chapter-10-collision-mask/58697)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 3\
**Last updated:** [January 1, 2019, 7:43am UTC](https://forums.kodeco.com/t/chapter-10-collision-mask/58697 "2019-01-01T07:43:54Z")

</div>

Hi, Why in Chapter 10, Collision Mask for Ball we set to -1 value and not to 0 or 1?

---

## [V5 Chapter 6 Mapped migration one to many error](https://forums.kodeco.com/t/v5-chapter-6-mapped-migration-one-to-many-error/58358)

<div class="topic-metadata">

**Author:** [@thefredelement](https://forums.kodeco.com/u/thefredelement)\
**Replies:** 3\
**Last updated:** [December 31, 2018, 6:33pm UTC](https://forums.kodeco.com/t/v5-chapter-6-mapped-migration-one-to-many-error/58358 "2018-12-31T18:33:23Z")

</div>

Following the steps along to create a custom mapping model, ending at page 157, results in: 2018-12-25 12:23:38.483789-0500 UnCloudNotes\[71393:1048312\] \*\*\* Terminating app due to uncaught exception 'NSInvalidArgumentExc…

---

## [Chapter 9: “vapor cloud run "revert --all --yes” fails](https://forums.kodeco.com/t/chapter-9-vapor-cloud-run-revert-all-yes-fails/43037)

<div class="topic-metadata">

**Author:** [@foamx](https://forums.kodeco.com/u/foamx)\
**Replies:** 6\
**Last updated:** [December 30, 2018, 3:50pm UTC](https://forums.kodeco.com/t/chapter-9-vapor-cloud-run-revert-all-yes-fails/43037 "2018-12-30T15:50:56Z")

</div>

When I run the “vapor cloud run "revert --all --yes” command I am prompted for the environment but after I enter it within a few seconds I am returned to the command line. It appears to be silently failing. The databas…

---

## [Library or something automatic to getlocation](https://forums.kodeco.com/t/library-or-something-automatic-to-getlocation/58531)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 4\
**Last updated:** [December 29, 2018, 8:50pm UTC](https://forums.kodeco.com/t/library-or-something-automatic-to-getlocation/58531 "2018-12-29T20:50:54Z")

</div>

Im following the 3rd project Is there an automatic lib to get the location automatically without thinking of all the possibilities written in the book

---

## [Suggestions for 8th Edition](https://forums.kodeco.com/t/suggestions-for-8th-edition/55142)

<div class="topic-metadata">

**Author:** [@lenny\_eiger](https://forums.kodeco.com/u/lenny_eiger)\
**Replies:** 2\
**Last updated:** [December 28, 2018, 2:51am UTC](https://forums.kodeco.com/t/suggestions-for-8th-edition/55142 "2018-12-28T02:51:30Z")

</div>

As I mentioned before, I am enjoying the book. This comment is meant to be positive and constructive. I am working on Checklists. I think the naming of variables could be improved. My errors have come from failure to ca…

---

## [Is this interpretation of the code snippet of chapter 16 correct?](https://forums.kodeco.com/t/is-this-interpretation-of-the-code-snippet-of-chapter-16-correct/57733)

<div class="topic-metadata">

**Author:** [@mikeneirinck](https://forums.kodeco.com/u/mikeneirinck)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 2:49am UTC](https://forums.kodeco.com/t/is-this-interpretation-of-the-code-snippet-of-chapter-16-correct/57733 "2018-12-28T02:49:02Z")

</div>

var accountType: Account.Type = BitcoinAccount.self let account = accountType.init(initialAmount: 30.00) let transferAccount = accountType.init(transferAccount: account)! Account is a protocol. The .Type would say tha…

---

## [Checklists: 14 Editing Items](https://forums.kodeco.com/t/checklists-14-editing-items/58373)

<div class="topic-metadata">

**Author:** [@dthai93](https://forums.kodeco.com/u/dthai93)\
**Replies:** 6\
**Last updated:** [December 27, 2018, 10:05pm UTC](https://forums.kodeco.com/t/checklists-14-editing-items/58373 "2018-12-27T22:05:59Z")

</div>

Hit my first roadblock. I thought I was following everything step by step. I am getting no errors, but when I click the i icon to Edit an item, the Checklist Item to be edited does not load in the text field. It is alwa…

---

## [Can someBody Provide a complete solution for SceneCoordinator with UITabBarController in MVVM?](https://forums.kodeco.com/t/can-somebody-provide-a-complete-solution-for-scenecoordinator-with-uitabbarcontroller-in-mvvm/58376)

<div class="topic-metadata">

**Author:** [@hbasin3](https://forums.kodeco.com/u/hbasin3)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 4:56pm UTC](https://forums.kodeco.com/t/can-somebody-provide-a-complete-solution-for-scenecoordinator-with-uitabbarcontroller-in-mvvm/58376 "2018-12-27T16:56:27Z")

</div>

I am not able to create a fully stable Scene Coordinator with UITabBarController. Can somebody help me with it? Thanks

---

## [Ch 10: Ball and Barrier Bugs](https://forums.kodeco.com/t/ch-10-ball-and-barrier-bugs/18300)

<div class="topic-metadata">

**Author:** [@keydogg](https://forums.kodeco.com/u/keydogg)\
**Replies:** 4\
**Last updated:** [December 27, 2018, 10:44am UTC](https://forums.kodeco.com/t/ch-10-ball-and-barrier-bugs/18300 "2018-12-27T10:44:58Z")

</div>

I completed chapter 10 and found some issues with the ball and barriers when testing on a device (iPhone 6s). I reduced the ball’s velocity to 2.5 to slow things down a bit and ran across the following. 1: Sometimes the…

---

## [Ch 6, Saving a copy of the Data store file](https://forums.kodeco.com/t/ch-6-saving-a-copy-of-the-data-store-file/56559)

<div class="topic-metadata">

**Author:** [@afinque](https://forums.kodeco.com/u/afinque)\
**Replies:** 2\
**Last updated:** [December 25, 2018, 2:44am UTC](https://forums.kodeco.com/t/ch-6-saving-a-copy-of-the-data-store-file/56559 "2018-12-25T02:44:35Z")

</div>

Hi all, I know I’m going to realize the answer as soon as I hit send, but oh well (and maybe not), I will take one for the team. The text says “You may also want to save a copy of the data store file and append the na…

---

## [Ios networking layer](https://forums.kodeco.com/t/ios-networking-layer/54257)

<div class="topic-metadata">

**Author:** [@wellbranding](https://forums.kodeco.com/u/wellbranding)\
**Replies:** 4\
**Last updated:** [December 25, 2018, 2:29am UTC](https://forums.kodeco.com/t/ios-networking-layer/54257 "2018-12-25T02:29:40Z")

</div>

Hello, I am coming from android world and I am not sure in networking in ios… I do everything with swift, but I need good networking layer which would improve testing, code readability. basically I follow MVC-N(however w…

---

## [iOS 6th Edition CheckList](https://forums.kodeco.com/t/ios-6th-edition-checklist/58314)

<div class="topic-metadata">

**Author:** [@billj](https://forums.kodeco.com/u/billj)\
**Replies:** 2\
**Last updated:** [December 25, 2018, 12:00am UTC](https://forums.kodeco.com/t/ios-6th-edition-checklist/58314 "2018-12-25T00:00:51Z")

</div>

I’ve tried this Checklist section four times and made sure I followed each step, so last time I did, I used your step code, but still having issues, can someone look this over and help me ? import UIKit class Checklist…

---

## [Chapter 37: Slicing Images](https://forums.kodeco.com/t/chapter-37-slicing-images/58267)

<div class="topic-metadata">

**Author:** [@zinkspieler](https://forums.kodeco.com/u/zinkspieler)\
**Replies:** 3\
**Last updated:** [December 24, 2018, 2:15pm UTC](https://forums.kodeco.com/t/chapter-37-slicing-images/58267 "2018-12-24T14:15:57Z")

</div>

I’m struggling with Chapter 37, in the section where we deal with stretchable images. I’ve been trying to make it work, but it always looks like either of these two pictures. Can anyone suggest what I might be doing wron…

---

## [\[SceneKit\] Error: Physically based lighting model is not supported](https://forums.kodeco.com/t/scenekit-error-physically-based-lighting-model-is-not-supported/58280)

<div class="topic-metadata">

**Author:** [@sergeydi](https://forums.kodeco.com/u/sergeydi)\
**Replies:** 1\
**Last updated:** [December 24, 2018, 9:36am UTC](https://forums.kodeco.com/t/scenekit-error-physically-based-lighting-model-is-not-supported/58280 "2018-12-24T09:36:01Z")

</div>

Hi, I start reading “3D Apple Games by Tutorials” book. During executing all exercises I got messages in Xcode: “\[SceneKit\] Error: Physically based lighting model is not supported by the OpenGL renderer, using Phong in…

[Previous page](https://forums.kodeco.com/c/books/6.md?page=103)

[Next page](https://forums.kodeco.com/c/books/6.md?page=105)
