TIL iOS 17 introduces new initializer for UIImage init(resource: ImageResource). ImageResource is opaque structure having initializer init(name: String, bundle: Bundle).

Last several days I have been working on issue in WeScan. This is kind of bug which is eaiser to fix then to test. After spending several days with playing with UIImage rotation, I’ve created repo Understand UIImage rotation.

From WeScan TIL about Measurement. I didn’t know this is possible: let finalImage = rotated(by: Measurement(value: imageAngle, unit: .radians)) { ... }.