Getting the picture to show with Xcode 10.2.1

I got a little confused with getting the image to show at all. I was getting errors after selecting the photo.
The delegate method on page 271 must be implemented.