View Single Post
  #5 (permalink)  
Old December 22nd, 2010, 03:27 PM
diogermani diogermani is offline
Registered User
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Chapter 3 source code error

I´ve downloaded the source code for this example and it didnt worked for several reasons, the way I had it working was:

first I´ve changed the Base SDK in the "Project -> Edit Project Settings", "build" tab, "Base SDK" to Latest.

then I was able to publish it, but nothing was happening when I was clicking in the "Click me" button, the thing here is that the button in the interface builder was not linked to the File´s owner action btnClicked:

To solve that just double click in the BasicUIView.xib ;
click in the "click me" button to highlight it;
right click in the "click me" button and drag it to "File´s owner" icon,
when you release the button select "btnClicked:" event.

I hope I helped someone.

Best regards.

Dio