I have a problem with loading images into my Xcode project in the main controller. No storyboard is used. The code I type in is this:
class LoginVC: UIViewController {
let logoContainerView: UIView = {
let view = UIView()
let logoImageView = UIImageView(image: )
logoImageView.contentMode = .scaleAspectFill
view.addSubview(logoImageView)
logoImageView.anchor(top: nil, left: nil, bottom: nil, right: nil, paddingTop: 0, paddingLeft: 0, paddingBottom: 0, paddingRight: 0, width: 200, height: 50)
logoImageView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
return view
}()
In line number 4, im not allowed to load my image. I've already imported the image into the assets folder. But right after I typed in image in line number 4, I do not get any suggestions? I've tried with 4 different images.