# 📚 Official Books

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

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

**Page:** 85

---

## [Ch. 8 PreferenceManager Deprecated](https://forums.kodeco.com/t/ch-8-preferencemanager-deprecated/85542)

<div class="topic-metadata">

**Author:** [@kdewitt](https://forums.kodeco.com/u/kdewitt)\
**Replies:** 3\
**Last updated:** [October 20, 2019, 11:18pm UTC](https://forums.kodeco.com/t/ch-8-preferencemanager-deprecated/85542 "2019-10-20T23:18:13Z")

</div>

Everything is working as described in the book but I’m wondering what changes I need to make to account for the deprecation of the PreferenceManager class. Amongst other things I tried importing androidx.preference.Pref…

---

## [Coordinator and UITabBarController](https://forums.kodeco.com/t/coordinator-and-uitabbarcontroller/69239)

<div class="topic-metadata">

**Author:** [@rastislv](https://forums.kodeco.com/u/rastislv)\
**Replies:** 6\
**Last updated:** [October 17, 2019, 4:44pm UTC](https://forums.kodeco.com/t/coordinator-and-uitabbarcontroller/69239 "2019-10-17T16:44:01Z")

</div>

Hi, i just ended chapter with coordinator and I am a little bit confused with differences between coordinators and routers. Also, when I am using UITabBarController should I initiate in appdelegaterouter or create it as …

---

## [Chapter 8: Collage - Clear Function fails](https://forums.kodeco.com/t/chapter-8-collage-clear-function-fails/84599)

<div class="topic-metadata">

**Author:** [@robsnow68](https://forums.kodeco.com/u/robsnow68)\
**Replies:** 2\
**Last updated:** [October 19, 2019, 9:31am UTC](https://forums.kodeco.com/t/chapter-8-collage-clear-function-fails/84599 "2019-10-19T09:31:03Z")

</div>

Loving the early release previews. In the Collage project, the clear function: @IBAction func actionClear() { images.send(\[\]) } …works perfectly when adding the single image. However, as soon as you subscribe to the…

---

## [In Chapter 11 I get an Error when a QRCode is detected](https://forums.kodeco.com/t/in-chapter-11-i-get-an-error-when-a-qrcode-is-detected/76973)

<div class="topic-metadata">

**Author:** [@perlguy](https://forums.kodeco.com/u/perlguy)\
**Replies:** 6\
**Last updated:** [October 18, 2019, 9:37am UTC](https://forums.kodeco.com/t/in-chapter-11-i-get-an-error-when-a-qrcode-is-detected/76973 "2019-10-18T09:37:28Z")

</div>

I’m still trying to find the cause of this issue, but I’m putting it out there in case others encounter it. I am right before the “Playing a video” section of the chapter, and when I run the code and detect a QRCode, I …

---

## [Initial problems in rxjava tutorial](https://forums.kodeco.com/t/initial-problems-in-rxjava-tutorial/85028)

<div class="topic-metadata">

**Author:** [@flatrocktech](https://forums.kodeco.com/u/flatrocktech)\
**Replies:** 1\
**Last updated:** [October 17, 2019, 8:03pm UTC](https://forums.kodeco.com/t/initial-problems-in-rxjava-tutorial/85028 "2019-10-17T20:03:04Z")

</div>

on page 209, i think there is problem of PublishSubject initialize val sourceObservable = PublishSubject\<String\>() // correct : PublishSubject.create\<String\>() sourceObservable.subscribe(buffer\_1) sourceObservable …

---

## [SoyBoy save times function](https://forums.kodeco.com/t/soyboy-save-times-function/82031)

<div class="topic-metadata">

**Author:** [@ghostwolf](https://forums.kodeco.com/u/ghostwolf)\
**Replies:** 2\
**Last updated:** [October 17, 2019, 5:24pm UTC](https://forums.kodeco.com/t/soyboy-save-times-function/82031 "2019-10-17T17:24:42Z")

</div>

For some reason when I build the game and play the times will not save. If I play the game in unity it does. The strange thing is that if I go back to the build version the times show up and it write new ones. I was wond…

---

## [Trying to use pool in Kitura server app](https://forums.kodeco.com/t/trying-to-use-pool-in-kitura-server-app/81091)

<div class="topic-metadata">

**Author:** [@garths](https://forums.kodeco.com/u/garths)\
**Replies:** 5\
**Last updated:** [October 16, 2019, 5:49pm UTC](https://forums.kodeco.com/t/trying-to-use-pool-in-kitura-server-app/81091 "2019-10-16T17:49:21Z")

</div>

In application the app class you are calling Persistence.setUp(). But you are not passing “pool” var out of it. So in my application when I want to use SwiftKuery raw sql and access the pool for a connection there does…

---

## [Chapter 29: WebSockets](https://forums.kodeco.com/t/chapter-29-websockets/80685)

<div class="topic-metadata">

**Author:** [@kasimok](https://forums.kodeco.com/u/kasimok)\
**Replies:** 2\
**Last updated:** [October 15, 2019, 12:54pm UTC](https://forums.kodeco.com/t/chapter-29-websockets/80685 "2019-10-15T12:54:20Z")

</div>

Really appreciate the book, I have been writing robust server side swift code backed by your unittest demos. However when I try to do TDD to implement chat component based on the websockets. I met some trouble: I have …

---

## [Initial problems with Kitura tutorial dyld: Library not loaded:](https://forums.kodeco.com/t/initial-problems-with-kitura-tutorial-dyld-library-not-loaded/76069)

<div class="topic-metadata">

**Author:** [@greg\_s](https://forums.kodeco.com/u/greg_s)\
**Replies:** 5\
**Last updated:** [October 15, 2019, 7:02am UTC](https://forums.kodeco.com/t/initial-problems-with-kitura-tutorial-dyld-library-not-loaded/76069 "2019-10-15T07:02:35Z")

</div>

My Mac runs Mojave 10.14.5. with Xcode 10.2.1 and Swift 4.2. As I worked through the Kitura Tutorial: Getting Started With Server-Side Swift I got an error message after following the instructions (below) so I must be …

---

## [UIViewRepresentable code does not work - Chapter 4](https://forums.kodeco.com/t/uiviewrepresentable-code-does-not-work-chapter-4/84337)

<div class="topic-metadata">

**Author:** [@createch](https://forums.kodeco.com/u/createch)\
**Replies:** 5\
**Last updated:** [October 15, 2019, 6:57am UTC](https://forums.kodeco.com/t/uiviewrepresentable-code-does-not-work-chapter-4/84337 "2019-10-15T06:57:26Z")

</div>

The UIViewRepresentable code does not work as outlined in Chapter 4. The binding give all sorts of errors. This is how I solved the problem and it is now working. I reference the ColorUISlider in the Coordinator by w…

---

## [Is ARKit By Tutorial still useable, or is there an update?](https://forums.kodeco.com/t/is-arkit-by-tutorial-still-useable-or-is-there-an-update/75297)

<div class="topic-metadata">

**Author:** [@zoran](https://forums.kodeco.com/u/zoran)\
**Replies:** 12\
**Last updated:** [October 15, 2019, 2:36am UTC](https://forums.kodeco.com/t/is-arkit-by-tutorial-still-useable-or-is-there-an-update/75297 "2019-10-15T02:36:01Z")

</div>

i am looking at buying the ARKit by Tutorial however it is for Swift 4.2. my current XCode swift version is 5 and I think ARKit is up to 3 now. will this book still work in relation to coding in it or is there a lot of d…

---

## [Chapter 1, page 32, xocde 10.3, mojavi(10.14.6(18G95)](https://forums.kodeco.com/t/chapter-1-page-32-xocde-10-3-mojavi-10-14-6-18g95/80831)

<div class="topic-metadata">

**Author:** [@hyegon](https://forums.kodeco.com/u/hyegon)\
**Replies:** 2\
**Last updated:** [October 15, 2019, 2:16am UTC](https://forums.kodeco.com/t/chapter-1-page-32-xocde-10-3-mojavi-10-14-6-18g95/80831 "2019-10-15T02:16:25Z")

</div>

cmd run ? lldb) po \[$rdi setHidden:!(BOOL)\[$rdi isHidden\]\]; \[CATransaction flush\] error: Execution was interrupted, reason: EXC\_BAD\_ACCESS (code=1, address=0xc0000000020). Solution??

---

## [Coroutines no longer experimental](https://forums.kodeco.com/t/coroutines-no-longer-experimental/64099)

<div class="topic-metadata">

**Author:** [@tokyomike55](https://forums.kodeco.com/u/tokyomike55)\
**Replies:** 5\
**Last updated:** [October 15, 2019, 1:18am UTC](https://forums.kodeco.com/t/coroutines-no-longer-experimental/64099 "2019-10-15T01:18:15Z")

</div>

Hi guys, Your chapter on Coroutines appears to be outdated. With Kotlin 1.3, coroutines is no longer experimental and nothing in the book (starter / finish) is working. When will there be an update?

---

## [Any update for this book?](https://forums.kodeco.com/t/any-update-for-this-book/81826)

<div class="topic-metadata">

**Author:** [@yangwulong1978](https://forums.kodeco.com/u/yangwulong1978)\
**Replies:** 4\
**Last updated:** [October 15, 2019, 12:57am UTC](https://forums.kodeco.com/t/any-update-for-this-book/81826 "2019-10-15T00:57:04Z")

</div>

any update for this book?

---

## [Chapter 36 - Tmp image](https://forums.kodeco.com/t/chapter-36-tmp-image/82073)

<div class="topic-metadata">

**Author:** [@rlau8530](https://forums.kodeco.com/u/rlau8530)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 11:21pm UTC](https://forums.kodeco.com/t/chapter-36-tmp-image/82073 "2019-10-14T23:21:15Z")

</div>

I am currently at chapter 36. When I scroll down the table and scroll up again, the previous loaded images have to be downloaded again. May I know how to keep those images until users kill the app? Many thanks! R…

---

## [Help with internationalization in StoreSearch](https://forums.kodeco.com/t/help-with-internationalization-in-storesearch/82004)

<div class="topic-metadata">

**Author:** [@coder\_rgv7](https://forums.kodeco.com/u/coder_rgv7)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 11:10pm UTC](https://forums.kodeco.com/t/help-with-internationalization-in-storesearch/82004 "2019-10-14T23:10:05Z")

</div>

Hi, I’m currently doing StoreSearch from iOS Apprentice. I’m on Chapter 41 (Internationalization) currently, and am on the part where the type property definition is changed to make it update based on Localizable.strings …

---

## [17-working-with-blend-shapes final project](https://forums.kodeco.com/t/17-working-with-blend-shapes-final-project/81969)

<div class="topic-metadata">

**Author:** [@htaiwan](https://forums.kodeco.com/u/htaiwan)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 11:02pm UTC](https://forums.kodeco.com/t/17-working-with-blend-shapes-final-project/81969 "2019-10-14T23:02:41Z")

</div>

I run the final project, and check the pig or woot button It doesn’t work. Is there anything I missed ??

---

## [Change header section color when deleting the cell](https://forums.kodeco.com/t/change-header-section-color-when-deleting-the-cell/80274)

<div class="topic-metadata">

**Author:** [@mcneils](https://forums.kodeco.com/u/mcneils)\
**Replies:** 4\
**Last updated:** [October 14, 2019, 10:30pm UTC](https://forums.kodeco.com/t/change-header-section-color-when-deleting-the-cell/80274 "2019-10-14T22:30:53Z")

</div>

When deleting a cell in the location details view controller that will also remove the section header. There is a grey background-color that gets. Any tips on how to go about changing the color opacity to 0?

---

## [Sealed Classes Example](https://forums.kodeco.com/t/sealed-classes-example/84192)

<div class="topic-metadata">

**Author:** [@chuck\_taylor](https://forums.kodeco.com/u/chuck_taylor)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 9:50pm UTC](https://forums.kodeco.com/t/sealed-classes-example/84192 "2019-10-14T21:50:32Z")

</div>

I’m not understanding the example code found on page 238 Specifically, the code block under “And functions defined on Shape can distinguish between the different subtypes using a when expression:” fun size(shape: Shape…

---

## [UseCase for private for the constructor that has a subclass](https://forums.kodeco.com/t/usecase-for-private-for-the-constructor-that-has-a-subclass/83292)

<div class="topic-metadata">

**Author:** [@pgudivada](https://forums.kodeco.com/u/pgudivada)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 9:43pm UTC](https://forums.kodeco.com/t/usecase-for-private-for-the-constructor-that-has-a-subclass/83292 "2019-10-14T21:43:30Z")

</div>

On page 241 for the 2nd edition, super class User has a private member id. Subclass PrivilegedUser needs id. As id cannot be used within this subclass, does this kind of defining a private variable at the super class h…

---

## [\[Question\] how ? Or where should I run it? "(lldb) sys echo" $ (dclass -t swift) "| grep -v \_ | grep" \\. "| cut -d. f1 | uniq | wc -l (Page 28 Line 16)](https://forums.kodeco.com/t/question-how-or-where-should-i-run-it-lldb-sys-echo-dclass-t-swift-grep-v-grep-cut-d-f1-uniq-wc-l-page-28-line-16/80678)

<div class="topic-metadata">

**Author:** [@hyegon](https://forums.kodeco.com/u/hyegon)\
**Replies:** 2\
**Last updated:** [October 14, 2019, 9:04pm UTC](https://forums.kodeco.com/t/question-how-or-where-should-i-run-it-lldb-sys-echo-dclass-t-swift-grep-v-grep-cut-d-f1-uniq-wc-l-page-28-line-16/80678 "2019-10-14T21:04:11Z")

</div>

hi …! The following is part of the book. Page 28 … Line 14 ~ … !! When run from the following command lldb There is no sys command. how ? Or where should I run it? “(lldb) sys echo” $ (dclass -t swift) “| grep -v \_…

---

## [ldb python script run?](https://forums.kodeco.com/t/ldb-python-script-run/80826)

<div class="topic-metadata">

**Author:** [@hyegon](https://forums.kodeco.com/u/hyegon)\
**Replies:** 2\
**Last updated:** [October 14, 2019, 9:03pm UTC](https://forums.kodeco.com/t/ldb-python-script-run/80826 "2019-10-14T21:03:08Z")

</div>

link: GitHub - DerekSelander/LLDB: A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions Below is the execution result. (lldb) command script import ~ / Users / gimhyegon\_dev / lldb\_…

---

## [Where to download the file and run the app?](https://forums.kodeco.com/t/where-to-download-the-file-and-run-the-app/80463)

<div class="topic-metadata">

**Author:** [@andrewpham74](https://forums.kodeco.com/u/andrewpham74)\
**Replies:** 8\
**Last updated:** [October 14, 2019, 8:46pm UTC](https://forums.kodeco.com/t/where-to-download-the-file-and-run-the-app/80463 "2019-10-14T20:46:30Z")

</div>

Hi, I just finished reading the book to have an idea of the overall picture. Even though I am still new too Swift development, I has been able to get the local notification to work. As a continuation, I would like to ge…

---

## [Tutorial 3 MyLocations page 220 ' exercise](https://forums.kodeco.com/t/tutorial-3-mylocations-page-220-exercise/12028)

<div class="topic-metadata">

**Author:** [@iosgeek](https://forums.kodeco.com/u/iosgeek)\
**Replies:** 14\
**Last updated:** [October 14, 2019, 8:43pm UTC](https://forums.kodeco.com/t/tutorial-3-mylocations-page-220-exercise/12028 "2019-10-14T20:43:28Z")

</div>

What’s the solution? Thanks in advance

---

## [Issue chapter 15](https://forums.kodeco.com/t/issue-chapter-15/80647)

<div class="topic-metadata">

**Author:** [@lac\_ekim](https://forums.kodeco.com/u/lac_ekim)\
**Replies:** 5\
**Last updated:** [October 14, 2019, 7:43pm UTC](https://forums.kodeco.com/t/issue-chapter-15/80647 "2019-10-14T19:43:14Z")

</div>

“Open a new Finder window by clicking on the Desktop and typing ⌘+N (or, by clicking the Finder icon in your dock, if you have one.). Then press ⌘+Shift+G (or, select Go → Go to Folder… from the menu), copy the Documents…

---

## [Core Data and CloudKit](https://forums.kodeco.com/t/core-data-and-cloudkit/25482)

<div class="topic-metadata">

**Author:** [@createch](https://forums.kodeco.com/u/createch)\
**Replies:** 10\
**Last updated:** [October 14, 2019, 4:09pm UTC](https://forums.kodeco.com/t/core-data-and-cloudkit/25482 "2019-10-14T16:09:42Z")

</div>

I would really love to see a section on Core Data \<-\> CloudKit synchronization. This is something that I think many would find extremely useful. I want to build an iOS and a MacOS app that synchronizes data across devi…

---

## [Setting up certificates](https://forums.kodeco.com/t/setting-up-certificates/84864)

<div class="topic-metadata">

**Author:** [@jblakeharris](https://forums.kodeco.com/u/jblakeharris)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 3:04pm UTC](https://forums.kodeco.com/t/setting-up-certificates/84864 "2019-10-14T15:04:43Z")

</div>

Something that has likely changed at Apple recently makes Chapter 13 a bit misleading… you cannot register a new app with maccatalyst.com.\[…\]. Per an Apple dev forum, the certificate is now generated via editing the iOS …

---

## [Dependency Maps](https://forums.kodeco.com/t/dependency-maps/73984)

<div class="topic-metadata">

**Author:** [@ashitikov](https://forums.kodeco.com/u/ashitikov)\
**Replies:** 2\
**Last updated:** [October 10, 2019, 1:29pm UTC](https://forums.kodeco.com/t/dependency-maps/73984 "2019-10-10T13:29:25Z")

</div>

Hello, you announced that in chapter 13 there will be an instrument “Dependency maps”. Can you give some more details? Do you plan to use existing tool on market or you will show instrument created by your team?

---

## [Errors and crashes with final project in Chapter 17-Presentation Controller & Orientation Animations](https://forums.kodeco.com/t/errors-and-crashes-with-final-project-in-chapter-17-presentation-controller-orientation-animations/83542)

<div class="topic-metadata">

**Author:** [@jmclovin](https://forums.kodeco.com/u/jmclovin)\
**Replies:** 5\
**Last updated:** [October 10, 2019, 9:03am UTC](https://forums.kodeco.com/t/errors-and-crashes-with-final-project-in-chapter-17-presentation-controller-orientation-animations/83542 "2019-10-10T09:03:28Z")

</div>

I just downloaded the latest files for iOS Animations by Tutorials and have run into the following issues: On first run, it crashes on line 93 of ViewController.swift: let imageView = listView.viewWithTag(i) as! UIIma…

---

## [Errata for iOS Animations by Tutorials, 6th Edition](https://forums.kodeco.com/t/errata-for-ios-animations-by-tutorials-6th-edition/83652)

<div class="topic-metadata">

**Author:** [@chrisrazeware](https://forums.kodeco.com/u/chrisrazeware)\
**Replies:** 4\
**Last updated:** [October 10, 2019, 9:03am UTC](https://forums.kodeco.com/t/errata-for-ios-animations-by-tutorials-6th-edition/83652 "2019-10-10T09:03:09Z")

</div>

Found an issue in iOS Animations by Tutorials, 6th edition? Post it here!

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

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