Skip to main content

SwiftUI in 100 Days Notes

I am learning how to develop applications for Apple platforms with Swift.

I previously bought a few different video courses, but I quit them for various reasons and was unable to write a useful application and submit it to the App Store. In this case, I realized that I prefer to learn by doing rather than by watching videos.

I came across the “100 Days of SwiftUI” course given for free on the Hacking With Swift website by Paul Hudson and I found it very successful.

The course being divided into days helps me to create a regular study plan. In addition, the fact that it shares everything it teaches in the videos as text also allows me to access the lessons even when I don’t want to watch the videos.

As a result, I started following this course and decided to publish my notes here for the sake of having them in one place.

I want to clarify that the notes I took in this section are completely from this course and do not aim to fully explain the subject. They are just quick notes to help me remember the subject later.

For this reason, I highly recommend the “100 Days of SwiftUI” course given by Paul Hudson if you want to learn SwiftUI.


Day 60 - SwiftUI JSON Custom Codable Key and FriendFace Milestone Project

·2399 words·12 mins
Custom Codable Keys #When our JSON data matches the types we design, Codable works perfectly. In fact, it’s usually enough that we don’t do anything more than add the Codable compatibility - the Swift compiler will automatically generate everything we need.

Day 57 - SwiftUI and SwiftData

·1740 words·9 mins
In our last project we looked at using SwiftData with SwiftUI, in this project we’ll go into more detail: we’ll look at things like custom managed object subclasses and ensuring uniqueness.

Day 54 - SwiftUI Custom UI Component

·2076 words·10 mins
We will start applying the new techniques we have learned to create our application. We’ll use SwiftData to create a book object and a custom RatingView component created using @Binding for users to record how much they liked each book.