# 📚 Official Books

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

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

**Page:** 134

---

## [Can't run RxSwift Playground examples](https://forums.kodeco.com/t/cant-run-rxswift-playground-examples/34707)

<div class="topic-metadata">

**Author:** [@enti](https://forums.kodeco.com/u/enti)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 12:29pm UTC](https://forums.kodeco.com/t/cant-run-rxswift-playground-examples/34707 "2017-09-22T12:29:13Z")

</div>

I am getting error “workspace integrity : couldn’t load project rxswift.playground”. Playground file not even opening in the project when I tap on it. I tried to install latest cococapods, cleaning, deleting derived…

---

## [Chapter 2: Asset catalogs - issue with background color](https://forums.kodeco.com/t/chapter-2-asset-catalogs-issue-with-background-color/22582)

<div class="topic-metadata">

**Author:** [@ilmaros](https://forums.kodeco.com/u/ilmaros)\
**Replies:** 4\
**Last updated:** [September 22, 2017, 10:45am UTC](https://forums.kodeco.com/t/chapter-2-asset-catalogs-issue-with-background-color/22582 "2017-09-22T10:45:26Z")

</div>

I’m using Xcode (8.1), and there have to be blue background color, but I get black one! I get the same result when I run final project from the Book’s resources of the 2nd chapter. Question is, how to resolve this to …

---

## [Error Iphone 8 Xcode 9](https://forums.kodeco.com/t/error-iphone-8-xcode-9/34713)

<div class="topic-metadata">

**Author:** [@archideus](https://forums.kodeco.com/u/archideus)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 6:43am UTC](https://forums.kodeco.com/t/error-iphone-8-xcode-9/34713 "2017-09-22T06:43:12Z")

</div>

2017-09-21 18:04:58.079750+0300 ZombieConga\[6480:772618\] 378: failed assertion: inChannelsPerFrame \>= 4

---

## [Errata for iOS 11 by Tutorials v1.0](https://forums.kodeco.com/t/errata-for-ios-11-by-tutorials-v1-0/34474)

<div class="topic-metadata">

**Author:** [@thegamingart](https://forums.kodeco.com/u/thegamingart)\
**Replies:** 2\
**Last updated:** [September 21, 2017, 4:31pm UTC](https://forums.kodeco.com/t/errata-for-ios-11-by-tutorials-v1-0/34474 "2017-09-21T16:31:51Z")

</div>

The unofficial errata reports for iOS 11 By Tutorials v1.0.

---

## [Chapter 9(Core ML) -No green rectangle appears after building](https://forums.kodeco.com/t/chapter-9-core-ml-no-green-rectangle-appears-after-building/34651)

<div class="topic-metadata">

**Author:** [@ihappyfish](https://forums.kodeco.com/u/ihappyfish)\
**Replies:** 1\
**Last updated:** [September 20, 2017, 1:26pm UTC](https://forums.kodeco.com/t/chapter-9-core-ml-no-green-rectangle-appears-after-building/34651 "2017-09-20T13:26:51Z")

</div>

hi, I might need your help when learning Chapter 9 (Core ML) After I followed instructions through page 186, no green rectangle appears after building both on iOS Simulator and on my iPhone 6s plus. Actually, it works …

---

## [Chapter 6: Dismiss of alert box](https://forums.kodeco.com/t/chapter-6-dismiss-of-alert-box/34463)

<div class="topic-metadata">

**Author:** [@tkallioras](https://forums.kodeco.com/u/tkallioras)\
**Replies:** 8\
**Last updated:** [September 19, 2017, 10:05am UTC](https://forums.kodeco.com/t/chapter-6-dismiss-of-alert-box/34463 "2017-09-19T10:05:31Z")

</div>

In the extension of the UIViewController we declare an alert function like this: func alert(title: String, text: String?) -\> Observable\<Void\> { return Observable.create { \[weak self\] observer in let alertVC = …

---

## [Tweetie App Podfile for XCode9/Swift4](https://forums.kodeco.com/t/tweetie-app-podfile-for-xcode9-swift4/34564)

<div class="topic-metadata">

**Author:** [@ssaylanc](https://forums.kodeco.com/u/ssaylanc)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 8:14am UTC](https://forums.kodeco.com/t/tweetie-app-podfile-for-xcode9-swift4/34564 "2017-09-19T08:14:39Z")

</div>

Hi, I am using Swift 4, and I couldn’t get install the pods. Is there anyone with an updated pod file for swift4? Thanks,

---

## [Menu Scene Darkness Issue](https://forums.kodeco.com/t/menu-scene-darkness-issue/34473)

<div class="topic-metadata">

**Author:** [@dcorp](https://forums.kodeco.com/u/dcorp)\
**Replies:** 2\
**Last updated:** [September 18, 2017, 11:18pm UTC](https://forums.kodeco.com/t/menu-scene-darkness-issue/34473 "2017-09-18T23:18:39Z")

</div>

On page 315 after adding the menu scene, my scene lightning for the game looks dark. At the end of the page it says, “However you might notice the game looks a lot darker. If the lighting looks fine, skip ahead to the Mu…

---

## [Weak & unowned self inside operators](https://forums.kodeco.com/t/weak-unowned-self-inside-operators/34487)

<div class="topic-metadata">

**Author:** [@tkallioras](https://forums.kodeco.com/u/tkallioras)\
**Replies:** 1\
**Last updated:** [September 17, 2017, 11:34am UTC](https://forums.kodeco.com/t/weak-unowned-self-inside-operators/34487 "2017-09-17T11:34:19Z")

</div>

While going through the book, a question popped up: When I declare a self property inside a closure of a function in a UIViewController class, I make it unowned. The rationale is that for the lifetime of the VC, self ca…

---

## [07 - List, the Cancel and Done buttons not work when I Edit Checklist](https://forums.kodeco.com/t/07-list-the-cancel-and-done-buttons-not-work-when-i-edit-checklist/34407)

<div class="topic-metadata">

**Author:** [@yifans](https://forums.kodeco.com/u/yifans)\
**Replies:** 2\
**Last updated:** [September 15, 2017, 7:44am UTC](https://forums.kodeco.com/t/07-list-the-cancel-and-done-buttons-not-work-when-i-edit-checklist/34407 "2017-09-15T07:44:35Z")

</div>

When I Add Checklist, the Cancel And Done button is ok, I can add Checklist or Cancel. When I press accessory button to Edit Checklist screen, I can edit Checklist, but the Cancel And Done buttons don’t have any respon…

---

## [Errors create nsmanagedobject subclass](https://forums.kodeco.com/t/errors-create-nsmanagedobject-subclass/32848)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 7\
**Last updated:** [September 14, 2017, 3:33am UTC](https://forums.kodeco.com/t/errors-create-nsmanagedobject-subclass/32848 "2017-09-14T03:33:03Z")

</div>

When I Create NSManagedObject Subclass I get about 10 errors in the two files that get created. What should I check?

---

## [Chapter 2 unable to generate NSManagedObjected Subclass with Xcode 8](https://forums.kodeco.com/t/chapter-2-unable-to-generate-nsmanagedobjected-subclass-with-xcode-8/20809)

<div class="topic-metadata">

**Author:** [@yungdai](https://forums.kodeco.com/u/yungdai)\
**Replies:** 2\
**Last updated:** [September 13, 2017, 6:04pm UTC](https://forums.kodeco.com/t/chapter-2-unable-to-generate-nsmanagedobjected-subclass-with-xcode-8/20809 "2017-09-13T18:04:30Z")

</div>

I’m going through Chapter 2 and I’m finding that I cannot generate the subclasses for CoreData, even when I do a clean project from scratch. Is this a bug with Xcode 8?

---

## [Want to know when I need to use flatMap](https://forums.kodeco.com/t/want-to-know-when-i-need-to-use-flatmap/34322)

<div class="topic-metadata">

**Author:** [@lohanrakesh](https://forums.kodeco.com/u/lohanrakesh)\
**Replies:** 1\
**Last updated:** [September 13, 2017, 3:23pm UTC](https://forums.kodeco.com/t/want-to-know-when-i-need-to-use-flatmap/34322 "2017-09-13T15:23:31Z")

</div>

Hi @scotteg just want to know when I should use flatMap and can I use flat map without having return type observable flatMap { $0.score.asObservable() } I need some reason to implement it. Please help me . Thanks ~…

---

## [iOS Apprentice page 167](https://forums.kodeco.com/t/ios-apprentice-page-167/33967)

<div class="topic-metadata">

**Author:** [@coltkell](https://forums.kodeco.com/u/coltkell)\
**Replies:** 2\
**Last updated:** [September 13, 2017, 1:07am UTC](https://forums.kodeco.com/t/ios-apprentice-page-167/33967 "2017-09-13T01:07:28Z")

</div>

I cannot run the app based on the instructions on page 168 of which page 167 shows the code. An error occurs because tableView.deselectRow(at: indexPath, animated: true) is not declared. The red error indicated says "U…

---

## [Show segue VS Present Modally segue](https://forums.kodeco.com/t/show-segue-vs-present-modally-segue/34286)

<div class="topic-metadata">

**Author:** [@jiang](https://forums.kodeco.com/u/jiang)\
**Replies:** 1\
**Last updated:** [September 12, 2017, 12:18pm UTC](https://forums.kodeco.com/t/show-segue-vs-present-modally-segue/34286 "2017-09-12T12:18:01Z")

</div>

Hi, There are many types of segue, I’m a little bit confused about when should I use certain type of segue. Anyone can give some examples or principles I can follow? Thanks!:slight\_smile:

---

## [Curious about try?NSData(contentsOFURL)](https://forums.kodeco.com/t/curious-about-try-nsdata-contentsofurl/33498)

<div class="topic-metadata">

**Author:** [@jiang](https://forums.kodeco.com/u/jiang)\
**Replies:** 3\
**Last updated:** [September 12, 2017, 9:12am UTC](https://forums.kodeco.com/t/curious-about-try-nsdata-contentsofurl/33498 "2017-09-12T09:12:56Z")

</div>

Hi fellows, I’m curious about what try?NSData(contentsOFURL) would return if the file doesn’t exist. I didn’t see the tutorial checks if the file exists, however, my app gets crushed without checking the existence of …

---

## [Chapter 17 - Attaching the mesh to the armature’ to work](https://forums.kodeco.com/t/chapter-17-attaching-the-mesh-to-the-armature-to-work/34108)

<div class="topic-metadata">

**Author:** [@nick2905](https://forums.kodeco.com/u/nick2905)\
**Replies:** 11\
**Last updated:** [September 11, 2017, 3:45pm UTC](https://forums.kodeco.com/t/chapter-17-attaching-the-mesh-to-the-armature-to-work/34108 "2017-09-11T15:45:11Z")

</div>

Unity Games by Tutorials – Chapter 17. Hi, try as I may I can’t get the section ‘Attaching the mesh to the armature’ to work. It keeps failing with the message ‘Bone Heat Weighting: failed to find solution for one or m…

---

## [Zombie Conga alternate game over strategy](https://forums.kodeco.com/t/zombie-conga-alternate-game-over-strategy/34178)

<div class="topic-metadata">

**Author:** [@spgms](https://forums.kodeco.com/u/spgms)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 2:35pm UTC](https://forums.kodeco.com/t/zombie-conga-alternate-game-over-strategy/34178 "2017-09-11T14:35:42Z")

</div>

In Zombie Conga, instead of game over scenes with images, how would you do a fly-in label with “win” or “lose” message and a button to “play again”. Basically, keeping game and score visible behind label and button inst…

---

## [Chapter 4: Intermediate Fetching Confusing moment](https://forums.kodeco.com/t/chapter-4-intermediate-fetching-confusing-moment/34159)

<div class="topic-metadata">

**Author:** [@simons1994](https://forums.kodeco.com/u/simons1994)\
**Replies:** 5\
**Last updated:** [September 11, 2017, 1:34pm UTC](https://forums.kodeco.com/t/chapter-4-intermediate-fetching-confusing-moment/34159 "2017-09-11T13:34:11Z")

</div>

Hi everyone! In the stater pack application appdelegate.swift file author using that function func importJSONSeedDataIfNeeded() { let fetchRequest = NSFetchRequest(entityName: “Venue”) let count = try! coreDataStack.m…

---

## [Q re creating selectedIndexPath var My Locations pg107](https://forums.kodeco.com/t/q-re-creating-selectedindexpath-var-my-locations-pg107/34194)

<div class="topic-metadata">

**Author:** [@flanker](https://forums.kodeco.com/u/flanker)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 9:06am UTC](https://forums.kodeco.com/t/q-re-creating-selectedindexpath-var-my-locations-pg107/34194 "2017-09-11T09:06:38Z")

</div>

In creating the category picker, you instantiate the var selectedIndexPath = IndexPath() but as far as I can see never use that initial object, just to replace it with a new one during viewDidfLoad. Wouldn’t it be bet…

---

## [When saving to CoreData from Today Extension, Data only accesable from Widget - NOT from Main Application](https://forums.kodeco.com/t/when-saving-to-coredata-from-today-extension-data-only-accesable-from-widget-not-from-main-application/25762)

<div class="topic-metadata">

**Author:** [@lks](https://forums.kodeco.com/u/lks)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 5:26am UTC](https://forums.kodeco.com/t/when-saving-to-coredata-from-today-extension-data-only-accesable-from-widget-not-from-main-application/25762 "2017-09-11T05:26:24Z")

</div>

I’m writing an Application for iOS with Swift 3. In my Main iOS App I’m using an NSFetchedResultsController to show saved items as an TableView. It’s (of course) possible to add new items from another ViewController. …

---

## [UIAlertController in Core Data by Tutorials](https://forums.kodeco.com/t/uialertcontroller-in-core-data-by-tutorials/26292)

<div class="topic-metadata">

**Author:** [@datahog](https://forums.kodeco.com/u/datahog)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 5:20am UTC](https://forums.kodeco.com/t/uialertcontroller-in-core-data-by-tutorials/26292 "2017-09-11T05:20:48Z")

</div>

This compiles and runs but does not do anything. Have looked at other solutions on web but so far all are out of date. @IBAction func rate(\_ sender: AnyObject) { let alert = UIAlertController(title: “New Rating”, mes…

---

## [Errata for Core Data by Tutorials v3.1](https://forums.kodeco.com/t/errata-for-core-data-by-tutorials-v3-1/25293)

<div class="topic-metadata">

**Author:** [@tetanuss](https://forums.kodeco.com/u/tetanuss)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 5:16am UTC](https://forums.kodeco.com/t/errata-for-core-data-by-tutorials-v3-1/25293 "2017-09-11T05:16:41Z")

</div>

In Chapter 6 “Versioning and Migrating - sequential migration” in Core Data by Tutorial v3.1 there is a difference between the text in the PDF and the corresponding final code. In the final code the request in NotesListV…

---

## [Editor placeholder in source file Dog Walk chapter](https://forums.kodeco.com/t/editor-placeholder-in-source-file-dog-walk-chapter/27665)

<div class="topic-metadata">

**Author:** [@rpetruzz](https://forums.kodeco.com/u/rpetruzz)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 5:01am UTC](https://forums.kodeco.com/t/editor-placeholder-in-source-file-dog-walk-chapter/27665 "2017-09-11T05:01:48Z")

</div>

I’m working through Chapter 3 Dog Walk and I have been successful in getting it to work using the example code in the chapter. EXCEPT, if I attempt to implement the suggestion below: “For example, you can replace the e…

---

## [Chapter 2 coreDataStack without VC](https://forums.kodeco.com/t/chapter-2-coredatastack-without-vc/24003)

<div class="topic-metadata">

**Author:** [@scottmetro](https://forums.kodeco.com/u/scottmetro)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 4:56am UTC](https://forums.kodeco.com/t/chapter-2-coredatastack-without-vc/24003 "2017-09-11T04:56:58Z")

</div>

Hi, Chapter 2 assumes that all data operations are occurring in a View Controller but I’m putting all of my data operations in its own file and class. Any ideas on how to pass the managedContext in AppDelegate to a regu…

---

## [My pdf chapter 7 miss](https://forums.kodeco.com/t/my-pdf-chapter-7-miss/22314)

<div class="topic-metadata">

**Author:** [@rokurouc](https://forums.kodeco.com/u/rokurouc)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 4:52am UTC](https://forums.kodeco.com/t/my-pdf-chapter-7-miss/22314 "2017-09-11T04:52:28Z")

</div>

where is Chapter 7 ??

---

## [Core Data and Watch OS](https://forums.kodeco.com/t/core-data-and-watch-os/24560)

<div class="topic-metadata">

**Author:** [@createch](https://forums.kodeco.com/u/createch)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 4:47am UTC](https://forums.kodeco.com/t/core-data-and-watch-os/24560 "2017-09-11T04:47:36Z")

</div>

I have an iPhone app that uses Core Data. I would like to replicate the structure on the watch app extension. I can share the data structure between the two targets but I am not clear on how to implement the core data …

---

## [Typo - Predicate should be NSPredicate](https://forums.kodeco.com/t/typo-predicate-should-be-nspredicate/21362)

<div class="topic-metadata">

**Author:** [@operator](https://forums.kodeco.com/u/operator)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 4:39am UTC](https://forums.kodeco.com/t/typo-predicate-should-be-nspredicate/21362 "2017-09-11T04:39:21Z")

</div>

This is for version 3.0 of Core Data by Tutorials On page 189 fetchRequest.predicate = Predicate(format: "siteNumber == %@", argumentArray: \[siteNumber\]) should be fetchRequest.predicate = NSPredicate(format: "siteNu…

---

## [Any idea when the iOS Apprentice for Swift 4/iOS 11 will be available? :)](https://forums.kodeco.com/t/any-idea-when-the-ios-apprentice-for-swift-4-ios-11-will-be-available/34129)

<div class="topic-metadata">

**Author:** [@sekarb](https://forums.kodeco.com/u/sekarb)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 4:30am UTC](https://forums.kodeco.com/t/any-idea-when-the-ios-apprentice-for-swift-4-ios-11-will-be-available/34129 "2017-09-11T04:30:42Z")

</div>

I am in the last tutorial of the swift 3 version. Wondering if it’s worth waiting for the swift 4 version so I don’t spend time learning the older version and the Xcode 8 :slightly\_smiling\_face: Sekar

---

## [Savig data in the Checklists tutorial](https://forums.kodeco.com/t/savig-data-in-the-checklists-tutorial/34160)

<div class="topic-metadata">

**Author:** [@sekarb](https://forums.kodeco.com/u/sekarb)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 4:28am UTC](https://forums.kodeco.com/t/savig-data-in-the-checklists-tutorial/34160 "2017-09-11T04:28:03Z")

</div>

On the checklists tutorial, archiving is used to save data. Is that the recommended way to save that kind of data model or is it just used to introduce the concept of saving data with archives? I am trying to play with…

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

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