Hi. How to add in Fotos array the image(type:UIImage)?
I wanted to use the code below:
Fotos.insert(FotoGallery(context: (Here I dunno what to use), at: 0)
I need to add into the array Fotos of type FotoGallery(Attribute, type: Binary Data).
If its a raw data like from an api call or something then theres usually a UIImage(data:) overload than you can use… If you have access to the codewithchris+ subscription theres a module there that has a “photo” social media kind of app as one of the lessons