title: How to set the second or middle images in a UIImage array? (Swift 3)
body: <p>I'm using an imagePicker that enables me to select 4 images and creates an array of the selected. I want to set the images of 4 empty UIImageView with those 4 images that I have selected. Using the images array: images.first, I can set the the first empty UIImageView to the first image I select. I can also set another empty UIImageView using images.last to get the fourth selected image. </p>
  
  <p>How do I set the image of the empty UIImageViews the second and third image I have selected?</p>
  
  <p>I am using "if let" checks for the first and last element of the array, but I don't know if it's possible to do "if let" checks for the second and third elements in order to prevent my application from crashing if I do not select four images.</p>
  
  <pre><code>    func doneButtonDidPress(_ imagePicker: ImagePickerController, images: [UIImage]) {
  
         let images = imageAssets
  
         if let imageOne = images.first {
  
          profileImageViewOne.image = imageOne
  
         }
  
         profileImageViewTwo.image = images[1]
         profileImageViewThree.image = images[2]
  
         if let imageFour = images.last {
  
          profileImageViewFour.image = imageFour
  
         }       
  
  
      }
  </code></pre>