Hi, thanks for your videos, they are very helpful! Just two question: How do you create the Transformer ( ValueTransform) class for un Array? for example [URL]. The only way I could make it work without the warning in Xcode was setting "NSSecureUnarchiveFromData" in transformer field in attributes. The second question: Could be better store the url of the image in core data if it is located in the Documents directory o somewhere inside the sandbox of the app? the image can be bigger and maybe it can do problems if we saved it directly like your video? Thanks in advance
I believe you meant something like this one : SwiftUI: Saving Image in CoreData + ImagePicker and navigate to DetailView. ua-cam.com/video/vONKvL6B7Z4/v-deo.html
@Azamsharp. Great video. Glad to see you putting out more videos, especially the macOS stuff. Could you take a look at how to stop the "'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release" warning? I can't seem to find a solution with google.
Great lesson, Thanks. It will be interesting to know the differences between saving as data vs transformable - are they same, or is any one approach better.
That was awesome, thank you.
Hi, thanks for your videos, they are very helpful! Just two question: How do you create the Transformer ( ValueTransform) class for un Array? for example [URL]. The only way I could make it work without the warning in Xcode was setting "NSSecureUnarchiveFromData" in transformer field in attributes. The second question: Could be better store the url of the image in core data if it is located in the Documents directory o somewhere inside the sandbox of the app? the image can be bigger and maybe it can do problems if we saved it directly like your video?
Thanks in advance
Can you show how to load from Photo Library and also how to display the stored images in a Grid view.
I believe you meant something like this one :
SwiftUI: Saving Image in CoreData + ImagePicker and navigate to DetailView.
ua-cam.com/video/vONKvL6B7Z4/v-deo.html
great tutorial @Azamsharp 😉
hi nice video is it slow i want to store 2000 pictures into core data and i have table view than i will be using is if eficient? thnaks
@Azamsharp. Great video. Glad to see you putting out more videos, especially the macOS stuff. Could you take a look at how to stop the "'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release" warning? I can't seem to find a solution with google.
Great lesson, Thanks. It will be interesting to know the differences between saving as data vs transformable - are they same, or is any one approach better.
Can this be used when selecting an image from the Image library and saving it to core data?
Yes me from 10 months ago. Yes it can. But you don't have the skillset for it yet