Create an IBAction for the pan gesture by making a connection to the storyboard to the view controller’s source code file.