I am looking to add an image to the resources folder in my x-code. tutorials have me importing UIKit, but mine defaults to Cocoa, and I can't locate a UIKit.
so my coding is failing at UIImageView, and UIImage. Appreciate any guidance on how I should be writing this correctly....thnx
import Cocoa
let imageView = UIImageView()
imageView.contentMode = .scaleAspectFit
imageView.frame = CGRect(x: 0, y: 0, width: 200, height: 200)
imageView.image = UIImage(imageLiteralResourceName: "London.jpg")