Hey peeps, bit of a newb here so be nice
Not sure if anyone else is having or has had the same issue but in Listing 28.7, my Contact class (Swift file) is not accessible in ContactsViewController.m - even after importing the Contacts-Swift.h header file.
When trying to create an instance of Contact in the Objective-C file, I get the error message “Use of undeclared identifier ‘Contact’.”
I’m pretty certain I’ve followed the book without any mistakes and downloaded the final solution where instances of Contact have been created without any errors so I don’t understand why I can’t create these instances.
Any help would be much appreciated, cheers.