How do you convert an image into binary data so that it can be saved in core data? I already have the image I simply need to add it to an entity in my core data model.
Any help would be greatly appreciated. Thanks!
How do you convert an image into binary data so that it can be saved in core data? I already have the image I simply need to add it to an entity in my core data model.
Any help would be greatly appreciated. Thanks!
how do you import UIKit into your core data properties file? my file won't let me add or remove anything @Jineshsethia
I've been converting my image to Data and then storing it that way. Not sure if that's the proper way or not. Plus, since the upgrade, my normal macOS way to convert isn't working. Used to use tiffRepresentation?.bitmap?.png
but now there's no bitmap
on the tiffRepresentation
.