Tag: 100daysofswiftui

  • FriendFace 61 Feedback

    As usual after a challenge, I compare my efforts to Paul’s model solution. Just to quickly recap the app, it sucks up some data (Users who have multiple friends) and displays it. The change in this challenge was to convert it to add that data to a Core Data store so that if a future…

  • 61 Done

    I think I’ve finally completed the minimum work for Day 61 of #100DaysOfSwiftUI. The task was to suck up some data in JSON, decode it. back it up into a Core Data graph then display the data from the Core Data. I got stuck on dealing with the one:many relationship and had to revisit that…

  • FriendFace Feedback

    After each app, I use my HackingWithSwift+ membership to view Paul’s version of the app as a way to judge my performance. Yesterday’s app was “FriendFace” – download some JSON of a number of people (including their friends) and display it. UUID In my struct, I’d just specified the User.id as a string, Paul uses…

  • FriendFace

    The Day 60 Milestone is a demo app that vacuums up some JSON and displays it in a list in a NavigationView that links to a details page. Nothing super strenuous, the steps were something like this: 1) Download the JSON and have a look at the structure. Firefox has a simple JSON viewer built…

  • Project 12 Feedback

    As usual, I watch Paul’s solution video, and compare it to mine. Task 1 This was passing in the predicate as a String. I passed the whole thing, but as I figured out along the way, Paul meant just the operator word. He also added some buttons to test it better, which I didn’t think…

  • Project 12 Challenges

    Project 12 was a series of code tutorials around developing CoreData concepts rather than a real app, but the challenges are based on a very small app that uses a subview to allow dynamic (ie changeable at runtime) filtering of a list of data. The reason this would be tricky is that the @FetchRequest is…

  • You Can Take Big Steps When You Feel Safe

    Day 58 of #100Days feels like complex topics are being dropped in pretty fast. We tackle one:many data relationships and how to set them up in CoreData, using CoreData constraints and setting a merge policy to manage conflicts, and even the underscore to access the actual property inside a wrapped property struct (needed for dynamic…

  • Bookworm Feedback

    I did so well on this one that it’s not going to make a very interesting post. My first two challenge solutions were pretty much character for character the same – so not much to report. On the third challenge, there was a minor difference in the display process. I had done this: But @twostraws…

  • Bookworm Challenges

    Another set of challenges for a #100DaysofSwiftUI tutorial app. Project 11 was a book tracking app – the big new thing was using CoreData. Here’s the challenges for it. Right now it’s possible to select no title, author, or genre for books, which causes a problem for the detail view. Please fix this, either by…

  • CoreData and the Preview

    I’ve noticed Paul is inclined to ignore the preview and run his code in the simulator to check its operation. That’s valid, but it seems quicker, and reassuring, to see it in the preview as I type. This led to a small problem with Day 53 that uses CoreData. When I added a student in…