Re: Interface Builder Controller. Beginner question
Re: Interface Builder Controller. Beginner question
- Subject: Re: Interface Builder Controller. Beginner question
- From: email@hidden
- Date: Mon, 10 Mar 2008 10:04:15 +0200
Hello Ryan,
thank you for your help.
When I subscribed to the mail list I
read that xCode 3.1 is a beta. And I was working with xCode 3.1. So I decided
to do exactly the same with xCode 3.0. It now works perfectly. I think
it is either a bug or probably there is something more to be set in xCode
3.1 that the tutorial does not indicate.
Thanks,
Guillermo
From:
| Ryan Poling <email@hidden>
|
To:
| email@hidden
|
Date:
| 10.03.2008 01:33
|
Subject:
| Re: Interface Builder Controller. Beginner
question |
Make sure you have Xcode set to the "Debug"
mode instead of "Release."
Sometimes, due to code optimizations, breakpoints can be skipped over
if you're in "Release" mode. This probably won't solve
your problem,
but I thought it was worth noting.
Try adding a brand new button in Interface Builder to your window.
Control-click and drag from the button to your controller and hook it
up to the method you want to call.
Make sure the method is declared as an IBAction, e.g.:
- (IBAction) myMethodName:(id) sender;
-Ryan
<http://www.chimoosoft.com/>
On Mar 9, 2008, at 12:23 PM, email@hidden wrote:
> Hello guys,
>
> I have started last week to develop with xCode and I was following
> the tutorial with the application Currency Converter. I think I have
> done everything correctly, but the communication between Interface
> Builder and xCode does not work.
>
> The button convert should call the method Convert written in the
> code, but it does nothing. I have even added a breakpoint to the
> method and run the debugger, but when I click on the button, it does
> not even enter in the code. It is like I am running the simulator
> inside of Interface Builder. No code is run.
>
> I have all the links between the fields and the button to the
> controller. Is there anything else I am forgetting? I have read the
> tutorial 10 times already and everything seems to be correct.
>
> Thanks in advance for your help,
>
> ---
> Guillermo Acilu
> Senior Engineer, Koiaka GmbH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden