IOS Xcode solves the problem of "cocould not insert new outlet connection: cocould not find any information for the class named ., Anyinformation
In Xcode, you can connect an interface element to the corresponding code file by using the "Control key + drag" button on the StoryBoard editing interface or the xib editing interface, create an outlet in the code file.
However, if you are not lucky, you may encounter the following errors during the above operations:
Cocould not insert new outlet connection: cocould not find any information for the class named "xxx ".
"Xxx" is the class name in your target code file. If you do not have any errors, this is entirely the cause of Xcode.
The following describes a simple and convenient method:
1: Delete and re-Add the. h and. m files.
Select the problematic. m and. H files, click the delete key, and then select "Remove Reference". Do not delete the files. Select the "File-> Add Files to..." menu and select the. m File and. h File on the File selection page to Add them to the project.
Try it out now!