# 📚 Official Books

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

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

**Page:** 45

---

## [Chapter 12 erratum - page 250](https://forums.kodeco.com/t/chapter-12-erratum-page-250/86202)

<div class="topic-metadata">

**Author:** [@culjakj](https://forums.kodeco.com/u/culjakj)\
**Replies:** 2\
**Last updated:** [August 9, 2021, 7:08am UTC](https://forums.kodeco.com/t/chapter-12-erratum-page-250/86202 "2021-08-09T07:08:21Z")

</div>

Hi! Expected the starter project source code to contain the dummy data implementation of ApiController.currentWeather function. Actual: it’s the final implementation returning live data. See page 250 of v3.0 of the bo…

---

## [Duplicate code in update function](https://forums.kodeco.com/t/duplicate-code-in-update-function/145800)

<div class="topic-metadata">

**Author:** [@mk2019](https://forums.kodeco.com/u/mk2019)\
**Replies:** 1\
**Last updated:** [August 8, 2021, 11:38pm UTC](https://forums.kodeco.com/t/duplicate-code-in-update-function/145800 "2021-08-08T23:38:56Z")

</div>

Hi @caroline In the 09-scene-graph Model.swift, the code in the override func update(deltaTime: Float) is duplicate, I’m wondering if there is any reason for it? for mesh in meshes { if let animationClip = …

---

## [Lacks MacOS support](https://forums.kodeco.com/t/lacks-macos-support/91988)

<div class="topic-metadata">

**Author:** [@coloretiree](https://forums.kodeco.com/u/coloretiree)\
**Replies:** 7\
**Last updated:** [August 8, 2021, 10:04pm UTC](https://forums.kodeco.com/t/lacks-macos-support/91988 "2021-08-08T22:04:41Z")

</div>

I bought the digital version of “SwiftUI of Tutorials” book ($59.95) because the website specifically states Build modern, responsive UI and animations that look great on iOS, iPadOS, watchOS, tvOS or even macOS! This …

---

## [Making an MDLMesh from vertexData](https://forums.kodeco.com/t/making-an-mdlmesh-from-vertexdata/145678)

<div class="topic-metadata">

**Author:** [@harrymorris](https://forums.kodeco.com/u/harrymorris)\
**Replies:** 5\
**Last updated:** [August 7, 2021, 1:58am UTC](https://forums.kodeco.com/t/making-an-mdlmesh-from-vertexdata/145678 "2021-08-07T01:58:09Z")

</div>

Hello I spoke to you a few years ago when I first bought the book (which I love). I was wondering if you could help me with my problem. Im pretty sure it is me making a stupid mistake and I was wondering if you could he…

---

## [Book-saving data on android external files location](https://forums.kodeco.com/t/book-saving-data-on-android-external-files-location/143914)

<div class="topic-metadata">

**Author:** [@aleeristavi](https://forums.kodeco.com/u/aleeristavi)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 4:22pm UTC](https://forums.kodeco.com/t/book-saving-data-on-android-external-files-location/143914 "2021-08-06T16:22:46Z")

</div>

in my example i found external files at sdcard/Android/data and not sdcard/data as mentioned in book.

---

## [Chapter 11 - No such module 'RxSwift'](https://forums.kodeco.com/t/chapter-11-no-such-module-rxswift/145357)

<div class="topic-metadata">

**Author:** [@aksvona](https://forums.kodeco.com/u/aksvona)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 1:01pm UTC](https://forums.kodeco.com/t/chapter-11-no-such-module-rxswift/145357 "2021-08-06T13:01:54Z")

</div>

I’ve tried different approaches from different threads and no luck. I’m using Xcode 12.3 and running ./bootstrap.sh from terminal. This is really frustrating.

---

## [Problem with tutorial - Checklist](https://forums.kodeco.com/t/problem-with-tutorial-checklist/145688)

<div class="topic-metadata">

**Author:** [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 12:29pm UTC](https://forums.kodeco.com/t/problem-with-tutorial-checklist/145688 "2021-08-06T12:29:50Z")

</div>

CheckListPartiallyMade.zip (28.8 KB) I have attached a WinZip file containing the source code I’ve written. I set up a cell and then set-up a label containing a.cell, this is where it mucks-up. It’s in TableView functio…

---

## [Value of type 'UITableViewCell' has no member 'configure'](https://forums.kodeco.com/t/value-of-type-uitableviewcell-has-no-member-configure/145634)

<div class="topic-metadata">

**Author:** [@steveb\_la](https://forums.kodeco.com/u/steveb_la)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 5:18pm UTC](https://forums.kodeco.com/t/value-of-type-uitableviewcell-has-no-member-configure/145634 "2021-08-05T17:18:52Z")

</div>

I’m working on Chapter 28: The Locations Tab, Create a custom table view call subclass where the code is: let location = locations\[indexPath.row\] cell.configure(for: location) and getting the following error: Value …

---

## [Differences between the first and the second edition](https://forums.kodeco.com/t/differences-between-the-first-and-the-second-edition/145537)

<div class="topic-metadata">

**Author:** [@alexhuiculescu](https://forums.kodeco.com/u/alexhuiculescu)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 8:43am UTC](https://forums.kodeco.com/t/differences-between-the-first-and-the-second-edition/145537 "2021-08-04T08:43:11Z")

</div>

Can you provide us with a list of differences between the first edition and the second edition? I read the first edition and I’m wondering if the second edition is worth looking up (only taking the new knowledge into ac…

---

## [Masking Two Quads](https://forums.kodeco.com/t/masking-two-quads/145364)

<div class="topic-metadata">

**Author:** [@atirek123](https://forums.kodeco.com/u/atirek123)\
**Replies:** 30\
**Last updated:** [August 4, 2021, 2:04am UTC](https://forums.kodeco.com/t/masking-two-quads/145364 "2021-08-04T02:04:31Z")

</div>

Hello, I am stuck in a situation. I have drawn two quads. Now the upper quad has RGB image. So i need to multiply the R or G or B color to the previous quad. I cannot find any solution. Note: First quad has different …

---

## [PDF Version 3rd edition?](https://forums.kodeco.com/t/pdf-version-3rd-edition/135481)

<div class="topic-metadata">

**Author:** [@appelflap](https://forums.kodeco.com/u/appelflap)\
**Replies:** 2\
**Last updated:** [August 3, 2021, 10:04pm UTC](https://forums.kodeco.com/t/pdf-version-3rd-edition/135481 "2021-08-03T22:04:12Z")

</div>

Hi, Will there be a PDF version of the 3rd edition? I’m relying heavily on the way I can make notes, annotations, drawings etc in PDF documents. ePub is so extremely limited in this respect… Also, I have set up a libra…

---

## [Chapter 8: Presenting a view controller as a Future](https://forums.kodeco.com/t/chapter-8-presenting-a-view-controller-as-a-future/105613)

<div class="topic-metadata">

**Author:** [@camacholaverde](https://forums.kodeco.com/u/camacholaverde)\
**Replies:** 3\
**Last updated:** [August 3, 2021, 4:04pm UTC](https://forums.kodeco.com/t/chapter-8-presenting-a-view-controller-as-a-future/105613 "2021-08-03T16:04:02Z")

</div>

Hello, I have been trying the code related to the presentation of the Alert view controller as a Future, and I have some questions. In order to dismiss the presented alert, you suggest to include a handleEvents(receiveC…

---

## [\[Combine\] Chapter 14: In Practice: Project "News". MergeMany custom implementation](https://forums.kodeco.com/t/combine-chapter-14-in-practice-project-news-mergemany-custom-implementation/145490)

<div class="topic-metadata">

**Author:** [@altairs99](https://forums.kodeco.com/u/altairs99)\
**Replies:** 1\
**Last updated:** [August 3, 2021, 4:01pm UTC](https://forums.kodeco.com/t/combine-chapter-14-in-practice-project-news-mergemany-custom-implementation/145490 "2021-08-03T16:01:19Z")

</div>

Hello @icanzilb , Thank you for the snippet with custom MergeMany implementation, looks great! I am wondering if we can start with empty publisher and remove not empty precondition? For example: // let initialPubl…

---

## [InfiniteScroll won't work when loading from local db](https://forums.kodeco.com/t/infinitescroll-wont-work-when-loading-from-local-db/145485)

<div class="topic-metadata">

**Author:** [@sourabhpal](https://forums.kodeco.com/u/sourabhpal)\
**Replies:** 0\
**Last updated:** [August 3, 2021, 1:32pm UTC](https://forums.kodeco.com/t/infinitescroll-wont-work-when-loading-from-local-db/145485 "2021-08-03T13:32:46Z")

</div>

Let’s say I used the app for the first time. I paginated till page 10. They all save in the db. When I come back to the app again. The api hits with page = 1. I scroll to the bottom the api will hit with page = 2. What …

---

## [Chapter 19: Presentation Controller](https://forums.kodeco.com/t/chapter-19-presentation-controller/145233)

<div class="topic-metadata">

**Author:** [@mcneils](https://forums.kodeco.com/u/mcneils)\
**Replies:** 0\
**Last updated:** [July 30, 2021, 5:13am UTC](https://forums.kodeco.com/t/chapter-19-presentation-controller/145233 "2021-07-30T05:13:06Z")

</div>

So I’m trying to increase the width of the images in the scroll view and here’s the problem: I first go into the storyboard and raise the scroll view so that the bottom of the images won’t be hidden anymore like so: T…

---

## [Problem deploying to AWS](https://forums.kodeco.com/t/problem-deploying-to-aws/144570)

<div class="topic-metadata">

**Author:** [@mtcameron5](https://forums.kodeco.com/u/mtcameron5)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 4:20pm UTC](https://forums.kodeco.com/t/problem-deploying-to-aws/144570 "2021-07-28T16:20:36Z")

</div>

I’m a novice with this stuff so sorry for asking what maybe should be obvious. I have successfully deployed to Heroku and Docker (well, sort of with Heroku, I have problems with image uploads), but AWS I am having probl…

---

## [Update to Vapor 4](https://forums.kodeco.com/t/update-to-vapor-4/96465)

<div class="topic-metadata">

**Author:** [@gjzwart](https://forums.kodeco.com/u/gjzwart)\
**Replies:** 71\
**Last updated:** [July 28, 2021, 4:18pm UTC](https://forums.kodeco.com/t/update-to-vapor-4/96465 "2021-07-28T16:18:10Z")

</div>

When will the book be updated to cover Vapor 4?

---

## [\[State & Data Flow. Part2\] ScoreView uses @Binding for \`numberOfAnswered\` but never mutates it, use \`let\` instead?](https://forums.kodeco.com/t/state-data-flow-part2-scoreview-uses-binding-for-numberofanswered-but-never-mutates-it-use-let-instead/144899)

<div class="topic-metadata">

**Author:** [@altairs99](https://forums.kodeco.com/u/altairs99)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 7:20am UTC](https://forums.kodeco.com/t/state-data-flow-part2-scoreview-uses-binding-for-numberofanswered-but-never-mutates-it-use-let-instead/144899 "2021-07-28T07:20:26Z")

</div>

Hello @jeden , I am wandering if property @Binding var numberOfAnswered can be replaced with let numberOfAnswered , sine it never gets mutated inside the view. Or there’s another reason why it’s Binding? body seems jus…

---

## [Bullseye Game crashes - partially made](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981)

<div class="topic-metadata">

**Author:** [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Replies:** 5\
**Last updated:** [July 26, 2021, 2:11pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981 "2021-07-26T14:11:14Z")

</div>

Below is a link to some source files that I partially created whilst going through a tutorial on this book. Sorry for stating the obvious. I only got a little way through the tutorial before I ran into problems. https:…

---

## [BullsEye Game - UIKit](https://forums.kodeco.com/t/bullseye-game-uikit/144810)

<div class="topic-metadata">

**Author:** [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Replies:** 2\
**Last updated:** [July 26, 2021, 2:03pm UTC](https://forums.kodeco.com/t/bullseye-game-uikit/144810 "2021-07-26T14:03:01Z")

</div>

There is a link to the software below. When the central button is pressed it should say the slider is at 50 without moving the slider initially. https://github.com/hairyyak95/Bullyeye-Game—slightly-further.git

---

## [Chapter 9/10: Remote API endpoint returns 503](https://forums.kodeco.com/t/chapter-9-10-remote-api-endpoint-returns-503/137766)

<div class="topic-metadata">

**Author:** [@ekullhu](https://forums.kodeco.com/u/ekullhu)\
**Replies:** 1\
**Last updated:** [July 24, 2021, 6:32pm UTC](https://forums.kodeco.com/t/chapter-9-10-remote-api-endpoint-returns-503/137766 "2021-07-24T18:32:30Z")

</div>

Found an issue when running the example app https://dogpatchserver.herokuapp.com/api/v1/dogs is returning 503 and so no results are able to be rendered. Running the starter or final project from CH 10 has the same resul…

---

## [Bullseye game crashes](https://forums.kodeco.com/t/bullseye-game-crashes/144803)

<div class="topic-metadata">

**Author:** [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Replies:** 1\
**Last updated:** [July 23, 2021, 2:38pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes/144803 "2021-07-23T14:38:04Z")

</div>

Below is the link to the source files that have been uploaded to GitHub. https://github.com/hairyyak95/bullseye-game—the-beginnings.git Please help.

---

## [Drawing Sphere with Metal](https://forums.kodeco.com/t/drawing-sphere-with-metal/133503)

<div class="topic-metadata">

**Author:** [@hcrogman](https://forums.kodeco.com/u/hcrogman)\
**Replies:** 29\
**Last updated:** [July 23, 2021, 7:08am UTC](https://forums.kodeco.com/t/drawing-sphere-with-metal/133503 "2021-07-23T07:08:22Z")

</div>

Is there a way to draw a sphere in metal by calculating points and then connecting them using triangles?

---

## [Alerts stopped working in Chapter six](https://forums.kodeco.com/t/alerts-stopped-working-in-chapter-six/93425)

<div class="topic-metadata">

**Author:** [@steveb\_la](https://forums.kodeco.com/u/steveb_la)\
**Replies:** 8\
**Last updated:** [July 22, 2021, 3:09pm UTC](https://forums.kodeco.com/t/alerts-stopped-working-in-chapter-six/93425 "2021-07-22T15:09:48Z")

</div>

I got thru chapter 5 ok. Part way thru chapter 6, there was some code that should have shown some alerts when doing a build and run. These didn’t appear, so I went over my code changes and didn’t really see anything. I…

---

## [FileManager.documentURL is not recognized by Xcode](https://forums.kodeco.com/t/filemanager-documenturl-is-not-recognized-by-xcode/144672)

<div class="topic-metadata">

**Author:** [@charliemarechal](https://forums.kodeco.com/u/charliemarechal)\
**Replies:** 1\
**Last updated:** [July 21, 2021, 10:48pm UTC](https://forums.kodeco.com/t/filemanager-documenturl-is-not-recognized-by-xcode/144672 "2021-07-21T22:48:25Z")

</div>

Hello ! I am learning through the Book SwiftUI apprentice, and I’m currently stuck at the JSON part. While I’m copy-pasting the code that’s in the book, I’m getting this error. Can you help me? I’m trying to find what…

---

## [Chapter 4: Model not updating in Reality Converter?](https://forums.kodeco.com/t/chapter-4-model-not-updating-in-reality-converter/110511)

<div class="topic-metadata">

**Author:** [@kgchang](https://forums.kodeco.com/u/kgchang)\
**Replies:** 4\
**Last updated:** [July 18, 2021, 7:20pm UTC](https://forums.kodeco.com/t/chapter-4-model-not-updating-in-reality-converter/110511 "2021-07-18T19:20:11Z")

</div>

Anyone else have an issue in Reality Converter where the main model is not getting updated when the textures are applied? Everything else seems to work fine. The thumbnail under “Models” updates, all the textures look …

---

## [Podcast episodes Error](https://forums.kodeco.com/t/podcast-episodes-error/144410)

<div class="topic-metadata">

**Author:** [@doer](https://forums.kodeco.com/u/doer)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 9:01pm UTC](https://forums.kodeco.com/t/podcast-episodes-error/144410 "2021-07-16T21:01:31Z")

</div>

Hello everyone, why do I keep getting error loading feeding? I can’t seem to get the podcast episodes loading. Any help will be highly appreciated?

---

## [Trying to increase refresh view height](https://forums.kodeco.com/t/trying-to-increase-refresh-view-height/144404)

<div class="topic-metadata">

**Author:** [@mcneils](https://forums.kodeco.com/u/mcneils)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 7:18pm UTC](https://forums.kodeco.com/t/trying-to-increase-refresh-view-height/144404 "2021-07-16T19:18:19Z")

</div>

Hi, I’ve been stuck on trying to increase the height of the refreshing view for quite some time. When I increase the frame it overlaps with the tableView, and then when I increase the image same thing. So then I thought …

---

## [Swift UI Preview is not working on any of the sample projects](https://forums.kodeco.com/t/swift-ui-preview-is-not-working-on-any-of-the-sample-projects/124526)

<div class="topic-metadata">

**Author:** [@wilee11](https://forums.kodeco.com/u/wilee11)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 11:09am UTC](https://forums.kodeco.com/t/swift-ui-preview-is-not-working-on-any-of-the-sample-projects/124526 "2020-11-10T11:09:06Z")

</div>

I’m getting the following error. I’m running xCode 11.3.1. Have tried restarting xCode, deleting derived data, etc with no success. Does anyone have a workaround for this. CrashOnLaunchError: RGBullsEye app crashed …

---

## [Chapter 20 Advanced Lighting - ray tracing hair](https://forums.kodeco.com/t/chapter-20-advanced-lighting-ray-tracing-hair/144128)

<div class="topic-metadata">

**Author:** [@alelordelo](https://forums.kodeco.com/u/alelordelo)\
**Replies:** 7\
**Last updated:** [July 15, 2021, 11:34pm UTC](https://forums.kodeco.com/t/chapter-20-advanced-lighting-ray-tracing-hair/144128 "2021-07-15T23:34:36Z")

</div>

Hello Marius Horga and Metal team, On Chapter 20 - Advanced Lighting , I am trying to load hair curves and test how ray tracing would work with hair. Appreciate any help you guys can give! Thanks

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

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