I need to merge multiple images into one, so I needed UIKit's UIGraphicsBeginImageContext. But macOS apps doesn't allow importing UIKit. Is there any alternatives I can use to merge multiple images to one?
I also need to save the result image, if that's important.