# 📚 Official Books

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

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

**Page:** 122

---

## [Chapter 23 challenges](https://forums.kodeco.com/t/chapter-23-challenges/22508)

<div class="topic-metadata">

**Author:** [@leblanc-f](https://forums.kodeco.com/u/leblanc-f)\
**Replies:** 2\
**Last updated:** [May 20, 2018, 10:32pm UTC](https://forums.kodeco.com/t/chapter-23-challenges/22508 "2018-05-20T22:32:02Z")

</div>

Spoiler alert: This question reveals the answer to the challenge, so if you haven’t done it yet, you shouldn’t read this! I did the challenges in chapter 23 and could break the strong cycle references in the 2 exercices…

---

## [Chapter 9 Through 11 - Revert executing for hours](https://forums.kodeco.com/t/chapter-9-through-11-revert-executing-for-hours/42733)

<div class="topic-metadata">

**Author:** [@andrekilik](https://forums.kodeco.com/u/andrekilik)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 1:37pm UTC](https://forums.kodeco.com/t/chapter-9-through-11-revert-executing-for-hours/42733 "2018-05-21T13:37:55Z")

</div>

Whenever I try to run the command, vapor cloud run “revert --all --yes”, the command runs for hours unending, like it is running a infinite loop, it happens both on the command line, when I try to deploy, and when I’m r…

---

## [My Locations: showUser()](https://forums.kodeco.com/t/my-locations-showuser/42740)

<div class="topic-metadata">

**Author:** [@oaranger](https://forums.kodeco.com/u/oaranger)\
**Replies:** 2\
**Last updated:** [May 20, 2018, 12:07am UTC](https://forums.kodeco.com/t/my-locations-showuser/42740 "2018-05-20T00:07:34Z")

</div>

Hello, In chapter 29, in viewDidLoad(), instead of showLocations(), I want to showUser() to show user’s location to start with. Here is what I did: override func viewDidLoad() { print(“ViewDidLoad”) super.viewDidLoad…

---

## [Chapter 18 - Show new list](https://forums.kodeco.com/t/chapter-18-show-new-list/42684)

<div class="topic-metadata">

**Author:** [@h4pdx](https://forums.kodeco.com/u/h4pdx)\
**Replies:** 9\
**Last updated:** [May 19, 2018, 10:49pm UTC](https://forums.kodeco.com/t/chapter-18-show-new-list/42684 "2018-05-19T22:49:18Z")

</div>

In chapter 18, where we add the code to perform a segue to the last opened list before the app was terminated, I wanted to try to go a little further and figure out if I could have the app perform a segue to the “ShowChe…

---

## [Catnap not finishing curling](https://forums.kodeco.com/t/catnap-not-finishing-curling/41849)

<div class="topic-metadata">

**Author:** [@spgms](https://forums.kodeco.com/u/spgms)\
**Replies:** 6\
**Last updated:** [May 19, 2018, 8:25pm UTC](https://forums.kodeco.com/t/catnap-not-finishing-curling/41849 "2018-05-19T20:25:44Z")

</div>

I’m not sure why, but at the end of Chpt 9 in Catnap the cat isn’t finishing it’s curl. I have compared my code to the Final code and don’t see what is wrong. Xcode Version 9.2 (9C40b) macOS High Sierra 10.13.3 (17D…

---

## [Chapter 16: No such module xxx](https://forums.kodeco.com/t/chapter-16-no-such-module-xxx/41686)

<div class="topic-metadata">

**Author:** [@zishanj](https://forums.kodeco.com/u/zishanj)\
**Replies:** 2\
**Last updated:** [May 18, 2018, 3:21am UTC](https://forums.kodeco.com/t/chapter-16-no-such-module-xxx/41686 "2018-05-18T03:21:33Z")

</div>

I am using latest XCode version 9.3 and pod version 1.5.0. After running pod install, I have opened xcworkspace file in XCode but on running test I receive No such module xxx for both RxTest and RxBlocking.

---

## [Factory chapter: code refactoring suggestion](https://forums.kodeco.com/t/factory-chapter-code-refactoring-suggestion/42570)

<div class="topic-metadata">

**Author:** [@giguerea](https://forums.kodeco.com/u/giguerea)\
**Replies:** 1\
**Last updated:** [May 15, 2018, 4:00pm UTC](https://forums.kodeco.com/t/factory-chapter-code-refactoring-suggestion/42570 "2018-05-15T16:00:17Z")

</div>

Quick suggestion while reading the book, I am a big fan of Swift compactMap function and on page 178 (the factory chapter) you could have refactor the addAnnotations method as follow: private func addAnnotations() { …

---

## [A question about updates before release](https://forums.kodeco.com/t/a-question-about-updates-before-release/42561)

<div class="topic-metadata">

**Author:** [@andrekilik](https://forums.kodeco.com/u/andrekilik)\
**Replies:** 1\
**Last updated:** [May 15, 2018, 10:37am UTC](https://forums.kodeco.com/t/a-question-about-updates-before-release/42561 "2018-05-15T10:37:50Z")

</div>

I’m just curious, a part of the book says vapor currently only supports SQL databases. Fluent git page says it works on both SQL and noSQL databases. And following through the book using the command vapor cloud deploy, a…

---

## [Vapor Team in Slack](https://forums.kodeco.com/t/vapor-team-in-slack/42529)

<div class="topic-metadata">

**Author:** [@\_artcc](https://forums.kodeco.com/u/_artcc)\
**Replies:** 2\
**Last updated:** [May 14, 2018, 6:22am UTC](https://forums.kodeco.com/t/vapor-team-in-slack/42529 "2018-05-14T06:22:30Z")

</div>

Hi! My name is Arturo :slight\_smile: How to find the Slack group for Vapor? Regards, Arturo

---

## [Earlier Question Was Never Answered!](https://forums.kodeco.com/t/earlier-question-was-never-answered/42500)

<div class="topic-metadata">

**Author:** [@stubess](https://forums.kodeco.com/u/stubess)\
**Replies:** 2\
**Last updated:** [May 13, 2018, 2:33pm UTC](https://forums.kodeco.com/t/earlier-question-was-never-answered/42500 "2018-05-13T14:33:51Z")

</div>

The following question was asked, but never answered. Let me ask it again. This is the text of the original question. I’m not sure about the page number. The statement appears twice in Chapter 9. "Page 236 of the book d…

---

## [Using apps created with the iOS apprentice on the iPhone](https://forums.kodeco.com/t/using-apps-created-with-the-ios-apprentice-on-the-iphone/42459)

<div class="topic-metadata">

**Author:** [@edouard](https://forums.kodeco.com/u/edouard)\
**Replies:** 2\
**Last updated:** [May 12, 2018, 9:24am UTC](https://forums.kodeco.com/t/using-apps-created-with-the-ios-apprentice-on-the-iphone/42459 "2018-05-12T09:24:18Z")

</div>

Hi, I am currently reading the iOS apprentice and having a really fun time learning how to program apps for the iPhone (I had no real CS background beforehand). The book is very well written and easy to follow, you guys…

---

## [Workspace does not exist](https://forums.kodeco.com/t/workspace-does-not-exist/42278)

<div class="topic-metadata">

**Author:** [@reez](https://forums.kodeco.com/u/reez)\
**Replies:** 6\
**Last updated:** [May 11, 2018, 9:03pm UTC](https://forums.kodeco.com/t/workspace-does-not-exist/42278 "2018-05-11T21:03:27Z")

</div>

I’m following this in every chapter, “To get started, open the macOS Terminal app (or another similar app of your choice), navigate to the current chapter’s starter folder, and run the bootstrap script:” and running in…

---

## [Podfile: RealmSwift version](https://forums.kodeco.com/t/podfile-realmswift-version/42277)

<div class="topic-metadata">

**Author:** [@reez](https://forums.kodeco.com/u/reez)\
**Replies:** 2\
**Last updated:** [May 11, 2018, 8:19pm UTC](https://forums.kodeco.com/t/podfile-realmswift-version/42277 "2018-05-11T20:19:36Z")

</div>

When doing pod install I run into this: \[!\] CocoaPods could not find compatible versions for pod "RealmSwift": In Podfile: RealmSwift (= 3.3.0) Other than manually pulling version # out of the Podfile in each cha…

---

## [Making the username unique](https://forums.kodeco.com/t/making-the-username-unique/42471)

<div class="topic-metadata">

**Author:** [@cellane](https://forums.kodeco.com/u/cellane)\
**Replies:** 2\
**Last updated:** [May 11, 2018, 11:57am UTC](https://forums.kodeco.com/t/making-the-username-unique/42471 "2018-05-11T11:57:03Z")

</div>

I noticed that the username, something that’s often considered unique, is never checked for uniqueness. This might be eventually described and fixed in the section regarding authentication once it comes out, so apologies…

---

## [Possible Mistake in QueueStack description](https://forums.kodeco.com/t/possible-mistake-in-queuestack-description/42247)

<div class="topic-metadata">

**Author:** [@psyaryu](https://forums.kodeco.com/u/psyaryu)\
**Replies:** 1\
**Last updated:** [May 10, 2018, 6:56pm UTC](https://forums.kodeco.com/t/possible-mistake-in-queuestack-description/42247 "2018-05-10T18:56:53Z")

</div>

I’ve implemented all of the variations of queue that the books has to offer. When I got to the QueueStack variant of a Queue data structure, It appeared that the print out was “backwards”. The current code is this: ext…

---

## [Why checkList when hide checkmark when row0check = false](https://forums.kodeco.com/t/why-checklist-when-hide-checkmark-when-row0check-false/42451)

<div class="topic-metadata">

**Author:** [@ceoit](https://forums.kodeco.com/u/ceoit)\
**Replies:** 1\
**Last updated:** [May 10, 2018, 10:53am UTC](https://forums.kodeco.com/t/why-checklist-when-hide-checkmark-when-row0check-false/42451 "2018-05-10T10:53:04Z")

</div>

row0check = false … if indexPath.row == 0 { row0checked = !row0checked if row0checked { cell.accessoryType = .checkmark } else { cell.accessoryType = .none } } Here my code. When i run app, checkmark’s…

---

## [Chapter 5 Aliens Won't Spawn and Variable Problem](https://forums.kodeco.com/t/chapter-5-aliens-wont-spawn-and-variable-problem/32542)

<div class="topic-metadata">

**Author:** [@vsummer7](https://forums.kodeco.com/u/vsummer7)\
**Replies:** 8\
**Last updated:** [May 10, 2018, 9:02am UTC](https://forums.kodeco.com/t/chapter-5-aliens-wont-spawn-and-variable-problem/32542 "2018-05-10T09:02:03Z")

</div>

HI, my aliens won’t spawn, Here is my GameManager.cs script : using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Collections.Generic; public class GameManager : MonoBehaviou…

---

## [V6.0, ch17, pg 385. "Add" button on AllLists screen greys out after first entry](https://forums.kodeco.com/t/v6-0-ch17-pg-385-add-button-on-alllists-screen-greys-out-after-first-entry/41850)

<div class="topic-metadata">

**Author:** [@westdev](https://forums.kodeco.com/u/westdev)\
**Replies:** 4\
**Last updated:** [May 9, 2018, 8:12pm UTC](https://forums.kodeco.com/t/v6-0-ch17-pg-385-add-button-on-alllists-screen-greys-out-after-first-entry/41850 "2018-05-09T20:12:12Z")

</div>

As far as I can tell, on an empty beginning list, when the first checklist is added using the ‘Add’ button at the top, after the title of the first checklist is confirmed, when it goes back to the All Checklists screen, …

---

## [Chapter 8 Finishing touches MarineDeathParticles](https://forums.kodeco.com/t/chapter-8-finishing-touches-marinedeathparticles/31829)

<div class="topic-metadata">

**Author:** [@skywignedace](https://forums.kodeco.com/u/skywignedace)\
**Replies:** 4\
**Last updated:** [May 8, 2018, 3:45pm UTC](https://forums.kodeco.com/t/chapter-8-finishing-touches-marinedeathparticles/31829 "2018-05-08T15:45:19Z")

</div>

I am adding in the deathparticles and the alien properly displays upon death however the marine upon dying doesn’t display. I changed the private Deathparticle variable in the marine to see it was setting correctly then …

---

## [performingReverseGeocoding](https://forums.kodeco.com/t/performingreversegeocoding/42353)

<div class="topic-metadata">

**Author:** [@mamerlot](https://forums.kodeco.com/u/mamerlot)\
**Replies:** 2\
**Last updated:** [May 8, 2018, 9:39am UTC](https://forums.kodeco.com/t/performingreversegeocoding/42353 "2018-05-08T09:39:36Z")

</div>

Page 675: MyLocations Hi, I’m wondering why performingReverseGeocoding is true when entering this condition “if !performingReverseGeocoding {” because it was never set to true in the code earlier Thanks

---

## [Kudos to the Authors](https://forums.kodeco.com/t/kudos-to-the-authors/42259)

<div class="topic-metadata">

**Author:** [@createch](https://forums.kodeco.com/u/createch)\
**Replies:** 2\
**Last updated:** [May 5, 2018, 6:05pm UTC](https://forums.kodeco.com/t/kudos-to-the-authors/42259 "2018-05-05T18:05:02Z")

</div>

Just wanted to say that I am finding this book to be a fantastic resource. I have been using Realm for quite some time now, but really did not understand the entire API. I just used the realm site to get the basics out…

---

## [Playground misbehaving (Chapter 3)](https://forums.kodeco.com/t/playground-misbehaving-chapter-3/41690)

<div class="topic-metadata">

**Author:** [@rustprooffish](https://forums.kodeco.com/u/rustprooffish)\
**Replies:** 10\
**Last updated:** [May 5, 2018, 1:52pm UTC](https://forums.kodeco.com/t/playground-misbehaving-chapter-3/41690 "2018-05-05T13:52:42Z")

</div>

I’m trying to work through the examples in this chapter but the playground is somewhat erratic in its behaviour. Sometimes a typo or partially completed line of code triggers an error message in the editor and then the p…

---

## [Authentication doesn't work on deployment to vapor.cloud](https://forums.kodeco.com/t/authentication-doesnt-work-on-deployment-to-vapor-cloud/42097)

<div class="topic-metadata">

**Author:** [@yungdai](https://forums.kodeco.com/u/yungdai)\
**Replies:** 5\
**Last updated:** [May 4, 2018, 9:12am UTC](https://forums.kodeco.com/t/authentication-doesnt-work-on-deployment-to-vapor-cloud/42097 "2018-05-04T09:12:45Z")

</div>

I’ve implemented authentication to my app, and it works perfectly locally on my development machine. I have deployed it vapor.cloud and I have reset the database. Created the admin user, and I can see the user when I u…

---

## [There is no 'AudioSource' attached to the "SpaceMarine" game object](https://forums.kodeco.com/t/there-is-no-audiosource-attached-to-the-spacemarine-game-object/36534)

<div class="topic-metadata">

**Author:** [@dfad3r](https://forums.kodeco.com/u/dfad3r)\
**Replies:** 1\
**Last updated:** [November 13, 2017, 9:59pm UTC](https://forums.kodeco.com/t/there-is-no-audiosource-attached-to-the-spacemarine-game-object/36534 "2017-11-13T21:59:56Z")

</div>

on page 179 of the book, I add an audio source to the BobbleMarine-body then add lines to the gun script. when running the game I get MissingComponentException: There is no ‘AudioSource’ attached to the “SpaceMarine”…

---

## [Unity 2018.1 just released today. Any plans on an update?](https://forums.kodeco.com/t/unity-2018-1-just-released-today-any-plans-on-an-update/42157)

<div class="topic-metadata">

**Author:** [@cmartyres](https://forums.kodeco.com/u/cmartyres)\
**Replies:** 1\
**Last updated:** [May 2, 2018, 3:49pm UTC](https://forums.kodeco.com/t/unity-2018-1-just-released-today-any-plans-on-an-update/42157 "2018-05-02T15:49:59Z")

</div>

I was thinking about starting up with the tutorial, and was wondering if there was a 2018.1 update releasing for this book? If so Ill probably wait a bit to begin. Thanks!

---

## [Ch 15 Sample code](https://forums.kodeco.com/t/ch-15-sample-code/39395)

<div class="topic-metadata">

**Author:** [@stubess](https://forums.kodeco.com/u/stubess)\
**Replies:** 4\
**Last updated:** [May 2, 2018, 12:13pm UTC](https://forums.kodeco.com/t/ch-15-sample-code/39395 "2018-05-02T12:13:58Z")

</div>

Getting the following message when attempting to open Ch 15 final DropCharge sample code in xCode. Any Suggestions? “Project /Users/stuartbessler/Desktop/DropCharge.xcodeproj cannot be opened because the project file ca…

---

## [Chapter 15 - iPhone X and Core Motion display issues](https://forums.kodeco.com/t/chapter-15-iphone-x-and-core-motion-display-issues/42006)

<div class="topic-metadata">

**Author:** [@richardn](https://forums.kodeco.com/u/richardn)\
**Replies:** 4\
**Last updated:** [May 2, 2018, 8:10am UTC](https://forums.kodeco.com/t/chapter-15-iphone-x-and-core-motion-display-issues/42006 "2018-05-02T08:10:26Z")

</div>

Hi All, I’m in Chapter 15 at the moment ( the end of page 440 ), coding-wise there don’t appear to be any problems ( at least nothing is flagging up ) but when it comes to running the code on my device it just doesn’t w…

---

## [Update git before deploy?](https://forums.kodeco.com/t/update-git-before-deploy/42105)

<div class="topic-metadata">

**Author:** [@chriscrossen](https://forums.kodeco.com/u/chriscrossen)\
**Replies:** 5\
**Last updated:** [May 1, 2018, 10:47pm UTC](https://forums.kodeco.com/t/update-git-before-deploy/42105 "2018-05-01T22:47:15Z")

</div>

I am at the point in Chapter Five where I am ready to deploy. Do I need to do the git adds and git commit for the changes I have made before deploying? Below is what I get from git status: On branch master Changes not …

---

## [Stuck on challenges](https://forums.kodeco.com/t/stuck-on-challenges/41353)

<div class="topic-metadata">

**Author:** [@fadewave](https://forums.kodeco.com/u/fadewave)\
**Replies:** 3\
**Last updated:** [May 1, 2018, 5:41pm UTC](https://forums.kodeco.com/t/stuck-on-challenges/41353 "2018-05-01T17:41:09Z")

</div>

I have read iOS Apprentice and followed along with building all the apps. I just finished chapter 3 of Swift Apprentice and feel like I understand most of it, but then when I get to the challenges at the end I don’t know…

---

## [Chapter 10, p265-269 Problem when adding hook and rope to CatNap lvl 2](https://forums.kodeco.com/t/chapter-10-p265-269-problem-when-adding-hook-and-rope-to-catnap-lvl-2/42096)

<div class="topic-metadata">

**Author:** [@paalmbr](https://forums.kodeco.com/u/paalmbr)\
**Replies:** 1\
**Last updated:** [April 30, 2018, 11:49pm UTC](https://forums.kodeco.com/t/chapter-10-p265-269-problem-when-adding-hook-and-rope-to-catnap-lvl-2/42096 "2018-04-30T23:49:50Z")

</div>

In order to get the base and hook at the right place i needed to set self.physicsBody?.pinned = true in didMoveToScene() Tried with the Level2.sks and HookBaseNode.swift file from Chapter 10 - final folder, but the e…

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

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