# 📚 Official Books

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

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

**Page:** 27

---

## [\[Chapter 10: Lighting Fundamentals\] Suggest to change point size according to distance](https://forums.kodeco.com/t/chapter-10-lighting-fundamentals-suggest-to-change-point-size-according-to-distance/173709)

<div class="topic-metadata">

**Author:** [@nghiaphamsg](https://forums.kodeco.com/u/nghiaphamsg)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 6:31am UTC](https://forums.kodeco.com/t/chapter-10-lighting-fundamentals-suggest-to-change-point-size-according-to-distance/173709 "2022-06-30T06:31:59Z")

</div>

Hi Team (This is just my suggestion, Team can skip it if it’s not really necessary) In the Point Lights and Spotlights section. I noticed that when I zoom out, the size of the point (Lights) is now bigger than the sphe…

---

## [Duplicate network request](https://forums.kodeco.com/t/duplicate-network-request/174043)

<div class="topic-metadata">

**Author:** [@dharit](https://forums.kodeco.com/u/dharit)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 1:11am UTC](https://forums.kodeco.com/t/duplicate-network-request/174043 "2022-06-29T01:11:40Z")

</div>

This a wonderful book with so much insight. I have one question that I hope some one can throw light on: How to handle duplicate network request through clean architecture? For instance, suppose if the same network reque…

---

## [Unregistered notification](https://forums.kodeco.com/t/unregistered-notification/141861)

<div class="topic-metadata">

**Author:** [@manuelking](https://forums.kodeco.com/u/manuelking)\
**Replies:** 10\
**Last updated:** [June 28, 2022, 11:03am UTC](https://forums.kodeco.com/t/unregistered-notification/141861 "2022-06-28T11:03:42Z")

</div>

When my app loads on the Ipad for the first time is fail to register with following com. If I update the app same results. This happened after moving to Chapter 7 and adding the API calls. I feel is it is Apple Certifi…

---

## [Chapter7 Time-ato application](https://forums.kodeco.com/t/chapter7-time-ato-application/169202)

<div class="topic-metadata">

**Author:** [@diuming](https://forums.kodeco.com/u/diuming)\
**Replies:** 13\
**Last updated:** [June 28, 2022, 8:15am UTC](https://forums.kodeco.com/t/chapter7-time-ato-application/169202 "2022-06-28T08:15:07Z")

</div>

The application Time-ato why not use SwiftUI?

---

## [Chapter 5 - Disadvantage of repeating parameter name in function name](https://forums.kodeco.com/t/chapter-5-disadvantage-of-repeating-parameter-name-in-function-name/173157)

<div class="topic-metadata">

**Author:** [@ellery](https://forums.kodeco.com/u/ellery)\
**Replies:** 3\
**Last updated:** [June 23, 2022, 9:58am UTC](https://forums.kodeco.com/t/chapter-5-disadvantage-of-repeating-parameter-name-in-function-name/173157 "2022-06-23T09:58:07Z")

</div>

Hi the recommended naming convention for function: Don’t repeat parameter names in the function name. For example, use cube(int number) instead of cubeNumber(int number), or printStudent(String name) instead of printStu…

---

## [Chapter 5 Challenge is too challenging](https://forums.kodeco.com/t/chapter-5-challenge-is-too-challenging/173714)

<div class="topic-metadata">

**Author:** [@hongfeiyang](https://forums.kodeco.com/u/hongfeiyang)\
**Replies:** 0\
**Last updated:** [June 23, 2022, 8:16am UTC](https://forums.kodeco.com/t/chapter-5-challenge-is-too-challenging/173714 "2022-06-23T08:16:43Z")

</div>

After reading through the source code of chapter 5, I feel that the challenge needs more hint for people to do it by themselves. It is a bit difficult to know what ViewValues does, and how to use it without any addition…

---

## [Small typo in Section 1.2: Saving a Sample Data Set](https://forums.kodeco.com/t/small-typo-in-section-1-2-saving-a-sample-data-set/171079)

<div class="topic-metadata">

**Author:** [@atfelix](https://forums.kodeco.com/u/atfelix)\
**Replies:** 20\
**Last updated:** [June 19, 2022, 3:13am UTC](https://forums.kodeco.com/t/small-typo-in-section-1-2-saving-a-sample-data-set/171079 "2022-06-19T03:13:44Z")

</div>

In Section 1.2, Subsection Working with the File System, there’s a small type about ⌘+0. It won’t necessarily open the project navigator. It will open the project navigator if you closed the left side of Xcode on the p…

---

## [Async/await case for UI tap event](https://forums.kodeco.com/t/async-await-case-for-ui-tap-event/173445)

<div class="topic-metadata">

**Author:** [@rpfitzgeraldstephen](https://forums.kodeco.com/u/rpfitzgeraldstephen)\
**Replies:** 0\
**Last updated:** [June 18, 2022, 1:59pm UTC](https://forums.kodeco.com/t/async-await-case-for-ui-tap-event/173445 "2022-06-18T13:59:39Z")

</div>

in view did load I’d like write the following code. let (view1, tapButton1) = Self.makeView1() let (view2, tapButton2) = Self.makeView2() let (view3, tapButton3) = Self.makeView3() Task { await showAnimat…

---

## [PDF version with Paperback](https://forums.kodeco.com/t/pdf-version-with-paperback/117658)

<div class="topic-metadata">

**Author:** [@egyhenger](https://forums.kodeco.com/u/egyhenger)\
**Replies:** 5\
**Last updated:** [June 18, 2022, 1:30pm UTC](https://forums.kodeco.com/t/pdf-version-with-paperback/117658 "2022-06-18T13:30:36Z")

</div>

Hello Everyone, I am planning to purchase a paperback version of this book from amazon.co.uk. Will I have access to PDF version too? Regards Tamas

---

## [Paperback and PDF version](https://forums.kodeco.com/t/paperback-and-pdf-version/173436)

<div class="topic-metadata">

**Author:** [@stblack](https://forums.kodeco.com/u/stblack)\
**Replies:** 1\
**Last updated:** [June 18, 2022, 10:31am UTC](https://forums.kodeco.com/t/paperback-and-pdf-version/173436 "2022-06-18T10:31:26Z")

</div>

Hi, is it confirmed that if you buy the paperback version of the book you don’t have included the access to the pdf version of the book? Thanks

---

## [Task cancellation](https://forums.kodeco.com/t/task-cancellation/173356)

<div class="topic-metadata">

**Author:** [@rpfitzgeraldstephen](https://forums.kodeco.com/u/rpfitzgeraldstephen)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 5:22am UTC](https://forums.kodeco.com/t/task-cancellation/173356 "2022-06-17T05:22:57Z")

</div>

import UIKit import \_Concurrency class Tester { init() { } var task: Task\<Void, Never\>? deinit { print("deinit") } func dosomething() { print("111") task = Task { …

---

## [Value & Object Animators - Challenge 1: Animate the title and rating](https://forums.kodeco.com/t/value-object-animators-challenge-1-animate-the-title-and-rating/165930)

<div class="topic-metadata">

**Author:** [@ericlam](https://forums.kodeco.com/u/ericlam)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 3:50am UTC](https://forums.kodeco.com/t/value-object-animators-challenge-1-animate-the-title-and-rating/165930 "2022-06-13T03:50:31Z")

</div>

Hi, I am trying to animate the title follow the implementation of animateBackdrop Here is my code: private fun animateTitle() { val finalY = binding.title.y val startY = finalY.minus(40) bi…

---

## [Combining operators in practice](https://forums.kodeco.com/t/combining-operators-in-practice/172867)

<div class="topic-metadata">

**Author:** [@boguser](https://forums.kodeco.com/u/boguser)\
**Replies:** 3\
**Last updated:** [June 12, 2022, 12:50am UTC](https://forums.kodeco.com/t/combining-operators-in-practice/172867 "2022-06-12T00:50:56Z")

</div>

Hi in this chapter happen this exception, its happen both starter and final chapters Hostname eonet.sci.gsfc.nasa.gov not verified: certificate: sha256/SJLWDH6dCHcFeREKnQNagNQn+mU+XzFtDwam4DxZ21A= DN: CN=eonet.gsfc.n…

---

## [Ch9. When to use startSearch() method?](https://forums.kodeco.com/t/ch9-when-to-use-startsearch-method/157376)

<div class="topic-metadata">

**Author:** [@alilosoft](https://forums.kodeco.com/u/alilosoft)\
**Replies:** 2\
**Last updated:** [June 11, 2022, 3:41am UTC](https://forums.kodeco.com/t/ch9-when-to-use-startsearch-method/157376 "2022-06-11T03:41:59Z")

</div>

Hi apprentices :slight\_smile: In Chapter 9 → building the search TextField section: I’m curious why we didn’t use the startSearch() method for the onSubmitted callback in the search TextField. onSubmitted: (input) { …

---

## [Kotlin Apprentice 4th Edition](https://forums.kodeco.com/t/kotlin-apprentice-4th-edition/172926)

<div class="topic-metadata">

**Author:** [@freedom](https://forums.kodeco.com/u/freedom)\
**Replies:** 0\
**Last updated:** [June 10, 2022, 2:40pm UTC](https://forums.kodeco.com/t/kotlin-apprentice-4th-edition/172926 "2022-06-10T14:40:51Z")

</div>

@galata @vgonda Could you (or somebody else) tell when Kotlin Apprentice 4th Edition will be published? The last (3rd) edition covers Kotlin up to version 1.4 (August 17, 2020), and current Kotlin version is 1.7 (June …

---

## [macOS Ventura & Xcode 14](https://forums.kodeco.com/t/macos-ventura-xcode-14/172886)

<div class="topic-metadata">

**Author:** [@sarah](https://forums.kodeco.com/u/sarah)\
**Replies:** 1\
**Last updated:** [June 10, 2022, 11:49am UTC](https://forums.kodeco.com/t/macos-ventura-xcode-14/172886 "2022-06-10T11:49:04Z")

</div>

Hi everyone. I hope you are all enjoying the new goodies from WWDC 2022. I certainly am, although there are still a lot of videos I want to watch. I have installed the betas of macOS 13.0 (Ventura) and Xcode 14.0 and I…

---

## [Chapter 1 - about the file: pubspec.lock & .packages](https://forums.kodeco.com/t/chapter-1-about-the-file-pubspec-lock-packages/171760)

<div class="topic-metadata">

**Author:** [@ellery](https://forums.kodeco.com/u/ellery)\
**Replies:** 5\
**Last updated:** [June 9, 2022, 8:52am UTC](https://forums.kodeco.com/t/chapter-1-about-the-file-pubspec-lock-packages/171760 "2022-06-09T08:52:47Z")

</div>

Hi, I create a Dart project with Dart SDK 2.17.1, there are two more files: 1. pubspec.lock and .package. Could you also explain briefly what these files are?

---

## [Questions from Chapter 1,2](https://forums.kodeco.com/t/questions-from-chapter-1-2/172607)

<div class="topic-metadata">

**Author:** [@hawkz](https://forums.kodeco.com/u/hawkz)\
**Replies:** 6\
**Last updated:** [June 9, 2022, 8:20am UTC](https://forums.kodeco.com/t/questions-from-chapter-1-2/172607 "2022-06-09T08:20:36Z")

</div>

Hello am new. I recently purchased paperback Kotlin Apprentice and I have few doubts. I’m a beginner who knows little java. So please be patient if my questions are stupid. I tried running kotlin through command line.…

---

## [Chapter 10 missing flow](https://forums.kodeco.com/t/chapter-10-missing-flow/165523)

<div class="topic-metadata">

**Author:** [@doozy](https://forums.kodeco.com/u/doozy)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 3:38pm UTC](https://forums.kodeco.com/t/chapter-10-missing-flow/165523 "2022-06-07T15:38:54Z")

</div>

Hello Team, Great work and I hope you are doing well, in chapter 10 of the second edition as I was following along on page 186 as @subha sen takes as through the code we are supposed to add to QuestionActivity.kt every …

---

## [\[Chapter 18\] Clarification regarding the threadsPerGroup](https://forums.kodeco.com/t/chapter-18-clarification-regarding-the-threadspergroup/172683)

<div class="topic-metadata">

**Author:** [@harmansmith](https://forums.kodeco.com/u/harmansmith)\
**Replies:** 3\
**Last updated:** [June 7, 2022, 12:45pm UTC](https://forums.kodeco.com/t/chapter-18-clarification-regarding-the-threadspergroup/172683 "2022-06-07T12:45:11Z")

</div>

Hello! At the beginning of the chapter for the supportsFeatureSet(.iOS\_GPUFamily4\_v1) it is stated: let threadsPerGroup = MTLSize(width: 1, height: 1, depth: 1) It’s not a mistake? Why don’t we consider threadExecutio…

---

## [Chapter 6: Constructors](https://forums.kodeco.com/t/chapter-6-constructors/172662)

<div class="topic-metadata">

**Author:** [@likklepeace](https://forums.kodeco.com/u/likklepeace)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 11:00am UTC](https://forums.kodeco.com/t/chapter-6-constructors/172662 "2022-06-07T11:00:46Z")

</div>

Hi everyone, I’m trying to understand constructors and how I should categorise them in my brain. Does this diagram make any sense at all or is trying to chart constructors like this a futile mission?

---

## [There is an error at "Chapter 4: Watch Connectivity"](https://forums.kodeco.com/t/there-is-an-error-at-chapter-4-watch-connectivity/172585)

<div class="topic-metadata">

**Author:** [@layer](https://forums.kodeco.com/u/layer)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 1:20pm UTC](https://forums.kodeco.com/t/there-is-an-error-at-chapter-4-watch-connectivity/172585 "2022-06-06T13:20:35Z")

</div>

QR Codes: It should be “path”, not “absoluteString”, which will cause the QR code to not be seen.

---

## [Reading book is free with Ultimate Subscription but it's missing](https://forums.kodeco.com/t/reading-book-is-free-with-ultimate-subscription-but-its-missing/172581)

<div class="topic-metadata">

**Author:** [@fzuriekat](https://forums.kodeco.com/u/fzuriekat)\
**Replies:** 1\
**Last updated:** [June 5, 2022, 4:34pm UTC](https://forums.kodeco.com/t/reading-book-is-free-with-ultimate-subscription-but-its-missing/172581 "2022-06-05T16:34:19Z")

</div>

When I click the button to read free with Ultimate Subscription that appears here: https://www.raywenderlich.com/books/data-structures-algorithms-in-kotlin/ But it’s missing this type of subscription. Raywenderlich.co…

---

## [A question about optionals](https://forums.kodeco.com/t/a-question-about-optionals/172560)

<div class="topic-metadata">

**Author:** [@macteef](https://forums.kodeco.com/u/macteef)\
**Replies:** 2\
**Last updated:** [June 5, 2022, 3:21pm UTC](https://forums.kodeco.com/t/a-question-about-optionals/172560 "2022-06-05T15:21:27Z")

</div>

Consider this , let value = true print(value) —this will print true But I can also do this, print(true) it will print true. This is not the case with optionals. eg, let value: Int? = nil print(value) —this will pr…

---

## [Do I have an Account Manager role?](https://forums.kodeco.com/t/do-i-have-an-account-manager-role/172441)

<div class="topic-metadata">

**Author:** [@tchelyzt](https://forums.kodeco.com/u/tchelyzt)\
**Replies:** 2\
**Last updated:** [June 5, 2022, 11:11am UTC](https://forums.kodeco.com/t/do-i-have-an-account-manager-role/172441 "2022-06-05T11:11:42Z")

</div>

I’ve been developing apps for my own consumption/amusement for a while and running them on the simulator. These were loaded using an account based on my AppleID but I had not subscribed to the Developer Programme and my …

---

## [@State not updating when set via .init(\[...\]) parameter](https://forums.kodeco.com/t/state-not-updating-when-set-via-init-parameter/172536)

<div class="topic-metadata">

**Author:** [@ml1](https://forums.kodeco.com/u/ml1)\
**Replies:** 0\
**Last updated:** [June 4, 2022, 3:21pm UTC](https://forums.kodeco.com/t/state-not-updating-when-set-via-init-parameter/172536 "2022-06-04T15:21:53Z")

</div>

Hi, it seems that a @State variable in a View will not update (initialize to the new value) on subsequent calls to the Views .init method. In the example below (tested on macOS) the Text("internal: \\(\_internalNumber)") …

---

## [Chapter 2 - about checking type](https://forums.kodeco.com/t/chapter-2-about-checking-type/171913)

<div class="topic-metadata">

**Author:** [@ellery](https://forums.kodeco.com/u/ellery)\
**Replies:** 5\
**Last updated:** [June 2, 2022, 2:19pm UTC](https://forums.kodeco.com/t/chapter-2-about-checking-type/171913 "2022-06-02T14:19:23Z")

</div>

num someNumber = 3; if (someNumber is int) { print(someNumber.isEven); } Hi, I find that the above code can be run successfully and print false in the console. What’s going on inside? If I remove the condition…

---

## [A dismissed Dismissible widget is still part of the tree](https://forums.kodeco.com/t/a-dismissed-dismissible-widget-is-still-part-of-the-tree/172085)

<div class="topic-metadata">

**Author:** [@isuru](https://forums.kodeco.com/u/isuru)\
**Replies:** 5\
**Last updated:** [June 2, 2022, 1:18pm UTC](https://forums.kodeco.com/t/a-dismissed-dismissible-widget-is-still-part-of-the-tree/172085 "2022-06-02T13:18:42Z")

</div>

Hi, I’m working through the chapter 6’s adding Dismissible widget part. I can swipe to delete and it works fine. But if I tap on the + button right after, the app stop at the following exception A dismissed Dismissib…

---

## [Ambiguous Subscript](https://forums.kodeco.com/t/ambiguous-subscript/172219)

<div class="topic-metadata">

**Author:** [@jinkazama](https://forums.kodeco.com/u/jinkazama)\
**Replies:** 2\
**Last updated:** [June 1, 2022, 12:57am UTC](https://forums.kodeco.com/t/ambiguous-subscript/172219 "2022-06-01T00:57:59Z")

</div>

extension Array { subscript(i index: Int) -\> (String, String)? { guard let value = self\[index\] as? Int else { return nil } switch (value \>= 0, abs(value % 2)) { ca…

---

## [Errata for Catalyst by Tutorials 3rd Edition](https://forums.kodeco.com/t/errata-for-catalyst-by-tutorials-3rd-edition/172308)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0\
**Last updated:** [May 31, 2022, 11:39pm UTC](https://forums.kodeco.com/t/errata-for-catalyst-by-tutorials-3rd-edition/172308 "2022-05-31T23:39:46Z")

</div>

Creating this topic to catch any typos and bugs in the 3rdEdition of Catalyst by Tutorials.

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

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