# Your Second iOS and SwiftUI App | raywenderlich.com

**URL:** <https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301>\
**Category:** 🎓 Courses & Articles\
**Created:** [October 8, 2019, 5:21pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301 "2019-10-08T17:21:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [October 8, 2019, 5:21pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/1 "2019-10-08T17:21:49Z")

</div>

\<p\>Use the knowledge you&#39;ve gained from creating a SwiftUI app, and learning the fundamentals of Swift, to create a more complex app: a task list!\</p\>

* * *
This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/5662524-your-second-ios-and-swiftui-app](https://www.raywenderlich.com/5662524-your-second-ios-and-swiftui-app)

---

<div class="post-metadata">

**Author:** ![mseriff](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mseriff/32/81494_2.png) [@mseriff](https://forums.kodeco.com/u/mseriff)\
**Post date:** [October 15, 2019, 2:29am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/2 "2019-10-15T02:29:16Z")

</div>

The second app seems to be running but if I select a task from the list and the return to the list with the Back button, I get a long error message that includes **UITableView was told to layout its visible cells and other contents without being in the view hierarchy**. Doesn’t seem to hurt anything but the message sounds pretty bad.

(Course is great, BTW!)

??

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [October 15, 2019, 5:59am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/3 "2019-10-15T05:59:18Z")

</div>

I got all kinds of fun error messages when putting this together—it was pretty much guaranteed that in every beta, old ones would disappear, but new new ones would come about! Here’s hoping for a stabler SwiftUI over the next year. 😺

---

<div class="post-metadata">

**Author:** ![mseriff](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mseriff/32/81494_2.png) [@mseriff](https://forums.kodeco.com/u/mseriff)\
**Post date:** [October 16, 2019, 7:58pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/4 "2019-10-16T19:58:40Z")

</div>

OK - ignoring that problem and on to the next.

FIrst, I have to say the course was terrific. It’s been decades since I wrote any serious code and, somehow, PL/1 skills don’t help much these days. Your course has me writing the productive app I wanted within days. Thanks!

So - made progress on my app and it seems to be working well on iPhone simulator. Decided to try it on an iPad simulator since that’s what I really want and when I run it on the iPad Air simulator, all my lists are empty. Couldn’t find anything obvious so I went back to the TaskList app from the course and when I run TaskList on an iPad Air simulator I get a blank white screen! TaskList runs fine an iPhone simulator.

I’ve tried it on both 11.1 and the 11.2 beta with same results

Help?

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [October 17, 2019, 12:53am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/5 "2019-10-17T00:53:21Z")

</div>

My experience:

- Works on device in landscape.
- Works in Simulator after two rotations back to landscape.

That’s not good enough! 😸  
It’s clear that the iPhone took priority for SwiftUI development, but there are some workarounds here: [swift - SwiftUI Navigation on iPad - How to show master list - Stack Overflow](https://stackoverflow.com/questions/57888032/swiftui-navigation-on-ipad-how-to-show-master-list)

---

<div class="post-metadata">

**Author:** ![andkamila](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/andkamila/32/102075_2.png) [@andkamila](https://forums.kodeco.com/u/andkamila)\
**Post date:** [October 18, 2019, 2:28pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/6 "2019-10-18T14:28:12Z")

</div>

Hi,

I’ve done the course, it was really good, thanks for that. As my own little challenge I’ve tried to adopt dark mode in the app - I know iOS provides it already so I’ve decided to just change a few things like accent colour or tried to make the background colour a bit lighter than just black. And problems.

Can’t find anywhere online how to actually change the background colour of the app i switfUI even in light mode - any of the courses you’re offering on the webiste tackle dark mode, colours and using assets color sets?

Thanks

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [October 18, 2019, 6:55pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/7 "2019-10-18T18:55:43Z")

</div>

Currently, these screencasts are all we have; we don’t have any Dark Mode-focused content specifically for SwiftUI.

[https://www.raywenderlich.com/3788563-dark-mode-the-basics](https://www.raywenderlich.com/3788563-dark-mode-the-basics)  
[https://www.raywenderlich.com/3979883-dark-mode-deep-dive](https://www.raywenderlich.com/3979883-dark-mode-deep-dive)

What do you think would be a good umbrella topic for a future course in which Dark Mode is covered? Perhaps “Colored Assets in iOS”?

---

<div class="post-metadata">

**Author:** ![createch](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/createch/32/109646_2.png) [@createch](https://forums.kodeco.com/u/createch)\
**Post date:** [October 22, 2019, 1:53am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/8 "2019-10-22T01:53:31Z")

</div>

I couldn’t help but notice that when editing a task, you have left out the ability to change the task priority. You are forever stuck in a single priority. I tried, but failed to implement that feature. Had all sorts of issues with passing a bound priorityTask.  
Would love to see an additional section on adding this.

---

<div class="post-metadata">

**Author:** ![andkamila](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/andkamila/32/102075_2.png) [@andkamila](https://forums.kodeco.com/u/andkamila)\
**Post date:** [October 31, 2019, 4:39pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/9 "2019-10-31T16:39:19Z")

</div>

I’ve actually been thinking about what createch is talking about but instead of changing the priority on a task I was wondering if its possible in SwiftUI to move between priorities (eg dragging a task from high priority to low). I know it’s possible with UIKit but have no idea how to implement it with SwiftUI, I’d really appreciate any help.

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [October 31, 2019, 5:16pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/10 "2019-10-31T17:16:45Z")

</div>

[As far as anyone seems to know](https://stackoverflow.com/a/56655911/652038), it’s not possible.

I mention that at the end of [the episode on Section Views](https://www.raywenderlich.com/5662524-your-second-ios-and-swiftui-app/lessons/26).

As for changing task priority, I left it out because SwiftUI didn’t offer a beginner-friendly solution. I expect this to change next year.

---

<div class="post-metadata">

**Author:** ![brunomj1997](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/brunomj1997/32/81494_2.png) [@brunomj1997](https://forums.kodeco.com/u/brunomj1997)\
**Post date:** [November 10, 2019, 11:06pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/11 "2019-11-10T23:06:02Z")

</div>

I was wondering when the IOS learning path will be swiftUI instead of a combination of UIkit and SwiftUI? I feel like its really unorganized at the moment.

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [November 10, 2019, 11:30pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/12 "2019-11-10T23:30:03Z")

</div>

As Ray goes over [here](https://www.raywenderlich.com/4919757-your-first-ios-and-swiftui-app/lessons/2), the learning path is going to cover both frameworks until we feel UIKit isn’t relevant anymore.

The transition to the hybrid learning path is not complete; we’re working on updates for the courses that come after this one. In general, when we can cover a topic with SwiftUI, then we’ll be using SwiftUI exclusively for new and updated content, and primarily only updating the projects for the older UIKit content on similar topics.

---

<div class="post-metadata">

**Author:** ![kiwiandthemango](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kiwiandthemango/32/81494_2.png) [@kiwiandthemango](https://forums.kodeco.com/u/kiwiandthemango)\
**Post date:** [January 29, 2020, 4:38pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/13 "2020-01-29T16:38:08Z")

</div>

I’d like to ask if it is recommended to take the _Your Second iOS and SwiftUI App_ course next in the learning path if I just finished the _Swift Programming Fundamentals_ Class?

I ask this because the _Your Second iOS and SwiftUI App_ course has a lot of content that was not covered in Swift Programming Fundamentals, the class that precedes it in the learning path. Instead, the _Your Second iOS and SwiftUI App_ course has several topics that are actually covered in the class that **follows** the _Your Second iOS and SwiftUI App_ course. These topics are protocols, enums, and closures, for example.

Should I take the Programming in _Swift: Functions and Types_ course next, and **then** go to the _Your Second iOS and SwiftUI App_ course? I’m a beginner and I don’t want to be lost and discouraged if I’m expected to do things that I haven’t learned yet. Please help. Thank you.

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [January 29, 2020, 5:00pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/14 "2020-01-29T17:00:28Z")

</div>

How did the _Your First App_ courses go for you? The same idea from that, and the following course, is used again here: get acquainted with concepts as they’ll appear in an actual app, and then have a deeper dive into the language later.

That seems to be the most popular approach, but that doesn’t necessarily mean it’s the right one for you! We do put a lot of effort into the flow, but as you’ll see in forum comments, the way it matches up with what every learner needs is unique and personal.

If you’ve got a subscription, feel free to jump around as you see fit, getting more information on topics as your interest gets piqued. That’s how I learned!

---

<div class="post-metadata">

**Author:** ![kiwiandthemango](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kiwiandthemango/32/81494_2.png) [@kiwiandthemango](https://forums.kodeco.com/u/kiwiandthemango)\
**Post date:** [January 29, 2020, 5:33pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/15 "2020-01-29T17:33:10Z")

</div>

Thank you, Jessy, for your quick reply. I’ll try covering the topics first in the “deep dive” course, and switch to the _Your Second iOS and SwiftUI App_ course afterward, then. Thanks again.

---

<div class="post-metadata">

**Author:** ![ryannee](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/ryannee/32/88554_2.png) [@ryannee](https://forums.kodeco.com/u/ryannee)\
**Post date:** [February 19, 2020, 12:51am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/16 "2020-02-19T00:51:29Z")

</div>

As a person new to programming, this course felt MUCH more difficult and advanced than the ones before it. I easily followed along as we created the Bull’s-eye app and felt comfortable during the Swift Fundamentals class.

Embarrassingly enough, I was not actually able to create this second app — I had to quit in the last module of the class and just watch the videos without coding along. I started watching the videos at 75% speed (and sometimes 50%!) because it was going way too fast, but even cranked to a glacial pace the content was largely over my head. It was like hearing someone speak a foreign language compared to the other classes on this learning path.

I don’t think this is an issue with Jessy’s instructional style necessarily… maybe this course is a bit too early in the learning path or something? Or this should be the third app we build rather than the second? The previous videos felt like they were at a 3 or 4/10 difficulty and this one felt like an 8 or 9/10 by comparison.

---

<div class="post-metadata">

**Author:** ![bigeazy5](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bigeazy5/32/81494_2.png) [@bigeazy5](https://forums.kodeco.com/u/bigeazy5)\
**Post date:** [March 2, 2020, 2:51am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/17 "2020-03-02T02:51:32Z")

</div>

Great course! I’m curious if there’s a download the finished TaskList project option? I ran into a bug in the second to last section about binding that I couldn’t find solution to.

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [March 2, 2020, 4:33am UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/18 "2020-03-02T04:33:23Z")

</div>

Yes, it’s in the Download Materials for [the last episode before the course conclusion](https://www.raywenderlich.com/5662524-your-second-ios-and-swiftui-app/lessons/29).

---

<div class="post-metadata">

**Author:** ![esowes](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/esowes/32/81494_2.png) [@esowes](https://forums.kodeco.com/u/esowes)\
**Post date:** [March 27, 2020, 5:40pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/19 "2020-03-27T17:40:08Z")

</div>

Hello Jessy,

Loving your enthusiasm and clarity in these videos.  
I’m on part 2-13, just finished the “Observable Objects” video and my code is exactly as yours (with a lot more comments !).  
But the app, in the sim AND on my device, gets stuck after the first added item.  
I get an error message in the log as soon as I tap a character to give my new task a name :

**TaskList[5088:1291759] [general] Connection to daemon was invalidated**

but the app still works.  
After tapping the Add button, the NewTask view disappears and the task is added.  
But then, the + sign is unresponsive…

[update] : same issue after actually downloading the “end” code from the course and running it, with an extra error line in the log :

**2020-03-27 19:15:06.286412+0100 TaskList[5141:1308481] [general] Connection to daemon was invalidated**

**2020-03-27 19:15:16.454572+0100 TaskList[5141:1308244] [Snapshotting] Snapshotting a view (0x102828a00, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES.**

Any ideas ?

Thanks

---

<div class="post-metadata">

**Author:** ![jessycatterwaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jessycatterwaul/32/110937_2.png) [@jessycatterwaul](https://forums.kodeco.com/u/jessycatterwaul)\
**Post date:** [March 27, 2020, 11:07pm UTC](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301/20 "2020-03-27T23:07:14Z")

</div>

At this point, the majority of the episodes have a comment related to this bug. 😭 I still have no word from Apple, and don’t expect a fix before WWDC. Less than three months until a hopefully much-improved SwiftUI!

[Next page](https://forums.kodeco.com/t/your-second-ios-and-swiftui-app-raywenderlich-com/84301.md?page=2)
