Dear all,
I am trying to learn how to code with Swift, I really want to and, to start, I completed the Intro to App Development with Swift. So far, so good ...
I then passed to the App Development with Swift book as it was supposed to be a step up (at least in difficulty).
I completed the first 3 units and started the 4th a few days ago.
I am now stuck at unit 4.3 (Model View Controller) during the Lab at the end of the unit.
No matter what I write (even if I try to copy exactly what is in the 'solution' project) I keep getting an error when trying to create Outlet(s) from the main.storyboard's text fields to the AthleteFormViewController.swift file. This error says:
Could not insert new outlet connection: Could not find any information for the class named AthleteFormViewController (all of this in red color).
This is the second consecutive exercise that I would have to abandon because following the EXACT instructions given in the book puts me into a dead end.
Then I confront with the solutions, try them and ... in my project they also do not work.
Could you please help me if you have completed this project?
Or please show me another way of learning how to code. Books, Videos, Courses, whatever ...
Thank you
Yours,
Michele
>Could not insert new outlet connection: Could not find any information for the class named
Seen this SO thread?
Otherwise, I couldn't locate this as a common issue w/this particular lesson (which has been around since 4.2017, updated 9.2017) - I looked it over in v2.0.1 of that ibook, and nothing jumped out to me as blatantly wrong in the instructions, in which case I'd consider the odds are more towards an editing issue in your example, likely found/fixed by one of the suggestions in that SO thread, the easiest of which to try is: Use Xcode's Product menu, then, with the option key pressed, select 'Clean Build Folder'. Confirm no errors in the navigator and go again.
Good luck.
Ken