# 📚 Official Books

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

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

**Page:** 120

---

## ["Hero" run animation will not work - Chap 4 - Solved by copying end of chapter files](https://forums.kodeco.com/t/hero-run-animation-will-not-work-chap-4-solved-by-copying-end-of-chapter-files/43560)

<div class="topic-metadata">

**Author:** [@buzzliteyr2018](https://forums.kodeco.com/u/buzzliteyr2018)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 10:34am UTC](https://forums.kodeco.com/t/hero-run-animation-will-not-work-chap-4-solved-by-copying-end-of-chapter-files/43560 "2018-06-15T10:34:34Z")

</div>

Hi there, Working through Chap 4 (pages 129-135) and I can’t figure out why my running animation does not want to work. It’s not the animation itself, since if I set the “run” in the “walk” or “idle” state, the charact…

---

## [Chapter 16 - 'Done' Button never active](https://forums.kodeco.com/t/chapter-16-done-button-never-active/43605)

<div class="topic-metadata">

**Author:** [@zubes](https://forums.kodeco.com/u/zubes)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 1:33am UTC](https://forums.kodeco.com/t/chapter-16-done-button-never-active/43605 "2018-06-15T01:33:31Z")

</div>

So I just completed Chapter 16 and when i run the simulator the ‘Done’ button on the add a checklist is never active. I’ve cross compared my code with the final code and I’ve checked my connections and it is indeed conne…

---

## [Errata for Chapter 2](https://forums.kodeco.com/t/errata-for-chapter-2/43531)

<div class="topic-metadata">

**Author:** [@victorsmelo](https://forums.kodeco.com/u/victorsmelo)\
**Replies:** 3\
**Last updated:** [June 14, 2018, 2:07pm UTC](https://forums.kodeco.com/t/errata-for-chapter-2/43531 "2018-06-14T14:07:52Z")

</div>

Hey guys! Thanks for the book. I am starting learning Vapor now, and I couldn’t find easiest content on internet than the Vapor Book you are developing. It’s awesome! I am reading the Chapter 2, and I found the situatio…

---

## [Writing 3D content creation tools in Metal](https://forums.kodeco.com/t/writing-3d-content-creation-tools-in-metal/43515)

<div class="topic-metadata">

**Author:** [@kikiwunder](https://forums.kodeco.com/u/kikiwunder)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 3:14am UTC](https://forums.kodeco.com/t/writing-3d-content-creation-tools-in-metal/43515 "2018-06-14T03:14:44Z")

</div>

Hi there! Really enjoying the book so far. I was wondering: Will part of a later tutorial involve camera control? Manipulation? I’d really love to make content creation tools using Metal and to have more of a groundin…

---

## [Animations paused by default?](https://forums.kodeco.com/t/animations-paused-by-default/42768)

<div class="topic-metadata">

**Author:** [@chemajuarez](https://forums.kodeco.com/u/chemajuarez)\
**Replies:** 3\
**Last updated:** [June 12, 2018, 4:47am UTC](https://forums.kodeco.com/t/animations-paused-by-default/42768 "2018-06-12T04:47:43Z")

</div>

Hi, in my project all the animations created in the sks files are paused by default at the beginning. If I programmatically set the property of this objects isPaused as true, works. But it’s annoying and in the examples…

---

## [UIView.animate() within a loop](https://forums.kodeco.com/t/uiview-animate-within-a-loop/43017)

<div class="topic-metadata">

**Author:** [@u3qu3oxyvflx](https://forums.kodeco.com/u/u3qu3oxyvflx)\
**Replies:** 3\
**Last updated:** [June 11, 2018, 3:21am UTC](https://forums.kodeco.com/t/uiview-animate-within-a-loop/43017 "2018-06-11T03:21:02Z")

</div>

I have an outlet collection. I want to animate changing their properties. Is it reasonable to put a animation within a loop? for outlet in outletCollection { UIView.animate(withDuration: 0.5, .... animati…

---

## [Header WenderLoonCore not found](https://forums.kodeco.com/t/header-wenderlooncore-not-found/20395)

<div class="topic-metadata">

**Author:** [@frijswijk](https://forums.kodeco.com/u/frijswijk)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 2:43am UTC](https://forums.kodeco.com/t/header-wenderlooncore-not-found/20395 "2018-06-11T02:43:41Z")

</div>

Header ‘WenderLoonCore-Swift.h’ not found and no such module in LoonUIExtension if I want to build the project.

---

## [The Strange behavior for Chapter 21's Challenge : Additive animations](https://forums.kodeco.com/t/the-strange-behavior-for-chapter-21s-challenge-additive-animations/41351)

<div class="topic-metadata">

**Author:** [@hopy](https://forums.kodeco.com/u/hopy)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 2:15am UTC](https://forums.kodeco.com/t/the-strange-behavior-for-chapter-21s-challenge-additive-animations/41351 "2018-06-11T02:15:03Z")

</div>

hi guys I run App from answer for chapter 21’s challenges project (My configuration : Xcode 9.2,OS X 10.2.6) in Simulator(not try at real device),when I quickly switch tap "show more " and “show less” button,It’s appear…

---

## [IOS Apprentice V6 - Bullseye - pg 46 - doesn't like "present("](https://forums.kodeco.com/t/ios-apprentice-v6-bullseye-pg-46-doesnt-like-present/43343)

<div class="topic-metadata">

**Author:** [@steveb\_la](https://forums.kodeco.com/u/steveb_la)\
**Replies:** 5\
**Last updated:** [June 11, 2018, 2:06am UTC](https://forums.kodeco.com/t/ios-apprentice-v6-bullseye-pg-46-doesnt-like-present/43343 "2018-06-11T02:06:12Z")

</div>

Yes, I’m behind is going thru this tutorial. Could someone point me to an errata for this book? Or point me to the latest tutorial? Thanks so much, Steve

---

## [Chapter 7: let convert, page 186](https://forums.kodeco.com/t/chapter-7-let-convert-page-186/39201)

<div class="topic-metadata">

**Author:** [@dfrobison](https://forums.kodeco.com/u/dfrobison)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 1:50am UTC](https://forums.kodeco.com/t/chapter-7-let-convert-page-186/39201 "2018-06-11T01:50:17Z")

</div>

The code needs to be updated from: let convert: \[String: UInt\] = \[ "abc": 2, "def": 3, "ghi": 4, "jkl": 5, "mno": 6, "pqrs": 7, "tuv": 8, "wxyz": 9 \] to: let keyMap: \[String: UInt\] = \[ "abc": 2, "def…

---

## [Books/video subscription](https://forums.kodeco.com/t/books-video-subscription/43371)

<div class="topic-metadata">

**Author:** [@chakri](https://forums.kodeco.com/u/chakri)\
**Replies:** 4\
**Last updated:** [June 10, 2018, 9:03pm UTC](https://forums.kodeco.com/t/books-video-subscription/43371 "2018-06-10T21:03:09Z")

</div>

I am thinking, video courses will cover all topics covered in books. So I am thinking video subscription is better option for Raywenderlich site, rather than buying books. Any suggestions? Thanks in advance!

---

## [Full Solution for Chapter 18 (Swift Apprentice, V3), Challenge 3 - Character Battle](https://forums.kodeco.com/t/full-solution-for-chapter-18-swift-apprentice-v3-challenge-3-character-battle/43432)

<div class="topic-metadata">

**Author:** [@neptunenancy](https://forums.kodeco.com/u/neptunenancy)\
**Replies:** 2\
**Last updated:** [June 9, 2018, 8:51pm UTC](https://forums.kodeco.com/t/full-solution-for-chapter-18-swift-apprentice-v3-challenge-3-character-battle/43432 "2018-06-09T20:51:01Z")

</div>

I’m trying to code the solution for Challenge 3, Character Battle, but I’m stuck! Unfortunately the playground that came with the book doesn’t include the solution, just the test cases that are already shown in the book…

---

## [Answers to the mini exercises and challenges](https://forums.kodeco.com/t/answers-to-the-mini-exercises-and-challenges/20910)

<div class="topic-metadata">

**Author:** [@j\_k\_nash](https://forums.kodeco.com/u/j_k_nash)\
**Replies:** 6\
**Last updated:** [June 9, 2018, 4:56am UTC](https://forums.kodeco.com/t/answers-to-the-mini-exercises-and-challenges/20910 "2018-06-09T04:56:56Z")

</div>

I know a lot of the mini exercises are easy to do but where can i find the answers to them and the challenges…

---

## [Correction in Authentication chapter](https://forums.kodeco.com/t/correction-in-authentication-chapter/43400)

<div class="topic-metadata">

**Author:** [@eric\_wvgg](https://forums.kodeco.com/u/eric_wvgg)\
**Replies:** 3\
**Last updated:** [June 9, 2018, 12:30am UTC](https://forums.kodeco.com/t/correction-in-authentication-chapter/43400 "2018-06-09T00:30:04Z")

</div>

on page 247, the reader is instructed to “import Crypto”, but Crypto has not been added to Package.swift yet later on page 253, the reader is instructed to add the Authentication library to Package.swift, but still leav…

---

## [BatmansDelegate :: Beginner Tutorial focused solely on the Delegate Pattern - Batman Style!](https://forums.kodeco.com/t/batmansdelegate-beginner-tutorial-focused-solely-on-the-delegate-pattern-batman-style/43189)

<div class="topic-metadata">

**Author:** [@h1i2j3](https://forums.kodeco.com/u/h1i2j3)\
**Replies:** 11\
**Last updated:** [June 8, 2018, 11:18am UTC](https://forums.kodeco.com/t/batmansdelegate-beginner-tutorial-focused-solely-on-the-delegate-pattern-batman-style/43189 "2018-06-08T11:18:35Z")

</div>

▶ TL;DR BatmansDelegate :: Beginner Tutorial Exploring the Delegate Pattern :: Part I Batman and his Delegate, Alfred Tutorial Time: 5-8 minutes. Actual time may vary based on InterfaceBuilder/Storyboard proficiency. …

---

## [Chap16 List Default Identifier for UItableViewCell](https://forums.kodeco.com/t/chap16-list-default-identifier-for-uitableviewcell/43373)

<div class="topic-metadata">

**Author:** [@ceoit](https://forums.kodeco.com/u/ceoit)\
**Replies:** 3\
**Last updated:** [June 8, 2018, 5:56am UTC](https://forums.kodeco.com/t/chap16-list-default-identifier-for-uitableviewcell/43373 "2018-06-08T05:56:13Z")

</div>

func makeCell(for tableView: UITableView) -\> UITableViewCell { let cellIndentifier = "Cell" if let cell = tableView.dequeueReusableCell(withIdentifier: cellIndentifier) { return cell } else { return UITableViewCell(s…

---

## [Chapter 9, no userID](https://forums.kodeco.com/t/chapter-9-no-userid/42967)

<div class="topic-metadata">

**Author:** [@burstrom](https://forums.kodeco.com/u/burstrom)\
**Replies:** 4\
**Last updated:** [June 7, 2018, 7:48pm UTC](https://forums.kodeco.com/t/chapter-9-no-userid/42967 "2018-06-07T19:48:24Z")

</div>

I’m not sure if reverting is the problem but when I run it I only get the output: $ vapor cloud run “revert --all --yes --app” app: Things I Learned env: production Running ‘.build/release/Run --env=production revert…

---

## [Recursively mean?](https://forums.kodeco.com/t/recursively-mean/43228)

<div class="topic-metadata">

**Author:** [@maomao](https://forums.kodeco.com/u/maomao)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 9:56pm UTC](https://forums.kodeco.com/t/recursively-mean/43228 "2018-06-04T21:56:56Z")

</div>

“ diceNodes.append(diceScene.rootNode.childNode( withName: “dice(count)”, recursively: false)!) }” I have no ideas what this mean

---

## [Concat operator](https://forums.kodeco.com/t/concat-operator/43190)

<div class="topic-metadata">

**Author:** [@cuong1112035](https://forums.kodeco.com/u/cuong1112035)\
**Replies:** 0\
**Last updated:** [June 3, 2018, 4:45am UTC](https://forums.kodeco.com/t/concat-operator/43190 "2018-06-03T04:45:49Z")

</div>

Hi all I have some code like this: let first = Observable\<Int\>.create({ observer -\> Disposable in observer.onNext(1) return Disposables.create() }) let second = Observable.of(4, 5, 6) let o…

---

## [Page 462 showDatePicker()](https://forums.kodeco.com/t/page-462-showdatepicker/43181)

<div class="topic-metadata">

**Author:** [@kurtbitner](https://forums.kodeco.com/u/kurtbitner)\
**Replies:** 2\
**Last updated:** [June 2, 2018, 11:03pm UTC](https://forums.kodeco.com/t/page-462-showdatepicker/43181 "2018-06-02T23:03:20Z")

</div>

The function in the book has us search for the date row with the indexpath to set the tint color on the cell’s detail text label. However, I am getting nil for that value. Since we have the date label as an outlet, why c…

---

## [Why create the database explicitly?](https://forums.kodeco.com/t/why-create-the-database-explicitly/42933)

<div class="topic-metadata">

**Author:** [@gargoyle](https://forums.kodeco.com/u/gargoyle)\
**Replies:** 3\
**Last updated:** [June 2, 2018, 2:33pm UTC](https://forums.kodeco.com/t/why-create-the-database-explicitly/42933 "2018-06-02T14:33:51Z")

</div>

In your examples you’re creating a database config and then doing this: let database = PostgreSQLDatabase(config: databaseConfig) databases.add(database: database, as: .psql) services.register(databases) I realiz…

---

## [Computed properties](https://forums.kodeco.com/t/computed-properties/42923)

<div class="topic-metadata">

**Author:** [@robac](https://forums.kodeco.com/u/robac)\
**Replies:** 8\
**Last updated:** [June 2, 2018, 10:46am UTC](https://forums.kodeco.com/t/computed-properties/42923 "2018-06-02T10:46:54Z")

</div>

Can you say a little more about computed properties. I like to include them in my model as it helps keep the code clean. I’m interested in learning more about them. Are they resource intensive, when are they computed. Th…

---

## [Why optional properties in a class are represented as “has a” relationship?](https://forums.kodeco.com/t/why-optional-properties-in-a-class-are-represented-as-has-a-relationship/41681)

<div class="topic-metadata">

**Author:** [@andreskwan](https://forums.kodeco.com/u/andreskwan)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 6:01pm UTC](https://forums.kodeco.com/t/why-optional-properties-in-a-class-are-represented-as-has-a-relationship/41681 "2018-05-31T18:01:47Z")

</div>

In page 40, the class AddressViewController define: public var address: Address? //Model For me, this is not a strong reference to the model, so it should be “use” or “depends” or “delegates to”. At being optional…

---

## [Chapter 23 alternative test](https://forums.kodeco.com/t/chapter-23-alternative-test/36981)

<div class="topic-metadata">

**Author:** [@ivangodfather](https://forums.kodeco.com/u/ivangodfather)\
**Replies:** 0\
**Last updated:** [November 26, 2017, 5:47pm UTC](https://forums.kodeco.com/t/chapter-23-alternative-test/36981 "2017-11-26T17:47:16Z")

</div>

I tried to do the test func test\_whenAccountAvailable\_updatesAccountStatus() by myself instead of using expectations. func test\_whenAccountAvailable\_updatesAccountStatusV2() { let accountSubject = PublishSubject\<…

---

## [SceneKit editor](https://forums.kodeco.com/t/scenekit-editor/36999)

<div class="topic-metadata">

**Author:** [@kjwinters](https://forums.kodeco.com/u/kjwinters)\
**Replies:** 0\
**Last updated:** [November 27, 2017, 12:40am UTC](https://forums.kodeco.com/t/scenekit-editor/36999 "2017-11-27T00:40:46Z")

</div>

First time using SceneKit editor and when following along in tutorial when create file Game.scn the view in my 3D design area is all gray. It doesn’t appear the same like shown in tutorial with more like a 3d grid. And w…

---

## [Question about particle systems (p. 464, Swift 4)](https://forums.kodeco.com/t/question-about-particle-systems-p-464-swift-4/37150)

<div class="topic-metadata">

**Author:** [@salanthonyc](https://forums.kodeco.com/u/salanthonyc)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 6:38pm UTC](https://forums.kodeco.com/t/question-about-particle-systems-p-464-swift-4/37150 "2017-11-29T18:38:06Z")

</div>

The code at the top of page 464 adds an “explosion” particle system to the scene. Is this a preconfigured particle system? How would I change this to something different, like smoke for example?

---

## [DropCharge Issue (Swift 4)](https://forums.kodeco.com/t/dropcharge-issue-swift-4/37168)

<div class="topic-metadata">

**Author:** [@salanthonyc](https://forums.kodeco.com/u/salanthonyc)\
**Replies:** 1\
**Last updated:** [November 30, 2017, 2:11am UTC](https://forums.kodeco.com/t/dropcharge-issue-swift-4/37168 "2017-11-30T02:11:47Z")

</div>

I finished the tutorial for the DropCharge game and I decided to change the image for the breakable platforms. When I did so the image loaded fine; however, for some reason the new image is stretched to form a square-lik…

---

## [DropCharge: Error when trying to build and run](https://forums.kodeco.com/t/dropcharge-error-when-trying-to-build-and-run/37460)

<div class="topic-metadata">

**Author:** [@salanthonyc](https://forums.kodeco.com/u/salanthonyc)\
**Replies:** 0\
**Last updated:** [December 9, 2017, 9:43pm UTC](https://forums.kodeco.com/t/dropcharge-error-when-trying-to-build-and-run/37460 "2017-12-09T21:43:06Z")

</div>

I completed the DropCharge tutorial and everything was working fine. However, all of a sudden I am getting the following error: “… Actions.sks: No such file or directory” and I can not find that file in my trash or anywh…

---

## [Chapter 27: About the slide animation glitch problem](https://forums.kodeco.com/t/chapter-27-about-the-slide-animation-glitch-problem/36651)

<div class="topic-metadata">

**Author:** [@anastasioscho](https://forums.kodeco.com/u/anastasioscho)\
**Replies:** 0\
**Last updated:** [November 17, 2017, 12:40pm UTC](https://forums.kodeco.com/t/chapter-27-about-the-slide-animation-glitch-problem/36651 "2017-11-17T12:40:58Z")

</div>

I think the problem occurs only because of the wrong frame rect. In actionSlide(), if you replace this line of code: penguin.frame = CGRect(x: penguin.frame.origin.x, y: penguinY + (walkSize.height - slideSize.height)…

---

## [Book error. Chapter 12, page 256 (pdf)](https://forums.kodeco.com/t/book-error-chapter-12-page-256-pdf/37593)

<div class="topic-metadata">

**Author:** [@mirceagrelus](https://forums.kodeco.com/u/mirceagrelus)\
**Replies:** 0\
**Last updated:** [December 14, 2017, 10:49am UTC](https://forums.kodeco.com/t/book-error-chapter-12-page-256-pdf/37593 "2017-12-14T10:49:19Z")

</div>

In chapter 12, on page 256 (pdf) the last code snippet removes the catchErrorJustReturn method, and the decription states: “You also removed the catchErrorJustReturn() call to the observable returned by currentWeather(ci…

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

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