I'd like to convert my UIImage to and from a 2-dimensional UIColor array. I have only found ways to do this with UnsafePointer<UInt8>
.
Is there a way to do this in Swift without using pointers?
I'd like to convert my UIImage to and from a 2-dimensional UIColor array. I have only found ways to do this with UnsafePointer<UInt8>
.
Is there a way to do this in Swift without using pointers?