# 📚 Official Books

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

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

**Page:** 26

---

## [Unable to reproduce the cycled dependency in chapter 8](https://forums.kodeco.com/t/unable-to-reproduce-the-cycled-dependency-in-chapter-8/175214)

<div class="topic-metadata">

**Author:** [@nh123](https://forums.kodeco.com/u/nh123)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 2:34pm UTC](https://forums.kodeco.com/t/unable-to-reproduce-the-cycled-dependency-in-chapter-8/175214 "2022-07-19T14:34:21Z")

</div>

Has anyone actually done the code changes related to CycledSequencePresenter (pages 216-218) that are supposed to lead to a dependency cycle? I think I have everything in place, but get no build or runtime error.

---

## [Enhancing Your UI](https://forums.kodeco.com/t/enhancing-your-ui/174805)

<div class="topic-metadata">

**Author:** [@doer](https://forums.kodeco.com/u/doer)\
**Replies:** 3\
**Last updated:** [July 18, 2022, 11:56am UTC](https://forums.kodeco.com/t/enhancing-your-ui/174805 "2022-07-18T11:56:51Z")

</div>

In section two of this book, we were made to refactor our codes into modules.However upon reaching section 3 of this book, enhancing your ui, the source code for this chapter have been refactored back to the old way with…

---

## [A problem about a functions in 6.8 Optimizing COW](https://forums.kodeco.com/t/a-problem-about-a-functions-in-6-8-optimizing-cow/174798)

<div class="topic-metadata">

**Author:** [@ys\_xs](https://forums.kodeco.com/u/ys_xs)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 11:42am UTC](https://forums.kodeco.com/t/a-problem-about-a-functions-in-6-8-optimizing-cow/174798 "2022-07-18T11:42:37Z")

</div>

A minor predicament hi～ I have a question. Why does this code in the article missing the sentence “tail = newNode” Copynodes() has, but copyNodes(returningCopyOf:) has not private mutating func copyNodes(returnin…

---

## [Simulator question](https://forums.kodeco.com/t/simulator-question/174883)

<div class="topic-metadata">

**Author:** [@slyone](https://forums.kodeco.com/u/slyone)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 11:41am UTC](https://forums.kodeco.com/t/simulator-question/174883 "2022-07-18T11:41:27Z")

</div>

Design Patterns by Tutorials This might seem silly, but what device did you set the simulator for testing your code? I’m using Xcode 13.

---

## [How to stream a video in Compose](https://forums.kodeco.com/t/how-to-stream-a-video-in-compose/175097)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 6:47am UTC](https://forums.kodeco.com/t/how-to-stream-a-video-in-compose/175097 "2022-07-18T06:47:44Z")

</div>

Hi Everyone, i am developing a compose application where video view must be populated which will hold the stream of video from user (i.e) similar to a video call . I have used the zoom provider for the video stream . Kin…

---

## [Regarding Jetpack Bottom Navigation](https://forums.kodeco.com/t/regarding-jetpack-bottom-navigation/175094)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 3:50am UTC](https://forums.kodeco.com/t/regarding-jetpack-bottom-navigation/175094 "2022-07-18T03:50:46Z")

</div>

Hi everyone. I am working in android platform where i have a bottom navigation view which has 4 icons(video, Audio, chat and settings), In which one of the icon Audio has to be only toggle option say on tap the audio mu…

---

## [JetPack Compose Navigation - Custom Action](https://forums.kodeco.com/t/jetpack-compose-navigation-custom-action/174311)

<div class="topic-metadata">

**Author:** [@arun\_95](https://forums.kodeco.com/u/arun_95)\
**Replies:** 3\
**Last updated:** [July 16, 2022, 8:57pm UTC](https://forums.kodeco.com/t/jetpack-compose-navigation-custom-action/174311 "2022-07-16T20:57:43Z")

</div>

I am working in android platform where i have a bottom navigation view which has 4 icons(video, Audio, chat and settings), I need a scenario to be sorted, In which one of the icon “Audio” has to be only toggle option sa…

---

## [Different ways to retrieve Parent-Child and Sibling relationships?](https://forums.kodeco.com/t/different-ways-to-retrieve-parent-child-and-sibling-relationships/174974)

<div class="topic-metadata">

**Author:** [@delaney](https://forums.kodeco.com/u/delaney)\
**Replies:** 1\
**Last updated:** [July 16, 2022, 12:23pm UTC](https://forums.kodeco.com/t/different-ways-to-retrieve-parent-child-and-sibling-relationships/174974 "2022-07-16T12:23:44Z")

</div>

By chapter 17, Acronym has a parent relationship to User and a sibling relationship to Category. Fluent.ParentProperty and Fluent.SiblingsProperty both conform to Relation which is where get(reload:on:) is implemented. (…

---

## [StoreSearch Landscape Broken on iPhone 8,11,12,13 & Pro](https://forums.kodeco.com/t/storesearch-landscape-broken-on-iphone-8-11-12-13-pro/173159)

<div class="topic-metadata">

**Author:** [@zenzat22](https://forums.kodeco.com/u/zenzat22)\
**Replies:** 5\
**Last updated:** [July 15, 2022, 2:51am UTC](https://forums.kodeco.com/t/storesearch-landscape-broken-on-iphone-8-11-12-13-pro/173159 "2022-07-15T02:51:23Z")

</div>

Thanks for writing such an incredible book. I enjoyed coding along with each project and gaining better insight into how things work in UIKit. One thing I found especially helpful is your consistent focus on optionals th…

---

## [Errata for Flutter Apprentice 2nd Edition](https://forums.kodeco.com/t/errata-for-flutter-apprentice-2nd-edition/149499)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 139\
**Last updated:** [July 11, 2022, 9:49pm UTC](https://forums.kodeco.com/t/errata-for-flutter-apprentice-2nd-edition/149499 "2022-07-11T21:49:22Z")

</div>

Creating this topic to catch any typos and bugs in the 2nd Edition of Flutter Apprentice.

---

## [Chapter 13 - onDrop modifier](https://forums.kodeco.com/t/chapter-13-ondrop-modifier/174691)

<div class="topic-metadata">

**Author:** [@srofe](https://forums.kodeco.com/u/srofe)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 3:43am UTC](https://forums.kodeco.com/t/chapter-13-ondrop-modifier/174691 "2022-07-11T03:43:12Z")

</div>

Thanks for this wonderful book. Great to see something on macOS and SwiftUI as opposed to the extensive coverage of the mobile side of things. I was implementing drag and drop in the CustomImageView in Chapter 13 and ha…

---

## [17 Chapter 17: Making a Simple Web App, Part 2](https://forums.kodeco.com/t/17-chapter-17-making-a-simple-web-app-part-2/174608)

<div class="topic-metadata">

**Author:** [@emmanuel18909890](https://forums.kodeco.com/u/emmanuel18909890)\
**Replies:** 1\
**Last updated:** [July 9, 2022, 12:06am UTC](https://forums.kodeco.com/t/17-chapter-17-making-a-simple-web-app-part-2/174608 "2022-07-09T00:06:29Z")

</div>

Hello there, I’m currently studying on Vapor and I have an issue with the javascript script “createAcronyms”. It doesn’t found http://localhost:8080/api/categories/. I have an error on the safari inspector : Failed to …

---

## [Stack Challenge #2 - Code Review!](https://forums.kodeco.com/t/stack-challenge-2-code-review/170989)

<div class="topic-metadata">

**Author:** [@marlhex](https://forums.kodeco.com/u/marlhex)\
**Replies:** 2\
**Last updated:** [July 7, 2022, 6:42pm UTC](https://forums.kodeco.com/t/stack-challenge-2-code-review/170989 "2022-07-07T18:42:19Z")

</div>

Can someone review if this code is valid as a solution? - The difference is that I’m not popping and I’m using 2 different counters. The time complexity is still linear O(n), right? + I’m still using stack methods. So ap…

---

## [Charter 18 error: Publisher is only available in iOS 13.0](https://forums.kodeco.com/t/charter-18-error-publisher-is-only-available-in-ios-13-0/174165)

<div class="topic-metadata">

**Author:** [@felipefl](https://forums.kodeco.com/u/felipefl)\
**Replies:** 2\
**Last updated:** [July 7, 2022, 5:19pm UTC](https://forums.kodeco.com/t/charter-18-error-publisher-is-only-available-in-ios-13-0/174165 "2022-07-07T17:19:36Z")

</div>

‘Publisher’ is only available in iOS 13.0 or newer extension Publisher { help me please

---

## ["Checklist" project, handle appearance when in dark mode](https://forums.kodeco.com/t/checklist-project-handle-appearance-when-in-dark-mode/174509)

<div class="topic-metadata">

**Author:** [@supergegs](https://forums.kodeco.com/u/supergegs)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 7:18am UTC](https://forums.kodeco.com/t/checklist-project-handle-appearance-when-in-dark-mode/174509 "2022-07-07T07:18:56Z")

</div>

When running the final “Checklist” project on my device, I’ve noticed that there is no proper handling for a case when the device is in dark mode. The main effect is that the checklist icon will not show in the table c…

---

## [Basic to advanced swift](https://forums.kodeco.com/t/basic-to-advanced-swift/162794)

<div class="topic-metadata">

**Author:** [@hassanwa](https://forums.kodeco.com/u/hassanwa)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 4:56am UTC](https://forums.kodeco.com/t/basic-to-advanced-swift/162794 "2022-07-07T04:56:52Z")

</div>

I should study which book of raywenderlich for studying swift from basic to advanced level? which book is the best? what is the difference in the books of swift apprentice and iOS apprentice?

---

## [Chapter 18 fileprivate](https://forums.kodeco.com/t/chapter-18-fileprivate/174291)

<div class="topic-metadata">

**Author:** [@schluter](https://forums.kodeco.com/u/schluter)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 4:49am UTC](https://forums.kodeco.com/t/chapter-18-fileprivate/174291 "2022-07-07T04:49:35Z")

</div>

In the section discussing private and fileprivate concerning class CheckAccount, the following statement is made: “Right now, nothing is preventing a haphazard coder who doesn’t read the documentation from creating a Ch…

---

## [Chapter 6 adding items not working](https://forums.kodeco.com/t/chapter-6-adding-items-not-working/168251)

<div class="topic-metadata">

**Author:** [@geek2](https://forums.kodeco.com/u/geek2)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 10:32pm UTC](https://forums.kodeco.com/t/chapter-6-adding-items-not-working/168251 "2022-07-06T22:32:41Z")

</div>

I guys i need help ! when i click on save button, it always return the Empty screen. It seems, groceryItems is alsways empty even i save an item.

---

## [Chapter 9: Context variable in "Adding a search button"](https://forums.kodeco.com/t/chapter-9-context-variable-in-adding-a-search-button/157017)

<div class="topic-metadata">

**Author:** [@matan188](https://forums.kodeco.com/u/matan188)\
**Replies:** 1\
**Last updated:** [November 15, 2021, 9:54am UTC](https://forums.kodeco.com/t/chapter-9-context-variable-in-adding-a-search-button/157017 "2021-11-15T09:54:44Z")

</div>

In the “Adding a search button” section, we make use of a “context” variable. However, it isn’t clear to me where this “context” comes from as it doesn’t look like we’ve initialized it anywhere or gotten it from a callba…

---

## [Can't Print Document Directory and find UserDefaults plist](https://forums.kodeco.com/t/cant-print-document-directory-and-find-userdefaults-plist/146262)

<div class="topic-metadata">

**Author:** [@gaspare92](https://forums.kodeco.com/u/gaspare92)\
**Replies:** 2\
**Last updated:** [August 17, 2021, 6:13pm UTC](https://forums.kodeco.com/t/cant-print-document-directory-and-find-userdefaults-plist/146262 "2021-08-17T18:13:54Z")

</div>

Chapter 8: Saving Settings. I’m trying to print the document directory by adding .onAppear modifier but nothing is printed on the console. import SwiftUI @main struct HIITFitApp: App { var body: some Scene { Win…

---

## [Flutter Installation Problem on Windows](https://forums.kodeco.com/t/flutter-installation-problem-on-windows/159981)

<div class="topic-metadata">

**Author:** [@amoxe](https://forums.kodeco.com/u/amoxe)\
**Replies:** 3\
**Last updated:** [July 6, 2022, 1:10pm UTC](https://forums.kodeco.com/t/flutter-installation-problem-on-windows/159981 "2022-07-06T13:10:21Z")

</div>

Hello guys, i’ve just started learning flutter and in the installation phase , i faced a problem i extracted the flutter sdk folder in my C:/Users (didn’t put it in the program file folder) i set my environment variable …

---

## [AVD list not working after reopening Android Studio](https://forums.kodeco.com/t/avd-list-not-working-after-reopening-android-studio/156517)

<div class="topic-metadata">

**Author:** [@gncov101](https://forums.kodeco.com/u/gncov101)\
**Replies:** 6\
**Last updated:** [July 6, 2022, 1:06pm UTC](https://forums.kodeco.com/t/avd-list-not-working-after-reopening-android-studio/156517 "2022-07-06T13:06:52Z")

</div>

Hi, I was working through Chapter 2 and had to stop for a while. I closed Android Studio at that time and quit the android emulator. I had several AVD devices in my list and working with my beginning recipe app. But t…

---

## [The “FirstTime” setting does not work](https://forums.kodeco.com/t/the-firsttime-setting-does-not-work/174444)

<div class="topic-metadata">

**Author:** [@nukutka](https://forums.kodeco.com/u/nukutka)\
**Replies:** 0\
**Last updated:** [July 6, 2022, 8:03am UTC](https://forums.kodeco.com/t/the-firsttime-setting-does-not-work/174444 "2022-07-06T08:03:40Z")

</div>

I see no “List” checklist at the first launch after the 18 Chapter of the book. Can u help me? I have downloaded materials, it doesnt work there too.

---

## [How to use reflections with an Arcball camera?](https://forums.kodeco.com/t/how-to-use-reflections-with-an-arcball-camera/174194)

<div class="topic-metadata">

**Author:** [@masaldana2](https://forums.kodeco.com/u/masaldana2)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 9:39am UTC](https://forums.kodeco.com/t/how-to-use-reflections-with-an-arcball-camera/174194 "2022-07-05T09:39:34Z")

</div>

Hello im following chapter 22 on reflections and changing the camera PlayerCamera() to ArcballCamera(), the reflections stop working. how can I fix it? should I use .target instead of position? hmmm thank you

---

## [\[Chapter 8\] - Need some explanation about vertex descriptor](https://forums.kodeco.com/t/chapter-8-need-some-explanation-about-vertex-descriptor/118862)

<div class="topic-metadata">

**Author:** [@harmansmith](https://forums.kodeco.com/u/harmansmith)\
**Replies:** 3\
**Last updated:** [July 4, 2022, 7:47am UTC](https://forums.kodeco.com/t/chapter-8-need-some-explanation-about-vertex-descriptor/118862 "2022-07-04T07:47:37Z")

</div>

Several things remained unclear to me in this chapter. I would be grateful if you can shed some light on these points: Why do we add a new attribute MDLVertexAttributeColor to the defaultVertexDescriptor. In the case o…

---

## [Chapter 6: PostgressSQL M1 docker error](https://forums.kodeco.com/t/chapter-6-postgresssql-m1-docker-error/174217)

<div class="topic-metadata">

**Author:** [@lordandrei](https://forums.kodeco.com/u/lordandrei)\
**Replies:** 2\
**Last updated:** [July 2, 2022, 3:49am UTC](https://forums.kodeco.com/t/chapter-6-postgresssql-m1-docker-error/174217 "2022-07-02T03:49:48Z")

</div>

So I ran this command in terminal: docker run --name postgres -e POSTGRES\_DB=vapor \\ -e POSTGRES\_USER=vapor -e POSTGRES\_PASSWORD=password \\ -p 5432:5432 -d postgres After deleting previous versions of postgres I’m deal…

---

## [Strafing vector from side to side](https://forums.kodeco.com/t/strafing-vector-from-side-to-side/173222)

<div class="topic-metadata">

**Author:** [@nghiaphamsg](https://forums.kodeco.com/u/nghiaphamsg)\
**Replies:** 10\
**Last updated:** [July 1, 2022, 11:58am UTC](https://forums.kodeco.com/t/strafing-vector-from-side-to-side/173222 "2022-07-01T11:58:28Z")

</div>

Hi team ! In chapter 9: Camera Movement In the orange mark, I see you set “-forwardVector.x”. But I don’t understand the difference yet if I set “forwardVector.x”. The result of the vector is the same when I manipu…

---

## [Chapter 6 - Am I crazy or is this chapter a lurch?](https://forums.kodeco.com/t/chapter-6-am-i-crazy-or-is-this-chapter-a-lurch/174185)

<div class="topic-metadata">

**Author:** [@kemmetdaniel](https://forums.kodeco.com/u/kemmetdaniel)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 1:12am UTC](https://forums.kodeco.com/t/chapter-6-am-i-crazy-or-is-this-chapter-a-lurch/174185 "2022-07-01T01:12:37Z")

</div>

Hey all, So I’m not quite sure what to do with chapter 6. It seems based on a bunch of advanced concepts that are going to be explained later in the book so my experience with it is basically just kinda ramming through …

---

## [Ch 22 Google Auth - {"error":true,"reason":"Value required for key 'access\_token'."}](https://forums.kodeco.com/t/ch-22-google-auth-error-true-reason-value-required-for-key-access-token/67311)

<div class="topic-metadata">

**Author:** [@viper827](https://forums.kodeco.com/u/viper827)\
**Replies:** 11\
**Last updated:** [July 1, 2022, 12:22am UTC](https://forums.kodeco.com/t/ch-22-google-auth-error-true-reason-value-required-for-key-access-token/67311 "2022-07-01T00:22:30Z")

</div>

I am getting the following error at the final Run in the chapter. {"error":true,"reason":"Value required for key 'access\_token'."} I tried everything I could think of in my own code. Then I loaded up the starter projec…

---

## [Type erasure with AnySequence](https://forums.kodeco.com/t/type-erasure-with-anysequence/174082)

<div class="topic-metadata">

**Author:** [@shioramashvili](https://forums.kodeco.com/u/shioramashvili)\
**Replies:** 1\
**Last updated:** [June 30, 2022, 2:02pm UTC](https://forums.kodeco.com/t/type-erasure-with-anysequence/174082 "2022-06-30T14:02:10Z")

</div>

“Although it hides implementation complexity, there’s a minor penalty to this extra indirection. For example, if you wrap an Array in AnySequence (or AnyCollection ), you’ll no longer be able to access the contiguous sto…

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

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