# iOS Apprentice

**URL:** https://forums.kodeco.com/c/books/ios-apprentice/7.md?page=10

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

**Page:** 11

---

## [Some typos in the book...or bugs?](https://forums.kodeco.com/t/some-typos-in-the-book-or-bugs/54793)

<div class="topic-metadata">

**Author:** [@roblack](https://forums.kodeco.com/u/roblack)\
**Replies:** 4\
**Last updated:** [November 21, 2018, 6:24pm UTC](https://forums.kodeco.com/t/some-typos-in-the-book-or-bugs/54793 "2018-11-21T18:24:52Z")

</div>

Found some typos while going over the book. In 2 places so far, when code is being analyzed, it looks like the numbering got messed up. I am guessing while writing on and off if bugged out, or just an error. Anyways, he…

---

## [Mapping Out My App](https://forums.kodeco.com/t/mapping-out-my-app/54984)

<div class="topic-metadata">

**Author:** [@lenny\_eiger](https://forums.kodeco.com/u/lenny_eiger)\
**Replies:** 1\
**Last updated:** [November 9, 2018, 4:34am UTC](https://forums.kodeco.com/t/mapping-out-my-app/54984 "2018-11-09T04:34:08Z")

</div>

Been going thru the iOS Apprentice. It’s great, my head is exploding a bit, but I’ll get there. I have an app to do and its clear I need to map it out even more carefully than I had imagined. I’ve been using OmniGraffle …

---

## [Table of Contents Missing in PDF Version of the Book](https://forums.kodeco.com/t/table-of-contents-missing-in-pdf-version-of-the-book/51785)

<div class="topic-metadata">

**Author:** [@may\_ber00t](https://forums.kodeco.com/u/may_ber00t)\
**Replies:** 6\
**Last updated:** [October 30, 2018, 8:17pm UTC](https://forums.kodeco.com/t/table-of-contents-missing-in-pdf-version-of-the-book/51785 "2018-10-30T20:17:43Z")

</div>

Hello, I was curious if the table of contents will be added for the PDF version of the book? I prefer to read the book in PDF form and table of contents would help a lot. Otherwise I absolutely love all the books you guy…

---

## [Unable to download the source code file for Swift-apprentic](https://forums.kodeco.com/t/unable-to-download-the-source-code-file-for-swift-apprentic/45874)

<div class="topic-metadata">

**Author:** [@sakarsh](https://forums.kodeco.com/u/sakarsh)\
**Replies:** 5\
**Last updated:** [November 2, 2018, 9:34pm UTC](https://forums.kodeco.com/t/unable-to-download-the-source-code-file-for-swift-apprentic/45874 "2018-11-02T21:34:14Z")

</div>

Continuing the discussion from Where are the resource and code files for the sixth addition?: https://store.raywenderlich.com/products/ios-apprentice-source-code This link does not show the download button to download …

---

## [Make the DetailView appearing animation on iPad a bit cooler](https://forums.kodeco.com/t/make-the-detailview-appearing-animation-on-ipad-a-bit-cooler/41956)

<div class="topic-metadata">

**Author:** [@tenryu](https://forums.kodeco.com/u/tenryu)\
**Replies:** 0\
**Last updated:** [April 26, 2018, 3:38am UTC](https://forums.kodeco.com/t/make-the-detailview-appearing-animation-on-ipad-a-bit-cooler/41956 "2018-04-26T03:38:20Z")

</div>

Well, thanks to the useful topics here in the forum I’ve found out how to make the DetailView appear animated on the iPad. But as book says, “Apple is the king of animations”, and the exercise itself offer us to make the…

---

## [Screen Goes Blank after Installing DatePicker in Chapter 20](https://forums.kodeco.com/t/screen-goes-blank-after-installing-datepicker-in-chapter-20/54282)

<div class="topic-metadata">

**Author:** [@stevelhunt](https://forums.kodeco.com/u/stevelhunt)\
**Replies:** 1\
**Last updated:** [October 31, 2018, 2:41pm UTC](https://forums.kodeco.com/t/screen-goes-blank-after-installing-datepicker-in-chapter-20/54282 "2018-10-31T14:41:59Z")

</div>

In Chapter 20, Local Noptifications, right after I install the DatePicker in Storyboard and run the app, when a new item is entered in a CheckList ( Press the + key), the DatePicker momentarily shows and then the screen …

---

## [Ch. 39 Landscape](https://forums.kodeco.com/t/ch-39-landscape/54214)

<div class="topic-metadata">

**Author:** [@bkotis](https://forums.kodeco.com/u/bkotis)\
**Replies:** 1\
**Last updated:** [October 31, 2018, 3:42am UTC](https://forums.kodeco.com/t/ch-39-landscape/54214 "2018-10-31T03:42:01Z")

</div>

I’m trying to add a case for the iPhone XS Max to the switch statement that is within the tileButtons(\_ searchResults: ) method in the LandscapeViewController. Does anyone have this case for the XS Max? Items in the ca…

---

## [Update labels, page 533 of PDF iOS Apprentice v7, Get Locations](https://forums.kodeco.com/t/update-labels-page-533-of-pdf-ios-apprentice-v7-get-locations/52474)

<div class="topic-metadata">

**Author:** [@seanec](https://forums.kodeco.com/u/seanec)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 8:53pm UTC](https://forums.kodeco.com/t/update-labels-page-533-of-pdf-ios-apprentice-v7-get-locations/52474 "2018-10-30T20:53:43Z")

</div>

My app has been building perfectly with no errors or warnings. I added the final updateLabels() to the viewDidLoad and there are still no errors but my “Get My Location” button has gone missing. At first I thought perh…

---

## [iOS Apprentice "My Location" Ch. 30](https://forums.kodeco.com/t/ios-apprentice-my-location-ch-30/53570)

<div class="topic-metadata">

**Author:** [@justnerd](https://forums.kodeco.com/u/justnerd)\
**Replies:** 7\
**Last updated:** [October 30, 2018, 7:44pm UTC](https://forums.kodeco.com/t/ios-apprentice-my-location-ch-30/53570 "2018-10-30T19:44:26Z")

</div>

I have a problem with getting the “permission access” for the user’s photo library to pop up when the user first opens the photo picker. I’ve added “Privacy-Photo Library Usage Description” and “Privacy-Camera Usage Des…

---

## [iOS Apprentice,Tutorial 3, Page 198 crash in Xcode 10](https://forums.kodeco.com/t/ios-apprentice-tutorial-3-page-198-crash-in-xcode-10/53856)

<div class="topic-metadata">

**Author:** [@majid\_iqbal](https://forums.kodeco.com/u/majid_iqbal)\
**Replies:** 2\
**Last updated:** [October 26, 2018, 6:40am UTC](https://forums.kodeco.com/t/ios-apprentice-tutorial-3-page-198-crash-in-xcode-10/53856 "2018-10-26T06:40:10Z")

</div>

It complains that “Argument type ‘\[Location\]’ does not conform to expected type ‘MKAnnotation’” in “MapViewController.swift”. and Xcode auto Correction makes It as! MKAnnotation and then error is gone But When I run th…

---

## [Chapter 17 : Remove the items instance variable](https://forums.kodeco.com/t/chapter-17-remove-the-items-instance-variable/53451)

<div class="topic-metadata">

**Author:** [@anon80963688](https://forums.kodeco.com/u/anon80963688)\
**Replies:** 2\
**Last updated:** [October 21, 2018, 4:55pm UTC](https://forums.kodeco.com/t/chapter-17-remove-the-items-instance-variable/53451 "2018-10-21T16:55:53Z")

</div>

Hello, I have a problem in chapter 17. I removed the items instance variable like you said and I have errors saying “Cannot convert value of type ‘CheckListItem’ to expected argument type ‘Checklist’”. I understand th…

---

## [Chapter 12, Page 266 - Keyboard not displaying on iPad mini](https://forums.kodeco.com/t/chapter-12-page-266-keyboard-not-displaying-on-ipad-mini/40150)

<div class="topic-metadata">

**Author:** [@iosimago](https://forums.kodeco.com/u/iosimago)\
**Replies:** 3\
**Last updated:** [October 1, 2018, 1:05pm UTC](https://forums.kodeco.com/t/chapter-12-page-266-keyboard-not-displaying-on-ipad-mini/40150 "2018-10-01T13:05:06Z")

</div>

Hello, I’m running the app and when I tap on the cell, the keyboard doesn’t display on the iPad mini. Is this a bug? thanks

---

## [TableView keyboard done button does not add item](https://forums.kodeco.com/t/tableview-keyboard-done-button-does-not-add-item/51325)

<div class="topic-metadata">

**Author:** [@harryballas](https://forums.kodeco.com/u/harryballas)\
**Replies:** 2\
**Last updated:** [October 1, 2018, 4:20am UTC](https://forums.kodeco.com/t/tableview-keyboard-done-button-does-not-add-item/51325 "2018-10-01T04:20:28Z")

</div>

I have been following along with the tutorial about tableviews online, and when I go to the add item screen the done bar button adds the item to the checklist view controller, however the done button on the keyboard only…

---

## [iOS 12 & Swift 4.2](https://forums.kodeco.com/t/ios-12-swift-4-2/50147)

<div class="topic-metadata">

**Author:** [@ceramo69](https://forums.kodeco.com/u/ceramo69)\
**Replies:** 3\
**Last updated:** [September 30, 2018, 9:40pm UTC](https://forums.kodeco.com/t/ios-12-swift-4-2/50147 "2018-09-30T21:40:41Z")

</div>

Hello, I’ve recently purchased Swift Apprentice v4, and I read that it’s possible to read this in parallel with the iOS Apprentice book. Does that mean the topics covered in both books are in the exact same order, as in…

---

## [Errors, finishing off Bulls Eye](https://forums.kodeco.com/t/errors-finishing-off-bulls-eye/50917)

<div class="topic-metadata">

**Author:** [@renevandoorn](https://forums.kodeco.com/u/renevandoorn)\
**Replies:** 10\
**Last updated:** [September 28, 2018, 9:04am UTC](https://forums.kodeco.com/t/errors-finishing-off-bulls-eye/50917 "2018-09-28T09:04:09Z")

</div>

I downloaded the new version of the iOS Apprentice this morning and yesterday I updated to Xcode 10 / Mojave. I had started the Bulls Eye app previously and one of the last steps seems to be giving errors. Has this some…

---

## [IOS Apprentice Update?](https://forums.kodeco.com/t/ios-apprentice-update/50838)

<div class="topic-metadata">

**Author:** [@harryballas](https://forums.kodeco.com/u/harryballas)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 5:10pm UTC](https://forums.kodeco.com/t/ios-apprentice-update/50838 "2018-09-26T17:10:07Z")

</div>

Does anyone know when the next edition of iOS apprentice is out?

---

## [iOS Apprentice Page 192](https://forums.kodeco.com/t/ios-apprentice-page-192/50552)

<div class="topic-metadata">

**Author:** [@michael.allen](https://forums.kodeco.com/u/michael.allen)\
**Replies:** 4\
**Last updated:** [September 26, 2018, 3:47am UTC](https://forums.kodeco.com/t/ios-apprentice-page-192/50552 "2018-09-26T03:47:24Z")

</div>

I’ve been using the iOS Apprentice Book (6th Ed) and just started with the Checklists portion. When I added the code on page 192, and run the program, it crashes. As soon as I comment out the code, it runs fine. I hav…

---

## [Text changed between two versions](https://forums.kodeco.com/t/text-changed-between-two-versions/49561)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 4\
**Last updated:** [September 17, 2018, 6:58am UTC](https://forums.kodeco.com/t/text-changed-between-two-versions/49561 "2018-09-17T06:58:48Z")

</div>

Im in the middle of iOS apprentice 11 and ios 12 version will release this month … so how to know what text chnaged between the two versions …the difference only … i cant read all that again … Thx

---

## [What book after iOS apprentice](https://forums.kodeco.com/t/what-book-after-ios-apprentice/49647)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 3\
**Last updated:** [September 17, 2018, 6:34am UTC](https://forums.kodeco.com/t/what-book-after-ios-apprentice/49647 "2018-09-17T06:34:52Z")

</div>

Hi i wanna purchase another book after finishing iOS apprentice, Really your books incomparable. I know swift and i know iOS apprentice projects, also i know vapor … i want go continue ios projects may be more advanced…

---

## [Why if let delegate = delegate?](https://forums.kodeco.com/t/why-if-let-delegate-delegate/49045)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 3\
**Last updated:** [September 13, 2018, 2:47am UTC](https://forums.kodeco.com/t/why-if-let-delegate-delegate/49045 "2018-09-13T02:47:36Z")

</div>

in page 428 … you wrote if let delegate = delegate this is the first time u did that … although we passed many delegates before and u didnt do that thx in advance

---

## [Ch.17 I can't find the "Checklists.plist"](https://forums.kodeco.com/t/ch-17-i-cant-find-the-checklists-plist/48559)

<div class="topic-metadata">

**Author:** [@justnerd](https://forums.kodeco.com/u/justnerd)\
**Replies:** 4\
**Last updated:** [September 8, 2018, 5:28am UTC](https://forums.kodeco.com/t/ch-17-i-cant-find-the-checklists-plist/48559 "2018-09-08T05:28:51Z")

</div>

I believe I’ve done everything right, but I keep getting this in the Xcode’s Console: 2018-09-07 23:27:00.101710-0400 Checklists\[21935:1419538\] \[MC\] System group container for systemgroup.com.apple.configurationprofiles…

---

## [Checklists error: let data = try encoder.encode(items)](https://forums.kodeco.com/t/checklists-error-let-data-try-encoder-encode-items/41124)

<div class="topic-metadata">

**Author:** [@avantjer](https://forums.kodeco.com/u/avantjer)\
**Replies:** 9\
**Last updated:** [September 8, 2018, 4:35am UTC](https://forums.kodeco.com/t/checklists-error-let-data-try-encoder-encode-items/41124 "2018-09-08T04:35:08Z")

</div>

iOS Apprentice v6.0, Pages: 328-329 Inside method: saveChecklistItems() For the line: “let data = try encoder.encode(items)” I get the following compile error: “Generic parameter ‘Value’ could not be inferred” …and t…

---

## [Very thx for Fahim and IOs apprentice team and Ray](https://forums.kodeco.com/t/very-thx-for-fahim-and-ios-apprentice-team-and-ray/48482)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 1\
**Last updated:** [September 7, 2018, 4:37am UTC](https://forums.kodeco.com/t/very-thx-for-fahim-and-ios-apprentice-team-and-ray/48482 "2018-09-07T04:37:32Z")

</div>

Finally i Had digest the delegation pattern … Fahim you are awesome teacher , there is no place that has the same Ray books quality … I will purchase books as much as i had time to read … You made me Happy

---

## [Delegates illustration](https://forums.kodeco.com/t/delegates-illustration/48060)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 4\
**Last updated:** [September 3, 2018, 2:42pm UTC](https://forums.kodeco.com/t/delegates-illustration/48060 "2018-09-03T14:42:37Z")

</div>

Could u please illustrate this more Giving AddItemViewController a direct reference to ChecklistViewController prevents you from opening the Add Item screen from somewhere else in the app. It can only ever talk b…

---

## [Store Search - Chapter 36 : Section : Download the artwork](https://forums.kodeco.com/t/store-search-chapter-36-section-download-the-artwork/47567)

<div class="topic-metadata">

**Author:** [@ravikanth\_m](https://forums.kodeco.com/u/ravikanth_m)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 10:59pm UTC](https://forums.kodeco.com/t/store-search-chapter-36-section-download-the-artwork/47567 "2018-08-28T22:59:08Z")

</div>

I am trying to use UIImageView extension in my project. extension UIImageView { func loadImage(url: URL) → URLSessionDownloadTask { let session = URLSession.shared let downloadTask = session.downloadTask(with: url, c…

---

## [Init instead of viewDidLoad in chapter 10](https://forums.kodeco.com/t/init-instead-of-viewdidload-in-chapter-10/47239)

<div class="topic-metadata">

**Author:** [@lifesound](https://forums.kodeco.com/u/lifesound)\
**Replies:** 2\
**Last updated:** [August 26, 2018, 9:53am UTC](https://forums.kodeco.com/t/init-instead-of-viewdidload-in-chapter-10/47239 "2018-08-26T09:53:40Z")

</div>

hi thx for the very great book really RW books are high quality books ever why in ch10 the checkItems array initialized in init not viewDidLoad func ?? required init?(coder aDecoder: NSCoder) { items = \[Checklis…

---

## [Where are the resource and code files for the sixth addition?](https://forums.kodeco.com/t/where-are-the-resource-and-code-files-for-the-sixth-addition/37722)

<div class="topic-metadata">

**Author:** [@kary993](https://forums.kodeco.com/u/kary993)\
**Replies:** 6\
**Last updated:** [December 19, 2017, 5:18pm UTC](https://forums.kodeco.com/t/where-are-the-resource-and-code-files-for-the-sixth-addition/37722 "2017-12-19T17:18:49Z")

</div>

Not sure if I missed a link in the book for there was suppose to be something with the book? Any help appreciated. Kary

---

## [Saving Data - Documents folder does not exist](https://forums.kodeco.com/t/saving-data-documents-folder-does-not-exist/45561)

<div class="topic-metadata">

**Author:** [@harryballas](https://forums.kodeco.com/u/harryballas)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 3:41am UTC](https://forums.kodeco.com/t/saving-data-documents-folder-does-not-exist/45561 "2018-08-07T03:41:12Z")

</div>

I was following the directions in saving data chapter of the Checklists, and at the part where it says to copy paste the documents folder path in the go to folder in finder, I end up in a documents folder but it is empty…

---

## [Accessibility inspector for StoreSearch Popup](https://forums.kodeco.com/t/accessibility-inspector-for-storesearch-popup/39387)

<div class="topic-metadata">

**Author:** [@ericlm](https://forums.kodeco.com/u/ericlm)\
**Replies:** 0\
**Last updated:** [February 12, 2018, 6:13pm UTC](https://forums.kodeco.com/t/accessibility-inspector-for-storesearch-popup/39387 "2018-02-12T18:13:44Z")

</div>

I think it could be a good idea to introduce the Accessibility Inspector of Xcode after updating the Store Search popup to support dynamic type.

---

## [IOS 12 UIWebView disappar](https://forums.kodeco.com/t/ios-12-uiwebview-disappar/44695)

<div class="topic-metadata">

**Author:** [@maomao](https://forums.kodeco.com/u/maomao)\
**Replies:** 4\
**Last updated:** [August 2, 2018, 4:41am UTC](https://forums.kodeco.com/t/ios-12-uiwebview-disappar/44695 "2018-08-02T04:41:12Z")

</div>

if you follow book, you will see the error @IBOutlet weak var webview:UIWebView! // if let url = Bundle.main.url(forResource: “BullsEye”, // withExtension: “html”) { // if let htmlData = try?…

[Previous page](https://forums.kodeco.com/c/books/ios-apprentice/7.md?page=9)

[Next page](https://forums.kodeco.com/c/books/ios-apprentice/7.md?page=11)
