Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPhone 101 guide error

Hello,


I'm following the "Your First iOS Application" (a.k.a. iPhone 101) and under Chapter 5 on page 40 (of the PDF) where it instructs me to create an action for the button in the nib file named "changeGreeting", I'm getting the following error:


Could not insert new action connection: No @implementation found for the class "MyViewController"


I'm not a programming noob, but I'm new to iOS/Mac programming (I've been developing Windows applications for almost 11 years). I followed the guide very carefully up to this point and everything was working until this.


I'm using the latest version of Xcode (4.02).


It seems to be complaining that it isn't aware of MyViewController, but I don't understand why. Any help would be most appreciated. Thanks.

Posted on May 12, 2011 9:32 PM

Reply
25 replies

Aug 20, 2011 9:21 PM in response to QuadraQuack

Restarting Xcode worked for me as well thankfully.


Odd though, imagine this happened while coding a project of your own where you don't have instructions that tell you what should happen next. I wouldn't immediately be blaming the software, I'd just assume I'd missed something when really it was the compiler's fault.


A good lesson that I'll be keeping in mind for future projects.

Jan 23, 2012 4:15 AM in response to QuadraQuack

I had the same problem and just solved it that way:

for some reason the mainController file, that caused the problem had a localization (in the right menu) - in the english folder.

I just deleted it by pressing the minus sign and it worked.

just make sure you have a copy of the file in the main folder (that holds the english folder too).

iPhone 101 guide error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.