# 📚 Official Books

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

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

**Page:** 112

---

## [OCR using Machine Learning?](https://forums.kodeco.com/t/ocr-using-machine-learning/49739)

<div class="topic-metadata">

**Author:** [@dexxta](https://forums.kodeco.com/u/dexxta)\
**Replies:** 6\
**Last updated:** [September 30, 2018, 5:45pm UTC](https://forums.kodeco.com/t/ocr-using-machine-learning/49739 "2018-09-30T17:45:58Z")

</div>

Does this book go into using machine learning to do OCR?

---

## [Table of content missing on PDF version](https://forums.kodeco.com/t/table-of-content-missing-on-pdf-version/51070)

<div class="topic-metadata">

**Author:** [@sabi](https://forums.kodeco.com/u/sabi)\
**Replies:** 1\
**Last updated:** [September 30, 2018, 4:51pm UTC](https://forums.kodeco.com/t/table-of-content-missing-on-pdf-version/51070 "2018-09-30T16:51:32Z")

</div>

I use a lot the table of content in PDFs, both in Preview and in my favorite iOS PDF reader. Usually it’s available in all RW books, but is missing in Server Side Swift with Vapor. It’d be great if added in future versio…

---

## [\[Chapter 6\] Error using take(\_:scheduler:) with Completable](https://forums.kodeco.com/t/chapter-6-error-using-take-with-completable/50868)

<div class="topic-metadata">

**Author:** [@slaunchaman](https://forums.kodeco.com/u/slaunchaman)\
**Replies:** 2\
**Last updated:** [September 30, 2018, 4:33pm UTC](https://forums.kodeco.com/t/chapter-6-error-using-take-with-completable/50868 "2018-09-30T16:33:51Z")

</div>

Hi there! I’m working through Chapter 6 of the RxSwift book in Xcode 10 with RxSwift 4.0.0 as per the example project’s Podfile. When I get to the section “Completing a subscription after a given time interval,” I’m try…

---

## [2D SpriteKit Games on iPhone X](https://forums.kodeco.com/t/2d-spritekit-games-on-iphone-x/49845)

<div class="topic-metadata">

**Author:** [@vipul\_arvind](https://forums.kodeco.com/u/vipul_arvind)\
**Replies:** 5\
**Last updated:** [September 29, 2018, 6:24pm UTC](https://forums.kodeco.com/t/2d-spritekit-games-on-iphone-x/49845 "2018-09-29T18:24:17Z")

</div>

I am developing SpriteKit based Game and following this book. This book extensively uses the concept of Playable area (for universal app design). However I have noticed that this approach doesnt handles iPhone X and the …

---

## [Chapter5- PosgreSQL geometric primitives and nested dictionaries](https://forums.kodeco.com/t/chapter5-posgresql-geometric-primitives-and-nested-dictionaries/47071)

<div class="topic-metadata">

**Author:** [@earmand](https://forums.kodeco.com/u/earmand)\
**Replies:** 3\
**Last updated:** [September 29, 2018, 12:38pm UTC](https://forums.kodeco.com/t/chapter5-posgresql-geometric-primitives-and-nested-dictionaries/47071 "2018-09-29T12:38:00Z")

</div>

In the PostgresSQL database description, there is reference to using Postgres native support for geometric primitives and the ability to save nested types as dictionaries. I have searched via Google and directly on the…

---

## [Chapter 3 mini exercise 1](https://forums.kodeco.com/t/chapter-3-mini-exercise-1/50956)

<div class="topic-metadata">

**Author:** [@mdotflow22](https://forums.kodeco.com/u/mdotflow22)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 5:52am UTC](https://forums.kodeco.com/t/chapter-3-mini-exercise-1/50956 "2018-09-29T05:52:39Z")

</div>

“Create a constant called myAge and set it to your age. Then, create a constant named isTeenager that uses Boolean logic to determine if the age denotes someone in the age range of 13 to 19.” my logic: let myAge = 32 l…

---

## [The webpage of this book in amazon is strange](https://forums.kodeco.com/t/the-webpage-of-this-book-in-amazon-is-strange/48860)

<div class="topic-metadata">

**Author:** [@paulxi](https://forums.kodeco.com/u/paulxi)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 4:47am UTC](https://forums.kodeco.com/t/the-webpage-of-this-book-in-amazon-is-strange/48860 "2018-09-29T04:47:14Z")

</div>

Hi I can find the book in amazon search, but once I open the link, it shows strange information. Best Regards Paul

---

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

<div class="topic-metadata">

**Author:** [@abunur](https://forums.kodeco.com/u/abunur)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 4:38am UTC](https://forums.kodeco.com/t/chapter-23-errata/45049 "2018-09-29T04:38:01Z")

</div>

Sorry to post in a new topic, but seems V3.0 errata topic automatically closed after some time. Grammar issue, Chapter 23: “Although you both objects go out of scope deinitializers never get called and nothing gets pri…

---

## [Missing line in Chapter 6's Token class](https://forums.kodeco.com/t/missing-line-in-chapter-6s-token-class/51103)

<div class="topic-metadata">

**Author:** [@gargoyle](https://forums.kodeco.com/u/gargoyle)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 5:20pm UTC](https://forums.kodeco.com/t/missing-line-in-chapter-6s-token-class/51103 "2018-09-28T17:20:04Z")

</div>

In chapter 6, where the Token class is created, there’s a critical line of code missing. Vapor has to be told what to name the table so it doesn’t default to Token which is hard to work with. Please add this line of co…

---

## [\[Chapter 10\]: NASA API changed on ya](https://forums.kodeco.com/t/chapter-10-nasa-api-changed-on-ya/51077)

<div class="topic-metadata">

**Author:** [@designatednerd](https://forums.kodeco.com/u/designatednerd)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 5:15pm UTC](https://forums.kodeco.com/t/chapter-10-nasa-api-changed-on-ya/51077 "2018-09-28T17:15:27Z")

</div>

Looks like there was a change to the API and there’s now not necessarily a value returned for closed on Events anymore. I was getting empty arrays of events until I deleted let closeDate = json\["closed"\] as? String from …

---

## [Parent Children Relationship](https://forums.kodeco.com/t/parent-children-relationship/50190)

<div class="topic-metadata">

**Author:** [@pyae](https://forums.kodeco.com/u/pyae)\
**Replies:** 3\
**Last updated:** [September 28, 2018, 4:54pm UTC](https://forums.kodeco.com/t/parent-children-relationship/50190 "2018-09-28T16:54:55Z")

</div>

Can Fluent query nested model like category/id/item/id/ingredient with parent children relationship? hope to see more content with Fluent in the book

---

## [Chapter 18: Change body of getAllHandler to return \[User.Public\]](https://forums.kodeco.com/t/chapter-18-change-body-of-getallhandler-to-return-user-public/49691)

<div class="topic-metadata">

**Author:** [@axlroach](https://forums.kodeco.com/u/axlroach)\
**Replies:** 5\
**Last updated:** [September 28, 2018, 4:37pm UTC](https://forums.kodeco.com/t/chapter-18-change-body-of-getallhandler-to-return-user-public/49691 "2018-09-28T16:37:23Z")

</div>

When I attempt to make the change to: return User.query(on: req).decode(data: User.Public.self).all() I get an error that reads: Argument labels ‘(data:)’ do not match any available overloads Has something changed si…

---

## [How to use futures with many operations/computations](https://forums.kodeco.com/t/how-to-use-futures-with-many-operations-computations/49078)

<div class="topic-metadata">

**Author:** [@sturm](https://forums.kodeco.com/u/sturm)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 4:36pm UTC](https://forums.kodeco.com/t/how-to-use-futures-with-many-operations-computations/49078 "2018-09-28T16:36:17Z")

</div>

I’m stuck. I think I am missing something fundamental in my understanding of route calls and futures. What I am trying to achieve is something somewhat complicated, but It would be an easy task if not using futures. I wo…

---

## [How WebsiteController differs from AcronymsController](https://forums.kodeco.com/t/how-websitecontroller-differs-from-acronymscontroller/47684)

<div class="topic-metadata">

**Author:** [@crystaltwix](https://forums.kodeco.com/u/crystaltwix)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 4:14pm UTC](https://forums.kodeco.com/t/how-websitecontroller-differs-from-acronymscontroller/47684 "2018-09-28T16:14:54Z")

</div>

I noticed that in AcronymsController we have a route like /api/acronyms, but then in WebsiteController, the paradigm is different. There’s no api in any of the URLs. Is that because we start with the /index page and ever…

---

## [Chapter 6: 503 Error on vapor.cloud](https://forums.kodeco.com/t/chapter-6-503-error-on-vapor-cloud/47676)

<div class="topic-metadata">

**Author:** [@chipcastille](https://forums.kodeco.com/u/chipcastille)\
**Replies:** 3\
**Last updated:** [September 28, 2018, 4:10pm UTC](https://forums.kodeco.com/t/chapter-6-503-error-on-vapor-cloud/47676 "2018-09-28T16:10:28Z")

</div>

I can successfully deploy the project to xxx.vapor.cloud and I can successfully use rested to call localhost:8080/api/acronyms, but when trying to do so on the xxx.vapor.cloud/api/acronyms I get the following back as a r…

---

## [Vapor cloud starts sending billing emails when deploying TILApp with a Postgresql database](https://forums.kodeco.com/t/vapor-cloud-starts-sending-billing-emails-when-deploying-tilapp-with-a-postgresql-database/43503)

<div class="topic-metadata">

**Author:** [@mixio](https://forums.kodeco.com/u/mixio)\
**Replies:** 6\
**Last updated:** [September 28, 2018, 4:08pm UTC](https://forums.kodeco.com/t/vapor-cloud-starts-sending-billing-emails-when-deploying-tilapp-with-a-postgresql-database/43503 "2018-09-28T16:08:15Z")

</div>

When I deployed the example TILApp to Vapor Cloud with a Postgresql database, I started receiving billing emails. The book states p.82: “Note: The PostgreSQL database costs $7/month to use. However, you can try it out …

---

## [Swift 4.2 update](https://forums.kodeco.com/t/swift-4-2-update/49773)

<div class="topic-metadata">

**Author:** [@swiftlearnerforlife](https://forums.kodeco.com/u/swiftlearnerforlife)\
**Replies:** 3\
**Last updated:** [September 28, 2018, 4:03pm UTC](https://forums.kodeco.com/t/swift-4-2-update/49773 "2018-09-28T16:03:13Z")

</div>

Hiya Does anyone know when this book / vapor 3 will be updated for swift 4.2? Thanks

---

## [Code suggested to be removed on Chapter 8: Controller](https://forums.kodeco.com/t/code-suggested-to-be-removed-on-chapter-8-controller/45775)

<div class="topic-metadata">

**Author:** [@fjrivash](https://forums.kodeco.com/u/fjrivash)\
**Replies:** 7\
**Last updated:** [September 28, 2018, 4:00pm UTC](https://forums.kodeco.com/t/code-suggested-to-be-removed-on-chapter-8-controller/45775 "2018-09-28T16:00:23Z")

</div>

Hello, I have just downloaded the version 1.0.1 of the book and realized that in Chapter 8: Controllers, page 119, there is piece of code that is supposed to be removed from the routes.swift file however seems that is n…

---

## [Download and Replace sqlite file in Core Data](https://forums.kodeco.com/t/download-and-replace-sqlite-file-in-core-data/50995)

<div class="topic-metadata">

**Author:** [@fguitar1](https://forums.kodeco.com/u/fguitar1)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 1:03pm UTC](https://forums.kodeco.com/t/download-and-replace-sqlite-file-in-core-data/50995 "2018-09-28T13:03:46Z")

</div>

I create a database with lots of data in sqlite using CoreData, and the process to do as requisitions and add in the database is very long. My idea is to make an API that processes this data the previous day and generate…

---

## [Errors, finishing off Bulls Eye](https://forums.kodeco.com/t/errors-finishing-off-bulls-eye/50917)

<div class="topic-metadata">

**Author:** [@renevandoorn](https://forums.kodeco.com/u/renevandoorn)\
**Replies:** 10\
**Last updated:** [September 28, 2018, 9:04am UTC](https://forums.kodeco.com/t/errors-finishing-off-bulls-eye/50917 "2018-09-28T09:04:09Z")

</div>

I downloaded the new version of the iOS Apprentice this morning and yesterday I updated to Xcode 10 / Mojave. I had started the Bulls Eye app previously and one of the last steps seems to be giving errors. Has this some…

---

## [Need explanation on the chapter 3: challenge 3](https://forums.kodeco.com/t/need-explanation-on-the-chapter-3-challenge-3/45707)

<div class="topic-metadata">

**Author:** [@sakarsh](https://forums.kodeco.com/u/sakarsh)\
**Replies:** 1\
**Last updated:** [September 28, 2018, 2:34am UTC](https://forums.kodeco.com/t/need-explanation-on-the-chapter-3-challenge-3/45707 "2018-09-28T02:34:41Z")

</div>

I looked at the explanation via the code solution. But I am not able to understand the solution of challenge 3 from Chapter 3. Can someone please explain? Thank you

---

## [Notifications to android and iOS](https://forums.kodeco.com/t/notifications-to-android-and-ios/51009)

<div class="topic-metadata">

**Author:** [@yoyohu](https://forums.kodeco.com/u/yoyohu)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 9:03pm UTC](https://forums.kodeco.com/t/notifications-to-android-and-ios/51009 "2018-09-27T21:03:33Z")

</div>

What if you want to send notifications to your Android and iOS versions of your app? I know how to do this with the help of Firebase, because of their clear documentation and examples. But it would be cool to send to And…

---

## [Is anyone having the issue with Error 504?](https://forums.kodeco.com/t/is-anyone-having-the-issue-with-error-504/46562)

<div class="topic-metadata">

**Author:** [@thammaporn](https://forums.kodeco.com/u/thammaporn)\
**Replies:** 10\
**Last updated:** [September 27, 2018, 7:44am UTC](https://forums.kodeco.com/t/is-anyone-having-the-issue-with-error-504/46562 "2018-09-27T07:44:23Z")

</div>

Is anyone having the issue with 504 Gateway time-out or Is it just my network on the server? This doesn’t happened in localhost on my pc. I have get this error when requested the page through Token Authentication(after…

---

## [Testing on Linux failed because of try! (force try)](https://forums.kodeco.com/t/testing-on-linux-failed-because-of-try-force-try/43919)

<div class="topic-metadata">

**Author:** [@apoorvmote](https://forums.kodeco.com/u/apoorvmote)\
**Replies:** 4\
**Last updated:** [September 27, 2018, 4:32am UTC](https://forums.kodeco.com/t/testing-on-linux-failed-because-of-try-force-try/43919 "2018-09-27T04:32:07Z")

</div>

I am following book but when I tried to test on linux on Mac using docker I get following error wip-app\_1 | Fatal error: ‘try!’ expression unexpectedly raised an error: NIO.ChannelError.connectFailed(NIO.NIOConnection…

---

## [The ePub file has no table of content information](https://forums.kodeco.com/t/the-epub-file-has-no-table-of-content-information/50088)

<div class="topic-metadata">

**Author:** [@krazyeom](https://forums.kodeco.com/u/krazyeom)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 1:43am UTC](https://forums.kodeco.com/t/the-epub-file-has-no-table-of-content-information/50088 "2018-09-27T01:43:04Z")

</div>

I copy ePub file to the eBook reader device. But, there has no table of content information.

---

## [IOS Apprentice Update?](https://forums.kodeco.com/t/ios-apprentice-update/50838)

<div class="topic-metadata">

**Author:** [@harryballas](https://forums.kodeco.com/u/harryballas)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 5:10pm UTC](https://forums.kodeco.com/t/ios-apprentice-update/50838 "2018-09-26T17:10:07Z")

</div>

Does anyone know when the next edition of iOS apprentice is out?

---

## [iOS Apprentice Page 192](https://forums.kodeco.com/t/ios-apprentice-page-192/50552)

<div class="topic-metadata">

**Author:** [@michael.allen](https://forums.kodeco.com/u/michael.allen)\
**Replies:** 4\
**Last updated:** [September 26, 2018, 3:47am UTC](https://forums.kodeco.com/t/ios-apprentice-page-192/50552 "2018-09-26T03:47:24Z")

</div>

I’ve been using the iOS Apprentice Book (6th Ed) and just started with the Checklists portion. When I added the code on page 192, and run the program, it crashes. As soon as I comment out the code, it runs fine. I hav…

---

## [Info on requisites](https://forums.kodeco.com/t/info-on-requisites/49902)

<div class="topic-metadata">

**Author:** [@lordsus](https://forums.kodeco.com/u/lordsus)\
**Replies:** 3\
**Last updated:** [September 25, 2018, 1:42am UTC](https://forums.kodeco.com/t/info-on-requisites/49902 "2018-09-25T01:42:00Z")

</div>

Hello, I would like to know if any SceneKit knowledge is required in order to understand this book or it’s included and if I can understand it even if I have a basic level of xCode development. Thank you

---

## [Page 31 Mentions "Sources" Directory but No Sources Folder in Download](https://forums.kodeco.com/t/page-31-mentions-sources-directory-but-no-sources-folder-in-download/50288)

<div class="topic-metadata">

**Author:** [@kippypapa](https://forums.kodeco.com/u/kippypapa)\
**Replies:** 1\
**Last updated:** [September 25, 2018, 12:49am UTC](https://forums.kodeco.com/t/page-31-mentions-sources-directory-but-no-sources-folder-in-download/50288 "2018-09-25T00:49:44Z")

</div>

Page 31 mentions a “Sources” directory, but there isn’t one in the downloaded folder. Why is this mentioned like this rather than saying open a new file in a new folder? Is there some content that is available in “Source…

---

## [Web Services vs Server Side Methods](https://forums.kodeco.com/t/web-services-vs-server-side-methods/50522)

<div class="topic-metadata">

**Author:** [@riyawilliams](https://forums.kodeco.com/u/riyawilliams)\
**Replies:** 1\
**Last updated:** [September 24, 2018, 10:01am UTC](https://forums.kodeco.com/t/web-services-vs-server-side-methods/50522 "2018-09-24T10:01:06Z")

</div>

Hai All, With all the front-end development frameworks now available. I’d like to know if the generally accepted protocol is for a back-end service to simply provide web services for the front end to consume? For examp…

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

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