Skip to main content
  1. Tags/

swiftui

2024


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.