# 📚 Official Books

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

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

**Page:** 13

---

## [Errata for Flutter Apprentice 3rd Edition](https://forums.kodeco.com/t/errata-for-flutter-apprentice-3rd-edition/178204)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 7\
**Last updated:** [June 21, 2023, 6:05am UTC](https://forums.kodeco.com/t/errata-for-flutter-apprentice-3rd-edition/178204 "2023-06-21T06:05:29Z")

</div>

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

---

## [Errata for Data Structures & Algorithms in Dart 2nd Edition](https://forums.kodeco.com/t/errata-for-data-structures-algorithms-in-dart-2nd-edition/188507)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0\
**Last updated:** [June 21, 2023, 12:00am UTC](https://forums.kodeco.com/t/errata-for-data-structures-algorithms-in-dart-2nd-edition/188507 "2023-06-21T00:00:57Z")

</div>

Creating this topic to catch any typos and bugs in the 2nd Edition of Data Structures & Algorithms in Dart.

---

## [Typos in the book](https://forums.kodeco.com/t/typos-in-the-book/188505)

<div class="topic-metadata">

**Author:** [@hashem](https://forums.kodeco.com/u/hashem)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 7:05pm UTC](https://forums.kodeco.com/t/typos-in-the-book/188505 "2023-06-20T19:05:43Z")

</div>

Hi Good, I have read the book and collected some typos. screenshots attached. please review. As I’m restricted to upload images, I have added a link to review: Thanks

---

## [Chapter 11: Beginning AppKit "AppDelegate is a subclass of NSApplicationDelegate"](https://forums.kodeco.com/t/chapter-11-beginning-appkit-appdelegate-is-a-subclass-of-nsapplicationdelegate/188461)

<div class="topic-metadata">

**Author:** [@kylinroc](https://forums.kodeco.com/u/kylinroc)\
**Replies:** 2\
**Last updated:** [June 19, 2023, 11:41pm UTC](https://forums.kodeco.com/t/chapter-11-beginning-appkit-appdelegate-is-a-subclass-of-nsapplicationdelegate/188461 "2023-06-19T23:41:41Z")

</div>

AppDelegate is not a subclass of NSApplicationDelegate, it conforms to NSApplicationDelegate protocol.

---

## [Chapter 21: Finding Podcasts - Crash at launch](https://forums.kodeco.com/t/chapter-21-finding-podcasts-crash-at-launch/188473)

<div class="topic-metadata">

**Author:** [@ahmeds](https://forums.kodeco.com/u/ahmeds)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 7:15pm UTC](https://forums.kodeco.com/t/chapter-21-finding-podcasts-crash-at-launch/188473 "2023-06-19T19:15:05Z")

</div>

Link to the project App crashes at launch with the following error: FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start activity ComponentInfo{com.raywenderlich.podplay/com.raywenderlich.podplay.PodcastAc…

---

## [Describing SwiftUI and AppKit as "layout framework" is kind of weird](https://forums.kodeco.com/t/describing-swiftui-and-appkit-as-layout-framework-is-kind-of-weird/188460)

<div class="topic-metadata">

**Author:** [@kylinroc](https://forums.kodeco.com/u/kylinroc)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 6:44pm UTC](https://forums.kodeco.com/t/describing-swiftui-and-appkit-as-layout-framework-is-kind-of-weird/188460 "2023-06-19T18:44:36Z")

</div>

Maybe using “UI framework”?

---

## [Chapter 11 - Networking Error](https://forums.kodeco.com/t/chapter-11-networking-error/183581)

<div class="topic-metadata">

**Author:** [@chuckmcknight](https://forums.kodeco.com/u/chuckmcknight)\
**Replies:** 5\
**Last updated:** [June 19, 2023, 6:00pm UTC](https://forums.kodeco.com/t/chapter-11-networking-error/183581 "2023-06-19T18:00:50Z")

</div>

Greetings, I am working through Chapter 11, and I’m unable to connect to the service via the app (the error is Failed Connection). I have validated the GET command using curl and that works as expected. I printed out th…

---

## [How to use WCSession to update WidgetKit?](https://forums.kodeco.com/t/how-to-use-wcsession-to-update-widgetkit/188469)

<div class="topic-metadata">

**Author:** [@idttm](https://forums.kodeco.com/u/idttm)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 3:35pm UTC](https://forums.kodeco.com/t/how-to-use-wcsession-to-update-widgetkit/188469 "2023-06-19T15:35:07Z")

</div>

I have a project on watchOS with Complications. Right now it works like this in ClockKit, when the app is not running on the watch, transferCurrentComplicationUserInfo the method is utilized to manage the transfer of us…

---

## [\[Share\] Interesting behaviour for mixin](https://forums.kodeco.com/t/share-interesting-behaviour-for-mixin/183803)

<div class="topic-metadata">

**Author:** [@ellery](https://forums.kodeco.com/u/ellery)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 10:15am UTC](https://forums.kodeco.com/t/share-interesting-behaviour-for-mixin/183803 "2023-06-19T10:15:38Z")

</div>

Hi I would like to share an interesting behaviour below: See the code: mixin EggLayer { void layEggs() { print('Plop plop'); } } mixin Flyer { void fly() { print('Swoosh swoosh'); } } abstract cla…

---

## [Errata for Dart Apprentice: Fundamentals 1st Edition](https://forums.kodeco.com/t/errata-for-dart-apprentice-fundamentals-1st-edition/180575)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 15\
**Last updated:** [January 25, 2023, 3:32pm UTC](https://forums.kodeco.com/t/errata-for-dart-apprentice-fundamentals-1st-edition/180575 "2023-01-25T15:32:03Z")

</div>

Creating this topic to catch any typos and bugs in the 1st Edition of Dart Apprentice: Fundamentals

---

## [Constraints for notched phones](https://forums.kodeco.com/t/constraints-for-notched-phones/183372)

<div class="topic-metadata">

**Author:** [@tahjs](https://forums.kodeco.com/u/tahjs)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 11:04am UTC](https://forums.kodeco.com/t/constraints-for-notched-phones/183372 "2023-06-16T11:04:03Z")

</div>

So i am following along with the textbook and on chapter 8 where we have to account for the iphones with notches, the book wan’t us to change the background constraints to superview for horizontal and vertical. But th…

---

## [Select SQL query for the fluent-postgres-driver with bindings](https://forums.kodeco.com/t/select-sql-query-for-the-fluent-postgres-driver-with-bindings/188164)

<div class="topic-metadata">

**Author:** [@kuzminnn](https://forums.kodeco.com/u/kuzminnn)\
**Replies:** 3\
**Last updated:** [June 16, 2023, 6:54am UTC](https://forums.kodeco.com/t/select-sql-query-for-the-fluent-postgres-driver-with-bindings/188164 "2023-06-16T06:54:42Z")

</div>

Hello everyone! I do not understand how to put bindings properly in SQL query in my Vapor project. Always I just get 500 error. I add them as ‘PostgresData’, then put after query SQL. It looks like this: // PostgreS…

---

## [Errata for macOS by Tutorials, 1st Edition](https://forums.kodeco.com/t/errata-for-macos-by-tutorials-1st-edition/168842)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 20\
**Last updated:** [June 15, 2023, 4:52am UTC](https://forums.kodeco.com/t/errata-for-macos-by-tutorials-1st-edition/168842 "2023-06-15T04:52:52Z")

</div>

Creating this topic to catch any typos and bugs in the 1st Edition of macOS by Tutorials.

---

## [Favqs signup is not working](https://forums.kodeco.com/t/favqs-signup-is-not-working/183317)

<div class="topic-metadata">

**Author:** [@niraj33](https://forums.kodeco.com/u/niraj33)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 4:29pm UTC](https://forums.kodeco.com/t/favqs-signup-is-not-working/183317 "2023-06-12T16:29:37Z")

</div>

While signup it is showing (500 Internal Server Error) I couldn\`t be able to proceed further. Help please

---

## [Environments (Dev/Test/Stage/Prod)](https://forums.kodeco.com/t/environments-dev-test-stage-prod/183270)

<div class="topic-metadata">

**Author:** [@shahil7685](https://forums.kodeco.com/u/shahil7685)\
**Replies:** 4\
**Last updated:** [June 12, 2023, 4:19pm UTC](https://forums.kodeco.com/t/environments-dev-test-stage-prod/183270 "2023-06-12T16:19:43Z")

</div>

Well first of all thank you for this brilliant book. This is the exact book that I have always looked for when I actually wanted to work on a project after learning. The only thing missing here is the creation of the d…

---

## [Size of app after using a package like (intl) in more than one package](https://forums.kodeco.com/t/size-of-app-after-using-a-package-like-intl-in-more-than-one-package/183262)

<div class="topic-metadata">

**Author:** [@yousef\_mo](https://forums.kodeco.com/u/yousef_mo)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 3:58pm UTC](https://forums.kodeco.com/t/size-of-app-after-using-a-package-like-intl-in-more-than-one-package/183262 "2023-06-12T15:58:01Z")

</div>

I want to ask a question about for example if I want to use a package like flutter\_screenutil I will need to add a package in pubspec for main and component\_library and features will this affect the total size of the app…

---

## [My first few thoughts about record, pattern and class modifier](https://forums.kodeco.com/t/my-first-few-thoughts-about-record-pattern-and-class-modifier/188203)

<div class="topic-metadata">

**Author:** [@ellery](https://forums.kodeco.com/u/ellery)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 7:59am UTC](https://forums.kodeco.com/t/my-first-few-thoughts-about-record-pattern-and-class-modifier/188203 "2023-06-12T07:59:15Z")

</div>

Here are some thoughts after reading the documentation, I am not intend to be original and any examples are dedicated to their original authors. Records Reference doc: Records The documentation may be somewhat insuffic…

---

## [GPU-driven for dynamic scenes? (Chap. 26)](https://forums.kodeco.com/t/gpu-driven-for-dynamic-scenes-chap-26/187822)

<div class="topic-metadata">

**Author:** [@spamheat](https://forums.kodeco.com/u/spamheat)\
**Replies:** 9\
**Last updated:** [June 11, 2023, 9:58pm UTC](https://forums.kodeco.com/t/gpu-driven-for-dynamic-scenes-chap-26/187822 "2023-06-11T21:58:32Z")

</div>

Hi there, I’ve been experimenting with different approaches to rendering, currently something similar to Chapter 26 GPU-Driven rendering. Unlike the more traditional approach, it doesn’t appear to lend itself well to th…

---

## [Dart 3 Released!](https://forums.kodeco.com/t/dart-3-released/187270)

<div class="topic-metadata">

**Author:** [@ellery](https://forums.kodeco.com/u/ellery)\
**Replies:** 2\
**Last updated:** [June 11, 2023, 3:25pm UTC](https://forums.kodeco.com/t/dart-3-released/187270 "2023-06-11T15:25:17Z")

</div>

Dart 3 Released! Dart 3 is released with new flutter version. Quick overview Flutter at Google I/O 2023 in 5 minutes: https://youtu.be/a0Da8TNMTyM Dart new feature blog post: Announcing Dart 3. 100% sound null safety. …

---

## [How KVO options really works (.old and .new)?](https://forums.kodeco.com/t/how-kvo-options-really-works-old-and-new/188179)

<div class="topic-metadata">

**Author:** [@gugapc](https://forums.kodeco.com/u/gugapc)\
**Replies:** 0\
**Last updated:** [June 10, 2023, 5:16pm UTC](https://forums.kodeco.com/t/how-kvo-options-really-works-old-and-new/188179 "2023-06-10T17:16:55Z")

</div>

I don’t understand how .old and .new options work. Would anyone have an example to show?

---

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

<div class="topic-metadata">

**Author:** [@kemmetdaniel](https://forums.kodeco.com/u/kemmetdaniel)\
**Replies:** 2\
**Last updated:** [June 10, 2023, 6:37am UTC](https://forums.kodeco.com/t/chapter-12-feedback/181071 "2023-06-10T06:37:34Z")

</div>

I’m not sure what the thinking is here. You show us a package that requires a lot of advanced features, form the perspective of a learner, like generic classes, you show us how to use only one HTTP verb, There’s code th…

---

## [Typo in Chapter 11?](https://forums.kodeco.com/t/typo-in-chapter-11/182915)

<div class="topic-metadata">

**Author:** [@yunwoos](https://forums.kodeco.com/u/yunwoos)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 11:53am UTC](https://forums.kodeco.com/t/typo-in-chapter-11/182915 "2023-06-09T11:53:28Z")

</div>

Open GuitarViewModel.swift should be “BuildViewModel”?

---

## [Chapter 6: Building Features - Search](https://forums.kodeco.com/t/chapter-6-building-features-search/188064)

<div class="topic-metadata">

**Author:** [@wessoll](https://forums.kodeco.com/u/wessoll)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 11:15pm UTC](https://forums.kodeco.com/t/chapter-6-building-features-search/188064 "2023-06-08T23:15:53Z")

</div>

Besides testing whether the filters themselves work or not, it seems equally or even more important whether you get the search results you’re asking for. How would you unit test the filter/ searchText on the animals resu…

---

## [Chapter 4: Defining the Data Layer](https://forums.kodeco.com/t/chapter-4-defining-the-data-layer/188030)

<div class="topic-metadata">

**Author:** [@wessoll](https://forums.kodeco.com/u/wessoll)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 11:00pm UTC](https://forums.kodeco.com/t/chapter-4-defining-the-data-layer/188030 "2023-06-08T23:00:47Z")

</div>

I’ve been using CoreData myself for a few years now and thought it’s a great example where you have the managed objects being separated from the structs. In theory you would be able to use these structs throughout your a…

---

## [It is not possible to scroll the table of contents when reading in the browser](https://forums.kodeco.com/t/it-is-not-possible-to-scroll-the-table-of-contents-when-reading-in-the-browser/188071)

<div class="topic-metadata">

**Author:** [@exchessplayerh](https://forums.kodeco.com/u/exchessplayerh)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 11:04pm UTC](https://forums.kodeco.com/t/it-is-not-possible-to-scroll-the-table-of-contents-when-reading-in-the-browser/188071 "2023-06-07T23:04:22Z")

</div>

This is not unique to this book however. But when reading this book, latest chapters are not visible in TOC. The only solution is to make browser smaller or to go to info page of the book. It is kind of annoying. In add…

---

## [Use of .read in fragment function for MTLTexture](https://forums.kodeco.com/t/use-of-read-in-fragment-function-for-mtltexture/187807)

<div class="topic-metadata">

**Author:** [@stewy](https://forums.kodeco.com/u/stewy)\
**Replies:** 3\
**Last updated:** [June 7, 2023, 12:56am UTC](https://forums.kodeco.com/t/use-of-read-in-fragment-function-for-mtltexture/187807 "2023-06-07T00:56:59Z")

</div>

You didn’t explain using .read in the fragment function to render the textures on the quad. Specifically, in.position is float4, so why is in.position.xy cast as uint2, apparently to read the texture pixels? uint2 coord…

---

## [Chapter 31: Is triple buffering needed when using setVertexBytes?](https://forums.kodeco.com/t/chapter-31-is-triple-buffering-needed-when-using-setvertexbytes/187891)

<div class="topic-metadata">

**Author:** [@kuanyong](https://forums.kodeco.com/u/kuanyong)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 12:52am UTC](https://forums.kodeco.com/t/chapter-31-is-triple-buffering-needed-when-using-setvertexbytes/187891 "2023-06-07T00:52:54Z")

</div>

Chapter 31 uses the example of updating Uniforms every frame to highlight the need for triple buffering to avoid race conditions. However, the code uses encoder.setVertexBytes to pass the uniforms to the GPU, which if I…

---

## [Errata for Swift Apprentice: Beyond the Basics 1st Edition](https://forums.kodeco.com/t/errata-for-swift-apprentice-beyond-the-basics-1st-edition/188052)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0\
**Last updated:** [June 7, 2023, 12:00am UTC](https://forums.kodeco.com/t/errata-for-swift-apprentice-beyond-the-basics-1st-edition/188052 "2023-06-07T00:00:08Z")

</div>

Creating this topic to catch any typos and bugs in the 1st Edition of Swift Apprentice: Beyond the Basics.

---

## [Error while building: "Command PhaseScriptExecution failed with a nonzero exit code"](https://forums.kodeco.com/t/error-while-building-command-phasescriptexecution-failed-with-a-nonzero-exit-code/100497)

<div class="topic-metadata">

**Author:** [@gcg](https://forums.kodeco.com/u/gcg)\
**Replies:** 10\
**Last updated:** [June 3, 2023, 7:29am UTC](https://forums.kodeco.com/t/error-while-building-command-phasescriptexecution-failed-with-a-nonzero-exit-code/100497 "2023-06-03T07:29:05Z")

</div>

After downloading the sample projects, I tried to run them. But the build failed with a “Command PhaseScriptExecution failed with a nonzero exit code” error message. The steps described in this post solved it. (just ign…

---

## [Chapter 2, Styling your app theme not working properly](https://forums.kodeco.com/t/chapter-2-styling-your-app-theme-not-working-properly/187689)

<div class="topic-metadata">

**Author:** [@mil1](https://forums.kodeco.com/u/mil1)\
**Replies:** 1\
**Last updated:** [June 3, 2023, 6:19am UTC](https://forums.kodeco.com/t/chapter-2-styling-your-app-theme-not-working-properly/187689 "2023-06-03T06:19:39Z")

</div>

Hi, I’ve started to learn Flutter through the Flutter apprentice book. I’m on chapter 2, Styling your app. When I change the Widget build code, the title and primary theme colour disappear. Initailly I wrote the new c…

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

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