Create your first app with SwiftUI and SwiftData

Create your first app with SwiftUI and SwiftData

Paul Hudson

5 месяцев назад

39,205 Просмотров

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


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

@tomashertl8895
@tomashertl8895 - 22.01.2024 23:40

Paul. Late but see the video. Thanks a lot for your trmendous teaching work. Astonishing, Superb.

Ответить
@Hgvpuncher
@Hgvpuncher - 18.01.2024 11:53

PhotosPicker task is not working properly is loading some images upside down i have found the issue and modified this way

Task {
selectedImages.removeAll()
for item in pickerItems {
if let loadedImage = try await item.loadTransferable(type: Data.self),
let uimg = UIImage(data: loadedImage) {
selectedImages.append(Image(uiImage: uimg))
}
}
}

Ответить
@alessiopanfalone6314
@alessiopanfalone6314 - 14.01.2024 20:03

Hi Paul,

I have one question about sortDescriptor. It is possible add in one menu inside the toolbar, insert a tag for bool value?. Because i have the bool value in my model class. Ps: sorry for my english

Ответить
@joeschofield2171
@joeschofield2171 - 14.01.2024 06:15

This video helped explain SwiftData well. Thanks so very much. Now I've got to go switch from passing the model context to my data service where I did update on the main thread, to sharing the container instead.

Ответить
@user-qi1fb3tw2j
@user-qi1fb3tw2j - 09.01.2024 12:15

This was very informative. would there be a similar way to bring in Pdfs stored in Books app much like you did for photos? im trying to link to a stored pdf

Regards

Ответить
@imodude
@imodude - 02.01.2024 19:26

As usual, great walkthrough of some complex topics. Much appreciated.

I tried adding "@Binding var navigationPath: NavigationPath" to your PeopleView. But that breaks in the initialiser because i'm not initialising it. Tried adding it as a parameter to the init method, but couldnt get it right. Perhaps the @Binding macro makes the syntax more complex?

Ответить
@typicaltype2608
@typicaltype2608 - 29.12.2023 14:34

does anyone know how you would load multiple images into swift data?

Ответить
@novatroop77ni
@novatroop77ni - 27.12.2023 04:21

swift data is just in memory aint it or can it be persitted on phone

Ответить
@user-dfrt-23fd
@user-dfrt-23fd - 26.12.2023 18:43

👏

Ответить
@steveheyden9219
@steveheyden9219 - 26.12.2023 06:36

🎂

Ответить
@richie_01
@richie_01 - 25.12.2023 22:38

Great, great video but nothing can beat your two Sammies 🥰 I had one for 13 years, passed ten years ago and I still miss him everyday 🥲

Ответить
@SudhirKesharwani
@SudhirKesharwani - 25.12.2023 14:18

thanks Paul, this is great

Ответить
@HaibinGE
@HaibinGE - 25.12.2023 11:07

Happy birthday Paul!

Ответить
@harrydang5248
@harrydang5248 - 24.12.2023 22:47

where can I get the source code ?

Ответить
@goranbla
@goranbla - 23.12.2023 16:38

belated happy birthday 🍻
and thanks for the great content

Ответить
@dimiutube
@dimiutube - 23.12.2023 10:20

Happy birthday, Paul! Thanks for all the good things you do and for bringing the fun to func 😊

Ответить
@BrorBrurberg
@BrorBrurberg - 23.12.2023 10:19

Just wondering, you said you’re gonna publish the code somewhere? I cannot find it on either hackingwithswift nor on your GitHub?

Ofc, this be user error ❤

Ответить
@daco9464
@daco9464 - 23.12.2023 00:41

You are the best. Could you also make a video SwiftData with MVVM architecture?

Ответить
@codenameinformation
@codenameinformation - 23.12.2023 00:24

Hello. Your content is very valuable to me and I want to follow it constantly. I would appreciate it if you had the chance to set the videos with subtitles. Because I am Turkish, my English is not very good. I would like to watch the video with subtitles and benefit from your information. Thank you again for sharing your valuable information with us.

Ответить
@sawyer303
@sawyer303 - 22.12.2023 22:51

Thanks Paul, have watched this live from the start, great livestream, thanks again!

Ответить