Sorting query results – SwiftData Starter Project 5/8
See how we can use key paths and sort descriptors to adjust sort orders for @Query, then look at how we can get dynamic sorting through constructor injection. You can find the completed source code here: https://github.com/twostraws/iTour This is an 8-part project that walks you through building a SwiftData project from scratch using SwiftUI. It's designed to work alongside my book SwiftData by Example, available at https://www.hackingwithswift.com/quic... This project is aimed at programmers who have some experience with Swift and SwiftUI already, and want to get up to speed with SwiftData as quickly as possible.

▶︎
Filtering the results from a SwiftData query – SwiftData Starter Project 6/8

▶︎
Creating, editing, and deleting model objects – SwiftData Starter Project 4/8

▶︎
I Was Right About AI

▶︎
You're Testing StoreKit 2 Wrong (Do This Instead)

▶︎
Working with relationships – SwiftData Starter Project 7/8

▶︎
Why I'm no longer using Stripe

▶︎
Türkei – Paraguay Highlights | Gruppe D, FIFA WM 2026 | sportstudio

▶︎
How to build apps with AI: Xcode, Claude, Codex, and more!

▶︎
Learn the Essentials of Swift in one hour

▶︎
Intro to SwiftData - Model, Container, Fetch, Create, Update & Delete

▶︎
ASP.NET Core Full Course For Beginners (.NET 8)

▶︎
Querying SwiftData objects in SwiftUI – SwiftData Starter Project 3/8

▶︎
Trump Autopens the Iran Deal, Lands a Res at G7 Summit & Spawns an Algae Conspiracy | The Daily Show

▶︎
Introduction – SwiftData Starter Project 1/8

▶︎
If You Think The Bible Is FAKE, You NEED To See This

▶︎
Syncing SwiftData with CloudKit – SwiftData SwiftUI Tutorial 5/5

▶︎
Steve Rosenberg inside Putin's economic forum | BBC News

▶︎
The Ultimate MCP Crash Course - Build From Scratch

▶︎
