If you get the following error when you’ve created a new class in Xcode and you’ve choose also to create nib file and you try to connect for example an UILabel to the .h file of the class:

Could not insert new outlet connection: Could not find any information for the class named

Could not insert new outlet connection: Could not find any information for the class named

Could not insert new outlet connection: Could not find any information for the class named

Then there’s nothing wrong with your code, it’s an Xcode problem. To solve it try the one of the following:

– Remove the newly created class (don’t delete it, just remove link and then re-add it);
– Save Xib file;
– Restart Xcode;
– Delete Derived Data.