i have been trying to insert a element into my new view controller when this happened:
For those of you who had the image not load, it said Could not insert new action connection: Could not find any information for the class named ProfileViewController. ProfileViewController is the name of the ViewController. Here is my code for the ViewController:
import UIKit
class ProfileViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
}
It was a cocoa touch class with Firebase and Cocoapods. Here is main.storyboard:
Did you enter the name of your class ( ProfileViewController
) in the "Class" portion of your storyboard? See the image for reference. (This is found on the right pane of Xcode)
Also, I do not see any IBOutlet/IBAction properties in your ViewController which are required for any connection between your storyboard and your code.
If the issue is that you're unable to add an IBOutlet/IBAction, then I would recommend cleaning your project (Product > Clean) and removing DerivedData, then trying again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.