# 📚 Official Books

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

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

**Page:** 110

---

## [Missing source code for chapter19 and later](https://forums.kodeco.com/t/missing-source-code-for-chapter19-and-later/52809)

<div class="topic-metadata">

**Author:** [@jeffreytan](https://forums.kodeco.com/u/jeffreytan)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 8:33pm UTC](https://forums.kodeco.com/t/missing-source-code-for-chapter19-and-later/52809 "2018-10-30T20:33:21Z")

</div>

The source code zip only contains until chapter19. Where is the source code for chapter 20 and later? Thanks!

---

## [Ch 13 errata when adding asteroid animation](https://forums.kodeco.com/t/ch-13-errata-when-adding-asteroid-animation/53466)

<div class="topic-metadata">

**Author:** [@afinque](https://forums.kodeco.com/u/afinque)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 8:18pm UTC](https://forums.kodeco.com/t/ch-13-errata-when-adding-asteroid-animation/53466 "2018-10-30T20:18:11Z")

</div>

In Chapter 13, on Animations, towards the end of the Animating Movement section, when starting the asteroid animation, the text instructs you to: Add the following else statement to the completion closure of getCurrentI…

---

## [PDF file not having Table of Contents](https://forums.kodeco.com/t/pdf-file-not-having-table-of-contents/53187)

<div class="topic-metadata">

**Author:** [@abanet](https://forums.kodeco.com/u/abanet)\
**Replies:** 3\
**Last updated:** [October 30, 2018, 8:14pm UTC](https://forums.kodeco.com/t/pdf-file-not-having-table-of-contents/53187 "2018-10-30T20:14:53Z")

</div>

Hi, I’m missing the beautiful Table of Content in the pdf of this book. In others books I have you always have one so it is really easy to navigate through the book. Thanks!!

---

## [PDF is missing Table of Contents in sidebar](https://forums.kodeco.com/t/pdf-is-missing-table-of-contents-in-sidebar/50262)

<div class="topic-metadata">

**Author:** [@mt-instructor](https://forums.kodeco.com/u/mt-instructor)\
**Replies:** 4\
**Last updated:** [October 30, 2018, 8:12pm UTC](https://forums.kodeco.com/t/pdf-is-missing-table-of-contents-in-sidebar/50262 "2018-10-30T20:12:53Z")

</div>

I just downloaded the updated version of the Swift Apprentice, and immediately noticed that in the left sidebar of my Mac Preview app. So I can’t easily jump around between chapters and sections. I’m guessing that it wa…

---

## [iOS Apprentice "My Location" Ch. 30](https://forums.kodeco.com/t/ios-apprentice-my-location-ch-30/53570)

<div class="topic-metadata">

**Author:** [@justnerd](https://forums.kodeco.com/u/justnerd)\
**Replies:** 7\
**Last updated:** [October 30, 2018, 7:44pm UTC](https://forums.kodeco.com/t/ios-apprentice-my-location-ch-30/53570 "2018-10-30T19:44:26Z")

</div>

I have a problem with getting the “permission access” for the user’s photo library to pop up when the user first opens the photo picker. I’ve added “Privacy-Photo Library Usage Description” and “Privacy-Camera Usage Des…

---

## [Retain cycle in ArticleListController](https://forums.kodeco.com/t/retain-cycle-in-articlelistcontroller/51579)

<div class="topic-metadata">

**Author:** [@jeka53](https://forums.kodeco.com/u/jeka53)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 7:29pm UTC](https://forums.kodeco.com/t/retain-cycle-in-articlelistcontroller/51579 "2018-10-30T19:29:46Z")

</div>

Hi there, Looks like the token assignment in viewDidLoad creates a Retain Cycle. ArticleListController is never deinitialized. Capture list should be added. token = NewsAPI.service.observe(.articles) { \[weak self\] \_, \_…

---

## [Playground files do not output in console and are missing folders](https://forums.kodeco.com/t/playground-files-do-not-output-in-console-and-are-missing-folders/44406)

<div class="topic-metadata">

**Author:** [@kevinvugts](https://forums.kodeco.com/u/kevinvugts)\
**Replies:** 5\
**Last updated:** [October 30, 2018, 7:25pm UTC](https://forums.kodeco.com/t/playground-files-do-not-output-in-console-and-are-missing-folders/44406 "2018-10-30T19:25:21Z")

</div>

Hi, I am currently encoutering issues with the starter projects. I am exactly executing every step stated in the book. But for some reason is gives me the following error: Playground execution failed: error: Couldn’t …

---

## [There is no chapter for custom timing curve?](https://forums.kodeco.com/t/there-is-no-chapter-for-custom-timing-curve/52428)

<div class="topic-metadata">

**Author:** [@comeonyoh](https://forums.kodeco.com/u/comeonyoh)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 6:56pm UTC](https://forums.kodeco.com/t/there-is-no-chapter-for-custom-timing-curve/52428 "2018-10-30T18:56:39Z")

</div>

Thanks to great book. I\`m looking for custom timing curve with core animation. but I have not found it in this book. could you tell me do you have any plan to add this contents or not please? thanks a lot

---

## [Chapter 24: Scene Coordinator](https://forums.kodeco.com/t/chapter-24-scene-coordinator/45401)

<div class="topic-metadata">

**Author:** [@fuadadetoro](https://forums.kodeco.com/u/fuadadetoro)\
**Replies:** 4\
**Last updated:** [October 30, 2018, 5:16pm UTC](https://forums.kodeco.com/t/chapter-24-scene-coordinator/45401 "2018-10-30T17:16:42Z")

</div>

I’m using the scene coordinator in an app but theres an issue when push. When I push another viewController on the stack it works but if click back and try to push the same view controller I receive an error. The error …

---

## [Chapter 1, Page 32, Typo?](https://forums.kodeco.com/t/chapter-1-page-32-typo/42377)

<div class="topic-metadata">

**Author:** [@tetanuss](https://forums.kodeco.com/u/tetanuss)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 11:11pm UTC](https://forums.kodeco.com/t/chapter-1-page-32-typo/42377 "2018-05-29T23:11:51Z")

</div>

I really didn’t get this paragraph… The code lines are the same (both use -l swift ???) in the first and the second case - why should there be an different output? And in fact all the lines do not run even with my memor…

---

## [Chapter 1, Page 30 and XCode 9.3](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376)

<div class="topic-metadata">

**Author:** [@tetanuss](https://forums.kodeco.com/u/tetanuss)\
**Replies:** 8\
**Last updated:** [October 30, 2018, 1:35pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376 "2018-10-30T13:35:00Z")

</div>

the line (lldb) breakpoint modify 1 -c ‘(BOOL)\[$rdi isKindOfClass: (id)NSClassFromString(@“IDEPegasusSourceEditor.SourceCodeEditorView”)\]’ did not work in my case - just a flashing out in the console which I could not…

---

## [Chapter 4 Challenge: Adding Cursor](https://forums.kodeco.com/t/chapter-4-challenge-adding-cursor/52446)

<div class="topic-metadata">

**Author:** [@34ml](https://forums.kodeco.com/u/34ml)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 1:26pm UTC](https://forums.kodeco.com/t/chapter-4-challenge-adding-cursor/52446 "2018-10-30T13:26:11Z")

</div>

The challenge was to add a custom focus node which has a cursor and Obelisk. I have added the obelisk from the models folder and loaded its texture that was easy as we did in the chapter but i don’t know from where (or h…

---

## [Chapter 3, Error Tuple Type ist not convertible to tuple QuestionGroupData.swift](https://forums.kodeco.com/t/chapter-3-error-tuple-type-ist-not-convertible-to-tuple-questiongroupdata-swift/52461)

<div class="topic-metadata">

**Author:** [@tben2010](https://forums.kodeco.com/u/tben2010)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 1:12pm UTC](https://forums.kodeco.com/t/chapter-3-error-tuple-type-ist-not-convertible-to-tuple-questiongroupdata-swift/52461 "2018-10-30T13:12:11Z")

</div>

In the QuestionGroupData.swift, i get an Error when i compile and i have no idea to fix it. Can anyone help? best regards Tim

---

## [Ch 2 - positioning the train model](https://forums.kodeco.com/t/ch-2-positioning-the-train-model/53997)

<div class="topic-metadata">

**Author:** [@kwakita](https://forums.kodeco.com/u/kwakita)\
**Replies:** 1\
**Last updated:** [October 29, 2018, 4:30am UTC](https://forums.kodeco.com/t/ch-2-positioning-the-train-model/53997 "2018-10-29T04:30:44Z")

</div>

I felt difficulty following the instruction written in page 55 in the PDF edition. I finished Victoria Wenderlich’s tutorial on Blender but still could not figure out how I can expose the Node inspector in Blender. I k…

---

## [Ch 8 buffer management question](https://forums.kodeco.com/t/ch-8-buffer-management-question/53748)

<div class="topic-metadata">

**Author:** [@cocheret](https://forums.kodeco.com/u/cocheret)\
**Replies:** 3\
**Last updated:** [October 29, 2018, 4:23am UTC](https://forums.kodeco.com/t/ch-8-buffer-management-question/53748 "2018-10-29T04:23:55Z")

</div>

There is a lot of magic going on with the glTF code, which I haven’t yet had time to go through. However, I can see that it is managing the pipeline state including setting up things like the vertex descriptors. What is…

---

## [iOS Apprentice,Tutorial 3, Page 198 crash in Xcode 10](https://forums.kodeco.com/t/ios-apprentice-tutorial-3-page-198-crash-in-xcode-10/53856)

<div class="topic-metadata">

**Author:** [@majid\_iqbal](https://forums.kodeco.com/u/majid_iqbal)\
**Replies:** 2\
**Last updated:** [October 26, 2018, 6:40am UTC](https://forums.kodeco.com/t/ios-apprentice-tutorial-3-page-198-crash-in-xcode-10/53856 "2018-10-26T06:40:10Z")

</div>

It complains that “Argument type ‘\[Location\]’ does not conform to expected type ‘MKAnnotation’” in “MapViewController.swift”. and Xcode auto Correction makes It as! MKAnnotation and then error is gone But When I run th…

---

## [Chapter 11: Timeline is missed](https://forums.kodeco.com/t/chapter-11-timeline-is-missed/53701)

<div class="topic-metadata">

**Author:** [@relex](https://forums.kodeco.com/u/relex)\
**Replies:** 4\
**Last updated:** [October 25, 2018, 10:53pm UTC](https://forums.kodeco.com/t/chapter-11-timeline-is-missed/53701 "2018-10-25T22:53:03Z")

</div>

In Xcode 10 there is no timeline option - only live view. I searched the web, found TimeLine checkbox under “Render Documentation”, but it is missed too. Consequently, I don’t see anything in the assistant editor.

---

## [Chapter 3 - Errata](https://forums.kodeco.com/t/chapter-3-errata/53726)

<div class="topic-metadata">

**Author:** [@asmodeo](https://forums.kodeco.com/u/asmodeo)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 7:03pm UTC](https://forums.kodeco.com/t/chapter-3-errata/53726 "2018-10-25T19:03:26Z")

</div>

Pag 65 of PDF book: let bigString = “”" The correct is: val bigString = “”" Swift confusion, I guess :slight\_smile:

---

## [Unable to attach lldb to SpringBoard](https://forums.kodeco.com/t/unable-to-attach-lldb-to-springboard/52743)

<div class="topic-metadata">

**Author:** [@rmorbach](https://forums.kodeco.com/u/rmorbach)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 11:07pm UTC](https://forums.kodeco.com/t/unable-to-attach-lldb-to-springboard/52743 "2018-10-24T23:07:36Z")

</div>

As I was following the section “Changing around values in registers” of Chapter 10, I am not able to attach lldb to SpringBoard process. It simply outputs unable to attach. I am using Mojave (10.14) and Xcode 10.0. Is …

---

## [Chapitre 2 page 50](https://forums.kodeco.com/t/chapitre-2-page-50/43352)

<div class="topic-metadata">

**Author:** [@keldii](https://forums.kodeco.com/u/keldii)\
**Replies:** 3\
**Last updated:** [October 24, 2018, 8:02pm UTC](https://forums.kodeco.com/t/chapitre-2-page-50/43352 "2018-10-24T20:02:20Z")

</div>

I have a problem with this line : bowtie.tintColor = UIColor.color(dict: colorDict) Xcode give me this error : "UIColor has no member ‘color’ " Is anybody can Help me please ??

---

## [Chapter 3 Errata](https://forums.kodeco.com/t/chapter-3-errata/53683)

<div class="topic-metadata">

**Author:** [@ttrrooyy](https://forums.kodeco.com/u/ttrrooyy)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:20am UTC](https://forums.kodeco.com/t/chapter-3-errata/53683 "2018-10-24T07:20:03Z")

</div>

PDF Page 76 3 lines under the ‘Ending the game’ heading: “In the GameActivity class, replace replace the endGame method” should be: “In the GameActivity class, replace the endGame method”

---

## [\[Solved\] "vapor xcode -y" opens two projects](https://forums.kodeco.com/t/solved-vapor-xcode-y-opens-two-projects/53513)

<div class="topic-metadata">

**Author:** [@bennokress](https://forums.kodeco.com/u/bennokress)\
**Replies:** 2\
**Last updated:** [October 23, 2018, 12:06pm UTC](https://forums.kodeco.com/t/solved-vapor-xcode-y-opens-two-projects/53513 "2018-10-23T12:06:21Z")

</div>

I’m following the book and every time I run vapor xcode -y it opens two Xcode projects. One of them has all the files and works perfectly, the other one seems to be an old version and has a lot of errors. So I can always…

---

## [Ch 4 confusion over specular calculation](https://forums.kodeco.com/t/ch-4-confusion-over-specular-calculation/53486)

<div class="topic-metadata">

**Author:** [@cocheret](https://forums.kodeco.com/u/cocheret)\
**Replies:** 3\
**Last updated:** [October 22, 2018, 6:11am UTC](https://forums.kodeco.com/t/ch-4-confusion-over-specular-calculation/53486 "2018-10-22T06:11:00Z")

</div>

They say that getting computer graphics right is all about having the correct number of sign errors. I was scratching my head over the specular calculation for a while since it didn’t seem to match the diagram with the L…

---

## [Chapter 17 : Remove the items instance variable](https://forums.kodeco.com/t/chapter-17-remove-the-items-instance-variable/53451)

<div class="topic-metadata">

**Author:** [@anon80963688](https://forums.kodeco.com/u/anon80963688)\
**Replies:** 2\
**Last updated:** [October 21, 2018, 4:55pm UTC](https://forums.kodeco.com/t/chapter-17-remove-the-items-instance-variable/53451 "2018-10-21T16:55:53Z")

</div>

Hello, I have a problem in chapter 17. I removed the items instance variable like you said and I have errors saying “Cannot convert value of type ‘CheckListItem’ to expected argument type ‘Checklist’”. I understand th…

---

## [Chapter 4, use of buffer(0) for both vertex and fragment shaders](https://forums.kodeco.com/t/chapter-4-use-of-buffer-0-for-both-vertex-and-fragment-shaders/53381)

<div class="topic-metadata">

**Author:** [@cocheret](https://forums.kodeco.com/u/cocheret)\
**Replies:** 1\
**Last updated:** [October 20, 2018, 4:44pm UTC](https://forums.kodeco.com/t/chapter-4-use-of-buffer-0-for-both-vertex-and-fragment-shaders/53381 "2018-10-20T16:44:22Z")

</div>

In chapter 4, when implementing the shader functions for the playground at the beginning, the vertex function takes vertices in buffer(0) and the fragment function takes color in buffer(0). So there are 2 things I’m unsu…

---

## [Can't see Collada files in Xcode editor](https://forums.kodeco.com/t/cant-see-collada-files-in-xcode-editor/53249)

<div class="topic-metadata">

**Author:** [@lordsus](https://forums.kodeco.com/u/lordsus)\
**Replies:** 3\
**Last updated:** [October 19, 2018, 3:23pm UTC](https://forums.kodeco.com/t/cant-see-collada-files-in-xcode-editor/53249 "2018-10-19T15:23:23Z")

</div>

I followed step by step the book but I can’t see the 3d models in the Xcode editor. If I import a sphere from the Xcode object library no problem at all, but when I import a Collada file I can select it and I can see the…

---

## [Ch 20 water ripple effect](https://forums.kodeco.com/t/ch-20-water-ripple-effect/53306)

<div class="topic-metadata">

**Author:** [@bababoega](https://forums.kodeco.com/u/bababoega)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 12:37pm UTC](https://forums.kodeco.com/t/ch-20-water-ripple-effect/53306 "2018-10-19T12:37:55Z")

</div>

In chapter 20 when working on the ripple effect of the water. Once we introduce the ripple values for both the X and Y direction it is done as follows: float2 rippleX = float2(uv.x + timer, uv.y); float2 rippleY = float…

---

## [Chapter 8 Starter Project Error](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421)

<div class="topic-metadata">

**Author:** [@gfgruvin](https://forums.kodeco.com/u/gfgruvin)\
**Replies:** 3\
**Last updated:** [October 19, 2018, 7:57am UTC](https://forums.kodeco.com/t/chapter-8-starter-project-error/50421 "2018-10-19T07:57:21Z")

</div>

I am using XCode 10. In some places, I am gettings the error "Contextual closure type ‘(String) throws → Bool’ expects 1 argument, but 2 were used in closure body. Specifically, when filtering the web responses in Acti…

---

## [I'm getting errors in chapter 7](https://forums.kodeco.com/t/im-getting-errors-in-chapter-7/50872)

<div class="topic-metadata">

**Author:** [@dricard](https://forums.kodeco.com/u/dricard)\
**Replies:** 8\
**Last updated:** [October 17, 2018, 7:36am UTC](https://forums.kodeco.com/t/im-getting-errors-in-chapter-7/50872 "2018-10-17T07:36:45Z")

</div>

When I test the php script I get no notifications on the phone, but get these errors in the Vapor project: \[ ERROR \] invalid HTTP method (/starter/.build/checkouts/vapor.git-4756611856651214512/Sources/Vapor/Logging/Log…

---

## [Chapter 8 - Animations vs. real content](https://forums.kodeco.com/t/chapter-8-animations-vs-real-content/52950)

<div class="topic-metadata">

**Author:** [@mmbsoftware](https://forums.kodeco.com/u/mmbsoftware)\
**Replies:** 4\
**Last updated:** [October 17, 2018, 7:06am UTC](https://forums.kodeco.com/t/chapter-8-animations-vs-real-content/52950 "2018-10-17T07:06:21Z")

</div>

I cannot understand the section “Animations vs. real content” in Ch. 8. I mean, all code works fine with fillMode = kCAFillModeBoth and default isRemovedOnCompletion = true, 'cause we already start with textview on the c…

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

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