# 📚 Official Books

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

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

**Page:** 22

---

## [How to use setFragmentBuffer(:::) function](https://forums.kodeco.com/t/how-to-use-setfragmentbuffer-function/124605)

<div class="topic-metadata">

**Author:** [@richmond\_jam](https://forums.kodeco.com/u/richmond_jam)\
**Replies:** 12\
**Last updated:** [September 30, 2022, 8:28am UTC](https://forums.kodeco.com/t/how-to-use-setfragmentbuffer-function/124605 "2022-09-30T08:28:42Z")

</div>

Hello Caroline, today I read Apple’s document and would u please tell me how to use setFragmentBuffer(:::slight\_smile: function

---

## [Chapter 13 Strange Xcode warning](https://forums.kodeco.com/t/chapter-13-strange-xcode-warning/178912)

<div class="topic-metadata">

**Author:** [@sxbsxb](https://forums.kodeco.com/u/sxbsxb)\
**Replies:** 6\
**Last updated:** [September 29, 2022, 8:02pm UTC](https://forums.kodeco.com/t/chapter-13-strange-xcode-warning/178912 "2022-09-29T20:02:25Z")

</div>

I get this strange warning from Xcode when I build the starter project. warning build: Run script build phase ‘SwiftLint’ will be run during every build because it does not specify any outputs. To address this warning, …

---

## [Server Error no such module PackageDescription](https://forums.kodeco.com/t/server-error-no-such-module-packagedescription/177438)

<div class="topic-metadata">

**Author:** [@rlisle](https://forums.kodeco.com/u/rlisle)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 10:45pm UTC](https://forums.kodeco.com/t/server-error-no-such-module-packagedescription/177438 "2022-09-28T22:45:35Z")

</div>

On my MBP M1 running “swift run” results in an error Package.swift 2:8: error: no such module ‘PackageDescription’. I’ve tried Rosetta “arch -x86\_64 swift run” but no change. I’m running Ventura beta, so that’s probabl…

---

## [PDF version available?](https://forums.kodeco.com/t/pdf-version-available/158666)

<div class="topic-metadata">

**Author:** [@bstover](https://forums.kodeco.com/u/bstover)\
**Replies:** 5\
**Last updated:** [September 28, 2022, 8:00pm UTC](https://forums.kodeco.com/t/pdf-version-available/158666 "2022-09-28T20:00:53Z")

</div>

Is there a PDF version of this available after purchase? The purchase button says “EPUB and online”, but I thought PDFs were making a comeback? https://www.raywenderlich.com/22267547-who-loves-pdf-books-we-do-again

---

## [Chapter 5 Location Issues](https://forums.kodeco.com/t/chapter-5-location-issues/179076)

<div class="topic-metadata">

**Author:** [@perlguy](https://forums.kodeco.com/u/perlguy)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 4:59pm UTC](https://forums.kodeco.com/t/chapter-5-location-issues/179076 "2022-09-28T16:59:18Z")

</div>

I’m to the part where I should be getting the location, but I am getting this instead: 2022-09-27 12:21:51.652742-0500 Blabber\[22372:2359525\] SWIFT TASK CONTINUATION MISUSE: shareLocation() leaked its continuation!

---

## [Chapter 7 Feedback](https://forums.kodeco.com/t/chapter-7-feedback/178881)

<div class="topic-metadata">

**Author:** [@kemmetdaniel](https://forums.kodeco.com/u/kemmetdaniel)\
**Replies:** 5\
**Last updated:** [September 27, 2022, 7:12pm UTC](https://forums.kodeco.com/t/chapter-7-feedback/178881 "2022-09-27T19:12:46Z")

</div>

working through V3.0 Chapter 7 and just some humble feed back. consider adding a one or two line summary of what constitutes a simple app vs a complicated one. Kinda admitting my faults, I’m new to application developmen…

---

## [Shutdown() was not called before Application deinitialized](https://forums.kodeco.com/t/shutdown-was-not-called-before-application-deinitialized/142245)

<div class="topic-metadata">

**Author:** [@urbanistica](https://forums.kodeco.com/u/urbanistica)\
**Replies:** 3\
**Last updated:** [September 26, 2022, 11:53pm UTC](https://forums.kodeco.com/t/shutdown-was-not-called-before-application-deinitialized/142245 "2022-09-26T23:53:13Z")

</div>

Following the sample code for the book in writing tests. Now find that tests basically grind to a halt before anything really runs, and always with this message: \*\*Vapor/Application.swift:154: Fatal error: Application.s…

---

## [Chapter 7: Fooderlich\_pages.dart](https://forums.kodeco.com/t/chapter-7-fooderlich-pages-dart/178917)

<div class="topic-metadata">

**Author:** [@moathabusheikha](https://forums.kodeco.com/u/moathabusheikha)\
**Replies:** 1\
**Last updated:** [September 25, 2022, 10:58pm UTC](https://forums.kodeco.com/t/chapter-7-fooderlich-pages-dart/178917 "2022-09-25T22:58:28Z")

</div>

can you tell me where i cant find the file Fooderlich\_pages.dart

---

## [Chapter 6 No such module as RxSwift](https://forums.kodeco.com/t/chapter-6-no-such-module-as-rxswift/178798)

<div class="topic-metadata">

**Author:** [@saitowag](https://forums.kodeco.com/u/saitowag)\
**Replies:** 1\
**Last updated:** [September 25, 2022, 6:21pm UTC](https://forums.kodeco.com/t/chapter-6-no-such-module-as-rxswift/178798 "2022-09-25T18:21:22Z")

</div>

Hi, I have run pod install but still I am getting the error No such module ‘RxSwift’ and the project is not building.

---

## [Suggestion: only add Copy button where it makes sense](https://forums.kodeco.com/t/suggestion-only-add-copy-button-where-it-makes-sense/178604)

<div class="topic-metadata">

**Author:** [@daviderb](https://forums.kodeco.com/u/daviderb)\
**Replies:** 1\
**Last updated:** [September 24, 2022, 9:02pm UTC](https://forums.kodeco.com/t/suggestion-only-add-copy-button-where-it-makes-sense/178604 "2022-09-24T21:02:21Z")

</div>

Whenever quoting code, even code that is meant to be replaced, the code block has an active Copy button. While you could make an argument that a reader might use the Copy button to prepare to paste the text into a search…

---

## [Navigation chapter and simple mesh](https://forums.kodeco.com/t/navigation-chapter-and-simple-mesh/178712)

<div class="topic-metadata">

**Author:** [@marek-kuticka](https://forums.kodeco.com/u/marek-kuticka)\
**Replies:** 21\
**Last updated:** [September 24, 2022, 12:34pm UTC](https://forums.kodeco.com/t/navigation-chapter-and-simple-mesh/178712 "2022-09-24T12:34:49Z")

</div>

Hi @caroline one more thing… based on my previous questions, I am trying to modify the navigation chapter sample to be able to render simple mesh ( quad from chapter 4 ) instead of the full model, but it currently fail…

---

## [Chapter 9 and 10 apps crashing with no error](https://forums.kodeco.com/t/chapter-9-and-10-apps-crashing-with-no-error/170442)

<div class="topic-metadata">

**Author:** [@artemitch](https://forums.kodeco.com/u/artemitch)\
**Replies:** 4\
**Last updated:** [September 23, 2022, 6:45pm UTC](https://forums.kodeco.com/t/chapter-9-and-10-apps-crashing-with-no-error/170442 "2022-09-23T18:45:09Z")

</div>

Midway through chapter 9, when implementing the ProfileInfo composable, the app started crashing straight after launch, occasionally saying the “JetReddit keeps stopping”. I put this down to me doing something wrong, but…

---

## [Chapter 22 Retrieve user info from Google](https://forums.kodeco.com/t/chapter-22-retrieve-user-info-from-google/178813)

<div class="topic-metadata">

**Author:** [@anastasiiagolts](https://forums.kodeco.com/u/anastasiiagolts)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 2:19pm UTC](https://forums.kodeco.com/t/chapter-22-retrieve-user-info-from-google/178813 "2022-09-23T14:19:37Z")

</div>

Hello everybody, I’ve got a question about retrieving user data to my app. In the original app we don’t get any information about the logged in user, we just approve the request and then we can get their id by selecting…

---

## [New version available for this book? 🤔](https://forums.kodeco.com/t/new-version-available-for-this-book/178714)

<div class="topic-metadata">

**Author:** [@capitainecaverne](https://forums.kodeco.com/u/capitainecaverne)\
**Replies:** 4\
**Last updated:** [September 23, 2022, 9:54am UTC](https://forums.kodeco.com/t/new-version-available-for-this-book/178714 "2022-09-23T09:54:54Z")

</div>

Hi everyone, Before buying this ebook in its second version, I’d like to know if a third version is rather topical (iOS16, Xcode14)? Besides, if I buy this second version, will it be necessary to buy the ne version whe…

---

## [Chapter 13 starter project has a minor omission](https://forums.kodeco.com/t/chapter-13-starter-project-has-a-minor-omission/178678)

<div class="topic-metadata">

**Author:** [@daviderb](https://forums.kodeco.com/u/daviderb)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 3:05pm UTC](https://forums.kodeco.com/t/chapter-13-starter-project-has-a-minor-omission/178678 "2022-09-22T15:05:28Z")

</div>

The Chapter 13 starter project doesn’t use the recipe image, but the pizza image. It’s pretty easy to see the problem if you diff the Chapter 12 final project with the Chapter 13 starter project.

---

## [Occlusion culling](https://forums.kodeco.com/t/occlusion-culling/178694)

<div class="topic-metadata">

**Author:** [@marek-kuticka](https://forums.kodeco.com/u/marek-kuticka)\
**Replies:** 1\
**Last updated:** [September 22, 2022, 1:04am UTC](https://forums.kodeco.com/t/occlusion-culling/178694 "2022-09-22T01:04:43Z")

</div>

Hello @caroline is there any simple way in metal to enable occlusion culling for wireframe?? if I take Model chapter, there the model seems to be rendered with just visible faces,but I might be wrong. when textures are …

---

## [Errata for Android Test-Driven Development by Tutorials 2nd Edition](https://forums.kodeco.com/t/errata-for-android-test-driven-development-by-tutorials-2nd-edition/144620)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0\
**Last updated:** [July 20, 2021, 11:22pm UTC](https://forums.kodeco.com/t/errata-for-android-test-driven-development-by-tutorials-2nd-edition/144620 "2021-07-20T23:22:07Z")

</div>

Creating this topic to catch any typos and bugs in the 2nd Edition of Android Test-Driven Development by Tutorials.

---

## [Is it possible to reuse command buffers and render command encoders?](https://forums.kodeco.com/t/is-it-possible-to-reuse-command-buffers-and-render-command-encoders/178445)

<div class="topic-metadata">

**Author:** [@graphicxlogic](https://forums.kodeco.com/u/graphicxlogic)\
**Replies:** 1\
**Last updated:** [September 17, 2022, 6:35am UTC](https://forums.kodeco.com/t/is-it-possible-to-reuse-command-buffers-and-render-command-encoders/178445 "2022-09-17T06:35:51Z")

</div>

So far I read chapter 1 to 5 and almost all the draw calls are repeating the same commands over and over. So I modified the code for Chapter 5 so that the command buffer only gets to be created once and encoder only enco…

---

## [Integration testing. Chapter 8](https://forums.kodeco.com/t/integration-testing-chapter-8/178329)

<div class="topic-metadata">

**Author:** [@xudoyshukur](https://forums.kodeco.com/u/xudoyshukur)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 6:09am UTC](https://forums.kodeco.com/t/integration-testing-chapter-8/178329 "2022-09-20T06:09:50Z")

</div>

In the beginning everything was going smooth. But when I started reading Chapter 8, I’d been a bit confused about Integration testing. What is Integration testing actually? In the example you tested a viewmodel (which s…

---

## [Chapter 6 - Build fails](https://forums.kodeco.com/t/chapter-6-build-fails/165582)

<div class="topic-metadata">

**Author:** [@naplesdave](https://forums.kodeco.com/u/naplesdave)\
**Replies:** 24\
**Last updated:** [September 20, 2022, 2:03am UTC](https://forums.kodeco.com/t/chapter-6-build-fails/165582 "2022-09-20T02:03:47Z")

</div>

I don’t mean to whine, but my frustration level is forcing me to ask…With all the changes to ANDROID STUDIO / DART / FLUTTER, it would be really nice if RW would update the Book project code so that it runs without me sp…

---

## [Animation Timeline Issue](https://forums.kodeco.com/t/animation-timeline-issue/178493)

<div class="topic-metadata">

**Author:** [@generodely](https://forums.kodeco.com/u/generodely)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 1:41pm UTC](https://forums.kodeco.com/t/animation-timeline-issue/178493 "2022-09-19T13:41:02Z")

</div>

Im having some sort of strange either error on my part or a glitch, the animation is lasting one frame longer than it should. Removing the last frame does shorten it but it still plays 1 frame longer than it should, as y…

---

## [Camera and moving scene object](https://forums.kodeco.com/t/camera-and-moving-scene-object/178477)

<div class="topic-metadata">

**Author:** [@marek-kuticka](https://forums.kodeco.com/u/marek-kuticka)\
**Replies:** 5\
**Last updated:** [September 19, 2022, 8:00am UTC](https://forums.kodeco.com/t/camera-and-moving-scene-object/178477 "2022-09-19T08:00:10Z")

</div>

Hi again Caroline after implementing part of code for chapter 9, where we introduce the camera, also after looking heavily into previous chapters, I have one question. what and how needs to be done, so that I can have t…

---

## [CH01 - Audio problem](https://forums.kodeco.com/t/ch01-audio-problem/178496)

<div class="topic-metadata">

**Author:** [@momenteye](https://forums.kodeco.com/u/momenteye)\
**Replies:** 2\
**Last updated:** [September 19, 2022, 7:10am UTC](https://forums.kodeco.com/t/ch01-audio-problem/178496 "2022-09-19T07:10:49Z")

</div>

So I’ve already got the RealityComposer files and the sounds play in Reality Composer… However, the sounds don’t play in my version or the final. I’m on Xcode 14.0 so maybe it’s a new thing? TinyToyTank\[13793:1035810\] …

---

## [Issue save the data in Checklists app](https://forums.kodeco.com/t/issue-save-the-data-in-checklists-app/178512)

<div class="topic-metadata">

**Author:** [@selaman](https://forums.kodeco.com/u/selaman)\
**Replies:** 0\
**Last updated:** [September 18, 2022, 3:11pm UTC](https://forums.kodeco.com/t/issue-save-the-data-in-checklists-app/178512 "2022-09-18T15:11:57Z")

</div>

hello, after moving the function saveChecklists() to DataModel class I cannot save any new items and checklistItems after adding them. Does anyone have this issue and know how to solve it?

---

## [Why to pass the Camera,lighting and other info as stage\_in value to Vertex function?](https://forums.kodeco.com/t/why-to-pass-the-camera-lighting-and-other-info-as-stage-in-value-to-vertex-function/172363)

<div class="topic-metadata">

**Author:** [@santman](https://forums.kodeco.com/u/santman)\
**Replies:** 2\
**Last updated:** [June 2, 2022, 1:10pm UTC](https://forums.kodeco.com/t/why-to-pass-the-camera-lighting-and-other-info-as-stage-in-value-to-vertex-function/172363 "2022-06-02T13:10:47Z")

</div>

Hi All, I was wondering why we need to pass the camera, transformation, world co-ordinates, tangents, bitangents, normals etc to Vertex function? The “position” attributes of-course is needed in Vertex function but oth…

---

## [How to understand metal compute shader code?](https://forums.kodeco.com/t/how-to-understand-metal-compute-shader-code/178224)

<div class="topic-metadata">

**Author:** [@marek-kuticka](https://forums.kodeco.com/u/marek-kuticka)\
**Replies:** 7\
**Last updated:** [September 15, 2022, 9:09am UTC](https://forums.kodeco.com/t/how-to-understand-metal-compute-shader-code/178224 "2022-09-15T09:09:32Z")

</div>

Hello @caroline I hope this question is allowed, as it is related to a different repo/different tutorial, but it is Metal based. and I am using Your book, to try to understand that code. and related youtube video abo…

---

## [Swift 5.7 -\> 6 update?](https://forums.kodeco.com/t/swift-5-7-6-update/178333)

<div class="topic-metadata">

**Author:** [@peter.suwara](https://forums.kodeco.com/u/peter.suwara)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 8:41am UTC](https://forums.kodeco.com/t/swift-5-7-6-update/178333 "2022-09-15T08:41:15Z")

</div>

Are there plans to update this book? It’s an incredible collection of tidbits. Swift has dramatically evolved recently, so it would be good to get an updated version of the book.

---

## [Book and code vs. Flutter 3.3](https://forums.kodeco.com/t/book-and-code-vs-flutter-3-3/178211)

<div class="topic-metadata">

**Author:** [@daviderb](https://forums.kodeco.com/u/daviderb)\
**Replies:** 3\
**Last updated:** [September 14, 2022, 11:56pm UTC](https://forums.kodeco.com/t/book-and-code-vs-flutter-3-3/178211 "2022-09-14T23:56:53Z")

</div>

Thanks for updating the code to work with Flutter 3.3. However, that was a pretty big refactoring of the code and it isn’t consistent with the published book. Do you have a date in mind for making the third edition avail…

---

## [Altering app\_router.dart to allow for stacks of a single page type](https://forums.kodeco.com/t/altering-app-router-dart-to-allow-for-stacks-of-a-single-page-type/166271)

<div class="topic-metadata">

**Author:** [@abeswede](https://forums.kodeco.com/u/abeswede)\
**Replies:** 2\
**Last updated:** [September 14, 2022, 10:20am UTC](https://forums.kodeco.com/t/altering-app-router-dart-to-allow-for-stacks-of-a-single-page-type/166271 "2022-09-14T10:20:43Z")

</div>

I am curious how I would alter the app\_router.dart file to allow for stacks of a single page type. When I try to just bring up a second instance of (for example) the grocery\_item\_screen.dart page it gives me the error th…

---

## [Must do Updates for projects in edition 2](https://forums.kodeco.com/t/must-do-updates-for-projects-in-edition-2/169130)

<div class="topic-metadata">

**Author:** [@maku](https://forums.kodeco.com/u/maku)\
**Replies:** 19\
**Last updated:** [September 14, 2022, 10:19am UTC](https://forums.kodeco.com/t/must-do-updates-for-projects-in-edition-2/169130 "2022-09-14T10:19:38Z")

</div>

While reading the second edition, the code always breaks. So I have to run the steps before the app can run on my device. flutter pub upgrade android:name=“${applicationName}” // change in android manifest kotlin versi…

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

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