# 📚 Official Books

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

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

**Page:** 108

---

## [Healthy Snacks training data set](https://forums.kodeco.com/t/healthy-snacks-training-data-set/55888)

<div class="topic-metadata">

**Author:** [@awalkingcity](https://forums.kodeco.com/u/awalkingcity)\
**Replies:** 3\
**Last updated:** [November 22, 2018, 3:01pm UTC](https://forums.kodeco.com/t/healthy-snacks-training-data-set/55888 "2018-11-22T15:01:01Z")

</div>

The snacks/readme.md in the turi chapters mentions a db link (Dropbox - File Deleted) which is no longer working. Is there a backup link to the data set anywhere?

---

## [Chapter 5 aliens won't spawn](https://forums.kodeco.com/t/chapter-5-aliens-wont-spawn/56036)

<div class="topic-metadata">

**Author:** [@ridzy](https://forums.kodeco.com/u/ridzy)\
**Replies:** 2\
**Last updated:** [November 22, 2018, 10:01pm UTC](https://forums.kodeco.com/t/chapter-5-aliens-wont-spawn/56036 "2018-11-22T22:01:25Z")

</div>

I can’t figure out why the aliens are not spawning here is my GameManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public GameObje…

---

## [Some typos in the book...or bugs?](https://forums.kodeco.com/t/some-typos-in-the-book-or-bugs/54793)

<div class="topic-metadata">

**Author:** [@roblack](https://forums.kodeco.com/u/roblack)\
**Replies:** 4\
**Last updated:** [November 21, 2018, 6:24pm UTC](https://forums.kodeco.com/t/some-typos-in-the-book-or-bugs/54793 "2018-11-21T18:24:52Z")

</div>

Found some typos while going over the book. In 2 places so far, when code is being analyzed, it looks like the numbering got messed up. I am guessing while writing on and off if bugged out, or just an error. Anyways, he…

---

## [Chapter 10 page 164](https://forums.kodeco.com/t/chapter-10-page-164/54145)

<div class="topic-metadata">

**Author:** [@tof](https://forums.kodeco.com/u/tof)\
**Replies:** 4\
**Last updated:** [November 21, 2018, 12:07pm UTC](https://forums.kodeco.com/t/chapter-10-page-164/54145 "2018-11-21T12:07:03Z")

</div>

Hi, On page 164 if I execute DELETE http://localhost:8080/api/acronyms/1/ it suppose to generate an error But in my case I can delete the acronym without any errors My code on Acronym.swift (like is define Chapter 10 …

---

## [Chapter 10: Cat curl animation not firing in level 2](https://forums.kodeco.com/t/chapter-10-cat-curl-animation-not-firing-in-level-2/55721)

<div class="topic-metadata">

**Author:** [@aeschinder](https://forums.kodeco.com/u/aeschinder)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 7:18pm UTC](https://forums.kodeco.com/t/chapter-10-cat-curl-animation-not-firing-in-level-2/55721 "2018-11-20T19:18:07Z")

</div>

I’ve gone back over the implementation code and chapters and do not find any errors…the cat animation “catCurl.sks” is supposed to animate but it’s not on the Level 2 implementation for me. Anybody else have this issu…

---

## [Question about case insensitivity](https://forums.kodeco.com/t/question-about-case-insensitivity/55268)

<div class="topic-metadata">

**Author:** [@shades](https://forums.kodeco.com/u/shades)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 2:47pm UTC](https://forums.kodeco.com/t/question-about-case-insensitivity/55268 "2018-11-20T14:47:06Z")

</div>

I was trying out the search in chapter 7 (CRUD Database Operations) return Acronym.query(on: req).group(.or) { or in // 2 or.filter(\\.short == searchTerm) // 3 or.filter(\\.long == searchTerm) // 4 }.all() From wh…

---

## [Model JSON response](https://forums.kodeco.com/t/model-json-response/55281)

<div class="topic-metadata">

**Author:** [@frasco](https://forums.kodeco.com/u/frasco)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 1:33pm UTC](https://forums.kodeco.com/t/model-json-response/55281 "2018-11-20T13:33:55Z")

</div>

Hi, Similar to Modeling complex JSON topic, I have the next Model on my project: final class Colegio: Codable { var id: UUID? var nombre: String var codigoMaestro: String? var rutaLogo: String? var logo: String } In m…

---

## [flatMap(to: View.self) multiple times in Leaf examples](https://forums.kodeco.com/t/flatmap-to-view-self-multiple-times-in-leaf-examples/54115)

<div class="topic-metadata">

**Author:** [@crystaltwix](https://forums.kodeco.com/u/crystaltwix)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 1:15pm UTC](https://forums.kodeco.com/t/flatmap-to-view-self-multiple-times-in-leaf-examples/54115 "2018-11-20T13:15:07Z")

</div>

func userHandler(\_ req: Request) throws -\> Future\<View\> { // 2 return try req.parameters.next(User.self) .flatMap(to: View.self) { user in // 3 return try user.acronyms .query(on: req) .all(…

---

## [How to make JSON nest Class or Structure](https://forums.kodeco.com/t/how-to-make-json-nest-class-or-structure/51375)

<div class="topic-metadata">

**Author:** [@miyabi](https://forums.kodeco.com/u/miyabi)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 1:11pm UTC](https://forums.kodeco.com/t/how-to-make-json-nest-class-or-structure/51375 "2018-11-20T13:11:20Z")

</div>

Hello. I will post to the forum for the first time. I’m trying to make my own Vapor APP after finishing the book and video tutorial now. I encountered some things I could not do in it. It is trying to create a class or…

---

## [TimestampKey Problem](https://forums.kodeco.com/t/timestampkey-problem/51102)

<div class="topic-metadata">

**Author:** [@pyae](https://forums.kodeco.com/u/pyae)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 12:55pm UTC](https://forums.kodeco.com/t/timestampkey-problem/51102 "2018-11-20T12:55:04Z")

</div>

Have any issue with TimestampKey? I got wrong timestamp

---

## [Problems deploying to vapor cloud](https://forums.kodeco.com/t/problems-deploying-to-vapor-cloud/50630)

<div class="topic-metadata">

**Author:** [@ryancallery](https://forums.kodeco.com/u/ryancallery)\
**Replies:** 6\
**Last updated:** [November 20, 2018, 12:52pm UTC](https://forums.kodeco.com/t/problems-deploying-to-vapor-cloud/50630 "2018-11-20T12:52:54Z")

</div>

I’m having a problem deploying the TILApp project from the book to the Vapor cloud. I’ve tried to do the deploy as outlined in the book multiple times. It has deployed before but I have just completed the tasks chapter…

---

## [Chapter 8 - page 119 typo](https://forums.kodeco.com/t/chapter-8-page-119-typo/55203)

<div class="topic-metadata">

**Author:** [@shades](https://forums.kodeco.com/u/shades)\
**Replies:** 4\
**Last updated:** [November 20, 2018, 12:41pm UTC](https://forums.kodeco.com/t/chapter-8-page-119-typo/55203 "2018-11-20T12:41:01Z")

</div>

After adding a getAllHandler in the AcronymsController it says that you should remove 5 lines in routes.swift: router.get("api", "acronyms") { req -\> Future\<Acronym\> in return try req.content.decode(Acronym.self) …

---

## [Chapter 16 crashes my GPU](https://forums.kodeco.com/t/chapter-16-crashes-my-gpu/55788)

<div class="topic-metadata">

**Author:** [@arroz](https://forums.kodeco.com/u/arroz)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 2:47am UTC](https://forums.kodeco.com/t/chapter-16-crashes-my-gpu/55788 "2018-11-20T02:47:09Z")

</div>

Hi, I followed the chapter 16 tutorial up to the point where fireworks should show on the Live View. I’m using a Mid 2014 MBP with the Intel Iris 1536 MB chip which I acknowledge it’s not the best GPU ever, but so far i…

---

## [Errors and comments](https://forums.kodeco.com/t/errors-and-comments/42123)

<div class="topic-metadata">

**Author:** [@ralphdean](https://forums.kodeco.com/u/ralphdean)\
**Replies:** 14\
**Last updated:** [November 20, 2018, 2:04am UTC](https://forums.kodeco.com/t/errors-and-comments/42123 "2018-11-20T02:04:03Z")

</div>

Page 108 and 110. Shouldn’t the right hand node under 50 be something larger than 50 rather than 35? Later on page 110 it is 55 and not 35.

---

## [RxSwift v1.0 Errata](https://forums.kodeco.com/t/rxswift-v1-0-errata/27818)

<div class="topic-metadata">

**Author:** [@crispy8888](https://forums.kodeco.com/u/crispy8888)\
**Replies:** 67\
**Last updated:** [November 18, 2018, 10:00pm UTC](https://forums.kodeco.com/t/rxswift-v1-0-errata/27818 "2018-11-18T22:00:38Z")

</div>

Start of the RxSwift v1.0 Errata thread!

---

## [Implementation level-order traversal](https://forums.kodeco.com/t/implementation-level-order-traversal/55273)

<div class="topic-metadata">

**Author:** [@ivangodfather](https://forums.kodeco.com/u/ivangodfather)\
**Replies:** 2\
**Last updated:** [November 16, 2018, 3:47pm UTC](https://forums.kodeco.com/t/implementation-level-order-traversal/55273 "2018-11-16T15:47:53Z")

</div>

The current implementaion in the book is as follows: public func forEachLevelOrder(visit: (TreeNode) → Void) { visit(self) var queue = Queue() children.forEach { queue.enqueue($0) } while let node = queue.dequeue() …

---

## [Black obelisk? Chapter 4](https://forums.kodeco.com/t/black-obelisk-chapter-4/43269)

<div class="topic-metadata">

**Author:** [@maomao](https://forums.kodeco.com/u/maomao)\
**Replies:** 4\
**Last updated:** [November 16, 2018, 1:49am UTC](https://forums.kodeco.com/t/black-obelisk-chapter-4/43269 "2018-11-16T01:49:40Z")

</div>

I check every detail and compared to challenge files. They are the same but I do not know why it is still black?

---

## [Chap 4, Importing & Converting 3D Objects](https://forums.kodeco.com/t/chap-4-importing-converting-3d-objects/44794)

<div class="topic-metadata">

**Author:** [@b0yax](https://forums.kodeco.com/u/b0yax)\
**Replies:** 2\
**Last updated:** [November 15, 2018, 4:39pm UTC](https://forums.kodeco.com/t/chap-4-importing-converting-3d-objects/44794 "2018-11-15T16:39:22Z")

</div>

I’ve already copied the models in the project and trying to convert to SceneKit model (.scn) Why is it “Enable default lighting” is disabled in Xcode 9.4?

---

## [Roughness Map Description Error?](https://forums.kodeco.com/t/roughness-map-description-error/43883)

<div class="topic-metadata">

**Author:** [@990adjustments](https://forums.kodeco.com/u/990adjustments)\
**Replies:** 2\
**Last updated:** [November 15, 2018, 4:38pm UTC](https://forums.kodeco.com/t/roughness-map-description-error/43883 "2018-11-15T16:38:11Z")

</div>

Just purchased the book and loving the it so far. On page 85 of the book you describe the roughness map as: These maps are greyscaled textures, Where the color black represents extremely rough surfaces, and the color …

---

## [Sequence Classification files](https://forums.kodeco.com/t/sequence-classification-files/55364)

<div class="topic-metadata">

**Author:** [@lembergsun](https://forums.kodeco.com/u/lembergsun)\
**Replies:** 3\
**Last updated:** [November 15, 2018, 3:43pm UTC](https://forums.kodeco.com/t/sequence-classification-files/55364 "2018-11-15T15:43:53Z")

</div>

Hi, I am reading Chapter 8: Sequence Classification and I am trying to create a model, but I cannot find the Python files among chapter files. So I am getting an error running these lines. Can I download the activity…

---

## [Suggestions for future releases and book feedback](https://forums.kodeco.com/t/suggestions-for-future-releases-and-book-feedback/30246)

<div class="topic-metadata">

**Author:** [@andrade](https://forums.kodeco.com/u/andrade)\
**Replies:** 3\
**Last updated:** [November 15, 2018, 2:51pm UTC](https://forums.kodeco.com/t/suggestions-for-future-releases-and-book-feedback/30246 "2018-11-15T14:51:07Z")

</div>

Hi, I’ve finished my first read of the book (yes, I plan to read it again :grinning: ) and I would like to leave some suggestions and feedback about the book. First impression, the book is heavy! The first chapters (we…

---

## [General question about .metal file organization](https://forums.kodeco.com/t/general-question-about-metal-file-organization/55467)

<div class="topic-metadata">

**Author:** [@cocheret](https://forums.kodeco.com/u/cocheret)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 12:50am UTC](https://forums.kodeco.com/t/general-question-about-metal-file-organization/55467 "2018-11-15T00:50:58Z")

</div>

For a complex app with lots of MSL shader functions and utility functions, it makes some sense to split things between multiple .metal files. If functions in one file need to refer to functions in other files, I assume w…

---

## [Chapter 12 - Putting it all together: Errors linking frameworks](https://forums.kodeco.com/t/chapter-12-putting-it-all-together-errors-linking-frameworks/55370)

<div class="topic-metadata">

**Author:** [@dd2404](https://forums.kodeco.com/u/dd2404)\
**Replies:** 3\
**Last updated:** [November 13, 2018, 9:36pm UTC](https://forums.kodeco.com/t/chapter-12-putting-it-all-together-errors-linking-frameworks/55370 "2018-11-13T21:36:48Z")

</div>

Hello, I’m not very experienced with CocoaPods. How do I properly link the frameworks? Getting errors such as: NotificationViewController.swift: No such module ‘CalendarKit’ AppDelegate.swift: Use of unresolved iden…

---

## [Chap9: Can't build](https://forums.kodeco.com/t/chap9-cant-build/55331)

<div class="topic-metadata">

**Author:** [@zwolf](https://forums.kodeco.com/u/zwolf)\
**Replies:** 2\
**Last updated:** [November 13, 2018, 11:01am UTC](https://forums.kodeco.com/t/chap9-cant-build/55331 "2018-11-13T11:01:21Z")

</div>

Hi, I’m in CatNap and simulator crashes. There is fatal error on thread on the line: catNode = childNode(withName: “//cat\_body”) as! CatNode How can I fix this? Thank you in advance.

---

## [Problem in print - chapter 3 page 73](https://forums.kodeco.com/t/problem-in-print-chapter-3-page-73/44015)

<div class="topic-metadata">

**Author:** [@rcrdcst](https://forums.kodeco.com/u/rcrdcst)\
**Replies:** 5\
**Last updated:** [November 13, 2018, 5:15am UTC](https://forums.kodeco.com/t/problem-in-print-chapter-3-page-73/44015 "2018-11-13T05:15:57Z")

</div>

i keep getting the same error that i can’t resolve, can anyone help me? in this function: func print\<T: CustomStringConvertible\>(label: String, event: Event) { print(label, event.element ?? event.error ?? event) } i…

---

## [Ch 15 triple buffering index error](https://forums.kodeco.com/t/ch-15-triple-buffering-index-error/52921)

<div class="topic-metadata">

**Author:** [@bababoega](https://forums.kodeco.com/u/bababoega)\
**Replies:** 3\
**Last updated:** [November 9, 2018, 6:32am UTC](https://forums.kodeco.com/t/ch-15-triple-buffering-index-error/52921 "2018-11-09T06:32:35Z")

</div>

In chapter 15 when you start applying triple buffering we have to place the following code in the update(deltaTime) function. uniforms\[currentUniformIndex\].projectionMatrix = camera.projectionMatrix uniforms\[currentUnif…

---

## [Mapping Out My App](https://forums.kodeco.com/t/mapping-out-my-app/54984)

<div class="topic-metadata">

**Author:** [@lenny\_eiger](https://forums.kodeco.com/u/lenny_eiger)\
**Replies:** 1\
**Last updated:** [November 9, 2018, 4:34am UTC](https://forums.kodeco.com/t/mapping-out-my-app/54984 "2018-11-09T04:34:08Z")

</div>

Been going thru the iOS Apprentice. It’s great, my head is exploding a bit, but I’ll get there. I have an app to do and its clear I need to map it out even more carefully than I had imagined. I’ve been using OmniGraffle …

---

## [Chapter 13 matrix order confusion](https://forums.kodeco.com/t/chapter-13-matrix-order-confusion/54792)

<div class="topic-metadata">

**Author:** [@cocheret](https://forums.kodeco.com/u/cocheret)\
**Replies:** 2\
**Last updated:** [November 7, 2018, 7:29pm UTC](https://forums.kodeco.com/t/chapter-13-matrix-order-confusion/54792 "2018-11-07T19:29:57Z")

</div>

In the section where Shaders.metal is modified the first time to handle instances there is one line that confuses me… Instances instance = instances\[instanceID\]; out.position = uniforms.projectionMatrix \* uniforms.v…

---

## [Ch 2 Challenge Problem](https://forums.kodeco.com/t/ch-2-challenge-problem/54769)

<div class="topic-metadata">

**Author:** [@jg764551](https://forums.kodeco.com/u/jg764551)\
**Replies:** 2\
**Last updated:** [November 7, 2018, 1:40am UTC](https://forums.kodeco.com/t/ch-2-challenge-problem/54769 "2018-11-07T01:40:06Z")

</div>

Hello, I’m able to get the train.obj to appear properly after following along with the instructions. Yet, I find that the playground in the Challenge folder is merely the same as the one in the Starter and Final folder…

---

## [Modeling more complex JSON](https://forums.kodeco.com/t/modeling-more-complex-json/51737)

<div class="topic-metadata">

**Author:** [@rcutshaw](https://forums.kodeco.com/u/rcutshaw)\
**Replies:** 2\
**Last updated:** [November 6, 2018, 8:07pm UTC](https://forums.kodeco.com/t/modeling-more-complex-json/51737 "2018-11-06T20:07:01Z")

</div>

I’ve tried to code my Vapor app to return JSON of the following structure: { “getCollectionsResult”: \[ { “\_\_type”: “CollectionSet:#MobileServices”, “operationSuccess”: true, “SetName”: “Spring 2 2018” }, { “\_\_typ…

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

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