# 📚 Official Books

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

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

**Page:** 94

---

## [Chapter 2 ： seems starter project put wrong](https://forums.kodeco.com/t/chapter-2-seems-starter-project-put-wrong/71486)

<div class="topic-metadata">

**Author:** [@duckmole](https://forums.kodeco.com/u/duckmole)\
**Replies:** 2\
**Last updated:** [May 21, 2019, 10:27am UTC](https://forums.kodeco.com/t/chapter-2-seems-starter-project-put-wrong/71486 "2019-05-21T10:27:00Z")

</div>

Hi, I found starter project in chapter 2 already has code that should be completed by reader.:sweat\_smile:

---

## [Lldb console command to "Run only this thread" (--run-mode or -m?)](https://forums.kodeco.com/t/lldb-console-command-to-run-only-this-thread-run-mode-or-m/31449)

<div class="topic-metadata">

**Author:** [@aurrak](https://forums.kodeco.com/u/aurrak)\
**Replies:** 3\
**Last updated:** [May 20, 2019, 8:39pm UTC](https://forums.kodeco.com/t/lldb-console-command-to-run-only-this-thread-run-mode-or-m/31449 "2019-05-20T20:39:12Z")

</div>

In chapter 6 “Stepping in the Xcode GUI” section, there’s mention of a LLDB console command equivalent to control the running mode (run only this thread, run all threads, while stepping, etc) by using --run-mode option, …

---

## [Crashing Error in v 2.0](https://forums.kodeco.com/t/crashing-error-in-v-2-0/71017)

<div class="topic-metadata">

**Author:** [@mwbeatty](https://forums.kodeco.com/u/mwbeatty)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 6:33pm UTC](https://forums.kodeco.com/t/crashing-error-in-v-2-0/71017 "2019-05-20T18:33:39Z")

</div>

So glad to see v 2.0 released today. I’ve started digging in and found a small error in the code. On ppg 87-88 of the PDF the code uses Integer.toString(score) and Integer.toString(timeLeft) to create the Score and Time…

---

## [Chapter 4 Error on page 87](https://forums.kodeco.com/t/chapter-4-error-on-page-87/71379)

<div class="topic-metadata">

**Author:** [@dcdude](https://forums.kodeco.com/u/dcdude)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 4:57am UTC](https://forums.kodeco.com/t/chapter-4-error-on-page-87/71379 "2019-05-20T04:57:45Z")

</div>

Project code for MainViewController.swift does not have import RxCocoa, which is necessary for private let images = BehaviorRelay\<\[UIImage\]\>(value: \[\]) to compile. Podfile needs pod 'RxCocoa', '4.4.1' added just below t…

---

## [Chapter 4 page 128](https://forums.kodeco.com/t/chapter-4-page-128/71035)

<div class="topic-metadata">

**Author:** [@praxon48](https://forums.kodeco.com/u/praxon48)\
**Replies:** 13\
**Last updated:** [May 19, 2019, 1:01am UTC](https://forums.kodeco.com/t/chapter-4-page-128/71035 "2019-05-19T01:01:09Z")

</div>

That’s what it was displayed after typing and pressing Shift-Enter. ?data.tail(3) The documentation was not shown.

---

## [Encrypt data in the app and decrypt in the API](https://forums.kodeco.com/t/encrypt-data-in-the-app-and-decrypt-in-the-api/70209)

<div class="topic-metadata">

**Author:** [@macbieoo](https://forums.kodeco.com/u/macbieoo)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 11:13pm UTC](https://forums.kodeco.com/t/encrypt-data-in-the-app-and-decrypt-in-the-api/70209 "2019-05-17T23:13:58Z")

</div>

Guys, I have an iOS app which will post data to my Vapor API, my API uses the same methods the book instructed. I was observing the data using Charles Proxy and could notice that the data I posted in my iOS app could be…

---

## [Links not working](https://forums.kodeco.com/t/links-not-working/70091)

<div class="topic-metadata">

**Author:** [@stevecaine](https://forums.kodeco.com/u/stevecaine)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 5:49pm UTC](https://forums.kodeco.com/t/links-not-working/70091 "2019-05-17T17:49:07Z")

</div>

A previous topic on this same subject is no longer visible, so I’ll ask on my own behalf. Several places in this book have text that appear to be web links, but as I’m reading the PDF version in macOS Preview, they do n…

---

## [Ch 14 Deferred Rendering code very slow on iOS](https://forums.kodeco.com/t/ch-14-deferred-rendering-code-very-slow-on-ios/71154)

<div class="topic-metadata">

**Author:** [@orle](https://forums.kodeco.com/u/orle)\
**Replies:** 5\
**Last updated:** [May 17, 2019, 1:47pm UTC](https://forums.kodeco.com/t/ch-14-deferred-rendering-code-very-slow-on-ios/71154 "2019-05-17T13:47:49Z")

</div>

Hi, first of all: excellent book, I’m enjoying every bit of it. I’ve made it to the Multipass & Deferred Rendering chapter, followed the tutorial and managed to get the final code up and running without issues on a Mac.…

---

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

<div class="topic-metadata">

**Author:** [@speaker007](https://forums.kodeco.com/u/speaker007)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 11:17am UTC](https://forums.kodeco.com/t/chapter-23-mistake/71149 "2019-05-17T11:17:42Z")

</div>

page 336: in text: routerRootController will be set to the last view controller on the navigationController. You’ll use this later to dismiss the router by popping to this. in code: // 3 public init(navigationCon…

---

## [Error in diagram](https://forums.kodeco.com/t/error-in-diagram/71064)

<div class="topic-metadata">

**Author:** [@fungi8210](https://forums.kodeco.com/u/fungi8210)\
**Replies:** 1\
**Last updated:** [May 16, 2019, 11:41am UTC](https://forums.kodeco.com/t/error-in-diagram/71064 "2019-05-16T11:41:58Z")

</div>

On page 112’s diagram, the leftmost box should be “View”, not “ViewModel” Keep up with the great work!

---

## [Chapter 11: Testing](https://forums.kodeco.com/t/chapter-11-testing/70608)

<div class="topic-metadata">

**Author:** [@jpr98](https://forums.kodeco.com/u/jpr98)\
**Replies:** 5\
**Last updated:** [May 15, 2019, 6:08pm UTC](https://forums.kodeco.com/t/chapter-11-testing/70608 "2019-05-15T18:08:09Z")

</div>

Hi. I’m trying to run my tests on Linux as indicated by the book. I created my Dockerfile and my docker-compose.yml. Plus I’ve changed my configure.swift file to accept environment variables. But when I run docker-compos…

---

## [Problem with Filters: Type of expression is ambiguous without more context](https://forums.kodeco.com/t/problem-with-filters-type-of-expression-is-ambiguous-without-more-context/69378)

<div class="topic-metadata">

**Author:** [@josesantiago](https://forums.kodeco.com/u/josesantiago)\
**Replies:** 4\
**Last updated:** [May 14, 2019, 3:20pm UTC](https://forums.kodeco.com/t/problem-with-filters-type-of-expression-is-ambiguous-without-more-context/69378 "2019-05-14T15:20:50Z")

</div>

Hi, Im following the book and Im trying to implement my own logic. Im doing some queries with fluent and im having the Type of expression is ambiguos without more context error. I do import Fluent at the start of the fi…

---

## [Where can I find the source code?](https://forums.kodeco.com/t/where-can-i-find-the-source-code/70737)

<div class="topic-metadata">

**Author:** [@paulxi](https://forums.kodeco.com/u/paulxi)\
**Replies:** 3\
**Last updated:** [May 13, 2019, 11:14pm UTC](https://forums.kodeco.com/t/where-can-i-find-the-source-code/70737 "2019-05-13T23:14:43Z")

</div>

I bought the book on Amazon, but the link of source code in the book doesn’t work. Best Regards Haojie (Paul)

---

## [Server side swift with Kitura](https://forums.kodeco.com/t/server-side-swift-with-kitura/69895)

<div class="topic-metadata">

**Author:** [@potap75](https://forums.kodeco.com/u/potap75)\
**Replies:** 2\
**Last updated:** [May 12, 2019, 12:52pm UTC](https://forums.kodeco.com/t/server-side-swift-with-kitura/69895 "2019-05-12T12:52:15Z")

</div>

Trying to build a Mock Server for the Fortune Cookie API: followed all steps precisely as in the book. However got the following error at end: \> Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5) \> T…

---

## [Checklists: TextFieldShouldClear doneBarButtonEnabled Not Working](https://forums.kodeco.com/t/checklists-textfieldshouldclear-donebarbuttonenabled-not-working/58593)

<div class="topic-metadata">

**Author:** [@dthai93](https://forums.kodeco.com/u/dthai93)\
**Replies:** 8\
**Last updated:** [May 12, 2019, 3:37am UTC](https://forums.kodeco.com/t/checklists-textfieldshouldclear-donebarbuttonenabled-not-working/58593 "2019-05-12T03:37:30Z")

</div>

So the code below is to disable the Done Button when the clear button is pressed. It works the first time, but if you type and clear again the second and third time hitting clear, the Done Button is enabled when the text…

---

## [Chapter 30: Image Picker - Understanding how an error was determined - pg 712](https://forums.kodeco.com/t/chapter-30-image-picker-understanding-how-an-error-was-determined-pg-712/70505)

<div class="topic-metadata">

**Author:** [@chuck\_taylor](https://forums.kodeco.com/u/chuck_taylor)\
**Replies:** 2\
**Last updated:** [May 11, 2019, 12:18am UTC](https://forums.kodeco.com/t/chapter-30-image-picker-understanding-how-an-error-was-determined-pg-712/70505 "2019-05-11T00:18:29Z")

</div>

I’m looking for clarification as to how someone determines what line of code is causing an error in their app. More specifically, in Chapter 30: Image Picker - pg 712. Here, we test the app in the simulator, and the cam…

---

## [Chapter 1 problem: Unrecognized option \`-\[NSView'](https://forums.kodeco.com/t/chapter-1-problem-unrecognized-option-nsview/56781)

<div class="topic-metadata">

**Author:** [@metzopaino](https://forums.kodeco.com/u/metzopaino)\
**Replies:** 3\
**Last updated:** [May 10, 2019, 2:22pm UTC](https://forums.kodeco.com/t/chapter-1-problem-unrecognized-option-nsview/56781 "2019-05-10T14:22:51Z")

</div>

Just stated Advanced Apple Debugging, but hit a snag on in Chapter 1, “Finding a class with a click”. When I input the following into lldb: b -\[NSView hitTest:\] Breakpoint 1: where = AppKit\`-\[NSView hitTest:\], address…

---

## [When is the final version of the book expected?](https://forums.kodeco.com/t/when-is-the-final-version-of-the-book-expected/63890)

<div class="topic-metadata">

**Author:** [@mmuldoon](https://forums.kodeco.com/u/mmuldoon)\
**Replies:** 11\
**Last updated:** [May 10, 2019, 3:42am UTC](https://forums.kodeco.com/t/when-is-the-final-version-of-the-book-expected/63890 "2019-05-10T03:42:21Z")

</div>

Sorry If I missed seeing the release date. Thanks!

---

## [Errata p23 Section II: GCD](https://forums.kodeco.com/t/errata-p23-section-ii-gcd/70192)

<div class="topic-metadata">

**Author:** [@binarystitch](https://forums.kodeco.com/u/binarystitch)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 3:03am UTC](https://forums.kodeco.com/t/errata-p23-section-ii-gcd/70192 "2019-05-08T03:03:04Z")

</div>

First paragraph: “You’ll learn how to utilize queues and threads to control the execution of tasks in your app, as well as how togroup these tasks together.” → to group Last paragraph: “By now you know how GCD can make…

---

## [Chapter 8: Couldn't see the performance difference in Department List ViewController Tests](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643)

<div class="topic-metadata">

**Author:** [@duckmole](https://forums.kodeco.com/u/duckmole)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 5:14am UTC](https://forums.kodeco.com/t/chapter-8-couldnt-see-the-performance-difference-in-department-list-viewcontroller-tests/68643 "2019-05-07T05:14:57Z")

</div>

Hi, I just test the DepartmentListViewControllerTests in simulator, iPhone7Plus, iPhone6s, iPhone5s, and the time difference between testTotalEmployeesPerDepartment() and testTotalEmployeesPerDepartmentFast() is really s…

---

## [Is core data still being used?](https://forums.kodeco.com/t/is-core-data-still-being-used/69056)

<div class="topic-metadata">

**Author:** [@mikeneirinck](https://forums.kodeco.com/u/mikeneirinck)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 1:28am UTC](https://forums.kodeco.com/t/is-core-data-still-being-used/69056 "2019-05-07T01:28:51Z")

</div>

I totally agree you’d use it for local apps. When creating however an app stored in the cloud do you still make use of it?

---

## [How to add multiple profile pictures to User](https://forums.kodeco.com/t/how-to-add-multiple-profile-pictures-to-user/69927)

<div class="topic-metadata">

**Author:** [@thammaporn](https://forums.kodeco.com/u/thammaporn)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 1:10pm UTC](https://forums.kodeco.com/t/how-to-add-multiple-profile-pictures-to-user/69927 "2019-05-06T13:10:25Z")

</div>

I’m finding the way to upload more than one picture to user model by adding and initiate an optional String array for the images to the user model as following . final class User: Codable { var id: UUID? var name:…

---

## [Chapter 8, SwiftKueryORM](https://forums.kodeco.com/t/chapter-8-swiftkueryorm/69277)

<div class="topic-metadata">

**Author:** [@hastoro11](https://forums.kodeco.com/u/hastoro11)\
**Replies:** 6\
**Last updated:** [May 5, 2019, 9:00am UTC](https://forums.kodeco.com/t/chapter-8-swiftkueryorm/69277 "2019-05-05T09:00:22Z")

</div>

After putting the EmojiJournal into the postgresql database, the filtering getAll function does not work anymore. When I try it with the OpenAPI, it returns with an internal server error (500). Does it have something to…

---

## [Cooperative Compute Shader](https://forums.kodeco.com/t/cooperative-compute-shader/69189)

<div class="topic-metadata">

**Author:** [@markusm](https://forums.kodeco.com/u/markusm)\
**Replies:** 14\
**Last updated:** [May 3, 2019, 3:41am UTC](https://forums.kodeco.com/t/cooperative-compute-shader/69189 "2019-05-03T03:41:48Z")

</div>

Hi I am searching for an example how to create a compute shaders so that the results of each thread group can be analyzed and compared after execution. I am unsure how to set this up. In my use case I need to iterate o…

---

## [Async Operations](https://forums.kodeco.com/t/async-operations/69245)

<div class="topic-metadata">

**Author:** [@mike](https://forums.kodeco.com/u/mike)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 3:06am UTC](https://forums.kodeco.com/t/async-operations/69245 "2019-05-03T03:06:06Z")

</div>

Hi there, I have a question in Chapter 8 for this code: “var state = State.ready { willSet { willChangeValue(forKey: newValue.keyPath) willChangeValue(forKey: state.keyPath) } didSet { didChangeValue(forKey: oldV…

---

## [Client.get(route: query)](https://forums.kodeco.com/t/client-get-route-query/64802)

<div class="topic-metadata">

**Author:** [@matthiaskuhs](https://forums.kodeco.com/u/matthiaskuhs)\
**Replies:** 6\
**Last updated:** [May 2, 2019, 8:54pm UTC](https://forums.kodeco.com/t/client-get-route-query/64802 "2019-05-02T20:54:58Z")

</div>

Hey. I have a problem in chapter 7. The function client.get(route: query) doesn’t exist can someone help?

---

## [There is no Video folder at the Downloaded Material](https://forums.kodeco.com/t/there-is-no-video-folder-at-the-downloaded-material/65939)

<div class="topic-metadata">

**Author:** [@rafaelriva](https://forums.kodeco.com/u/rafaelriva)\
**Replies:** 7\
**Last updated:** [May 2, 2019, 8:53pm UTC](https://forums.kodeco.com/t/there-is-no-video-folder-at-the-downloaded-material/65939 "2019-05-02T20:53:34Z")

</div>

Hi there! I was checking the newest tutorials from the VR/AR week and I had downloaded the package that came in the link provided. However, there is no video folder and i can\`t find the 360 video anywhere. He is the li…

---

## [Question about updates to the book](https://forums.kodeco.com/t/question-about-updates-to-the-book/62768)

<div class="topic-metadata">

**Author:** [@jgw1985](https://forums.kodeco.com/u/jgw1985)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 5:30pm UTC](https://forums.kodeco.com/t/question-about-updates-to-the-book/62768 "2019-05-02T17:30:44Z")

</div>

Any rough idea on when we might see updates to this book? I purchased it in December and it hasn’t changed, just kind of curious when this purchase will be useful. Thanks.

---

## [Chapter 3 ./bootstrap.sh produces an error](https://forums.kodeco.com/t/chapter-3-bootstrap-sh-produces-an-error/69149)

<div class="topic-metadata">

**Author:** [@calmlyswiftenjoyment](https://forums.kodeco.com/u/calmlyswiftenjoyment)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 5:07pm UTC](https://forums.kodeco.com/t/chapter-3-bootstrap-sh-produces-an-error/69149 "2019-05-02T17:07:32Z")

</div>

When running the above command in chapter 3, I get and error message, “(11) Xcode is not installed”?

---

## [Chapter 24: SceneCoordinator and Passing data back from a presented VC](https://forums.kodeco.com/t/chapter-24-scenecoordinator-and-passing-data-back-from-a-presented-vc/67020)

<div class="topic-metadata">

**Author:** [@raoul](https://forums.kodeco.com/u/raoul)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 11:47am UTC](https://forums.kodeco.com/t/chapter-24-scenecoordinator-and-passing-data-back-from-a-presented-vc/67020 "2019-05-02T11:47:34Z")

</div>

Hi All, Currently reading the RxSwift book and stumbling on an issue which has to do with passing data back from a presented view controller. Here’s what I would like to do. I have a list of items; when I click on an i…

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

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