How To Sort Data In SwiftData  | Easily Add Sorting in SwiftData | #4

How To Sort Data In SwiftData | Easily Add Sorting in SwiftData | #4

tundsdev

1 год назад

3,341 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Glenn Ritz
Glenn Ritz - 28.10.2023 05:55

Hey, great video, you explained sorting really clearly.

Do you show in any of your videos how to sort by multiple variable. For example, sort by date, and then within the same date, sort by title.

Ответить
cloftis130
cloftis130 - 15.09.2023 15:01

Nice job! This has been so informative. I love the animations and how easy it is now. Thanks for demonstrating its simplicity.

Ответить
Jim Cheseborough
Jim Cheseborough - 02.09.2023 14:57

Help! Why do I get:
Cannot infer key path type from context; consider explicitly specifying a root type

when I do:
@Query(
sort: \.Title
) private var GTs: [gametype]

Ответить
Andrej Kling
Andrej Kling - 24.08.2023 16:08

Thank you so much Tunds for all lessons about SwiftData 🎉💯

Ответить
Monica Peng
Monica Peng - 07.08.2023 01:33

Just wondering, is there any way we can let the filter persists between sessions? Because this is not really saving into SwiftData, when the user fires up the session next time, the sort is gone?

Ответить
Monica Peng
Monica Peng - 06.08.2023 04:17

You are the most helpful person on SwiftData! At a time when there's not much data out there, your contents have helped me converting my project to SwiftData! Thank you so much :>

Ответить
Siamak Ashrafi
Siamak Ashrafi - 14.07.2023 03:55

Love this SwiftData playlist !!!

Ответить
cloftis130
cloftis130 - 06.07.2023 07:29

Well done man. This is exactly what I was looking to do and you’ve made it simple. Apple have really given us some nice tools.
Curious if you might be willing to show something that has more items so that we can load the app up with “test data” to see how SwiftData performs with 100 or even 1000 ToDo’s in the database.

Keep up the great work 👍

Ответить
Allan Davis
Allan Davis - 04.07.2023 16:44

I'm loving these SwiftData tutorials. One issue I am having on my app is how to drag and drop (reorder) items in a list view when using SwiftData? CoreData was easy to do but SwiftData has me pulling my hair out

Ответить